2026.10.27 18:17:43.199380 [ 448 ] {} Context: ThreadFuzzer is enabled. Application will run slowly and unstable. 2026.10.27 18:17:43.199468 [ 448 ] {} Context: Server was built with sanitizer. It will work slowly. 2026.10.27 18:17:43.205592 [ 448 ] {} 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. 2026.10.27 18:18:04.382230 [ 448 ] {} Context: The setting 'merge_tree_metadata_cache' is enabled. But the feature of 'metadata cache in RocksDB' is experimental 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. See the corresponding report at https://github.com/ClickHouse/ClickHouse/issues/51182 2026.10.27 18:18:06.328746 [ 448 ] {} KeeperLogStore: No logs exists in /var/lib/clickhouse/coordination/logs. It's Ok if it's the first run of clickhouse-keeper. 2026.10.27 18:18:06.330321 [ 448 ] {} KeeperLogStore: Removing all changelogs 2026.10.27 18:18:06.336647 [ 448 ] {} KeeperServer: Got 1000000000000000 value for setting 'reserved_log_items' which is bigger than int32_t max value, lowering value to 2147483647. 2026.10.27 18:18:06.343134 [ 448 ] {} KeeperStateManager: No state was read 2026.10.27 18:18:06.343303 [ 448 ] {} RaftInstance: invalid election timeout lower bound detected, adjusted to 0 2026.10.27 18:18:06.343431 [ 448 ] {} RaftInstance: invalid election timeout upper bound detected, adjusted to 0 2026.10.27 18:18:06.395317 [ 752 ] {} RaftInstance: Election timeout, initiate leader election 2026.10.27 18:18:07.153768 [ 448 ] {} Access(local_directory): File /var/lib/clickhouse/access/users.list doesn't exist 2026.10.27 18:18:07.153909 [ 448 ] {} Access(local_directory): Recovering lists in directory /var/lib/clickhouse/access/ 2026.10.27 18:18:08.506403 [ 448 ] {} Context: Table system.session_log is enabled. It's unreliable and may contain garbage. Do not use it for any kind of security monitoring. 2026.10.27 18:18:52.513792 [ 899 ] {} ZooKeeperClient: Code: 33. DB::Exception: Cannot read all data. Bytes read: 0. Bytes expected: 4. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x0000000009e3f739 in /usr/bin/clickhouse 3. DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x0000000009e3f37c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/TransformEndianness.hpp:18: Coordination::ZooKeeper::receiveEvent() @ 0x000000003fb1204b in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: Coordination::ZooKeeper::receiveThread() @ 0x000000003fb11002 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003fb25112 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007f550ef23a83 in ? 10. ? @ 0x00007f550efb58e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 18:18:53.151000 [ 898 ] {} ZooKeeperClient: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:52446 -> [::1]:9181). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: Coordination::ZooKeeperRequest::write(DB::WriteBuffer&) const @ 0x000000003fabdc07 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:647: Coordination::ZooKeeper::sendThread() @ 0x000000003fb0f149 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003fb24a52 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007f550ef23a83 in ? 10. ? @ 0x00007f550efb58e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 18:18:53.599057 [ 899 ] {} ZooKeeperClient: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a07040e in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/NetException.cpp:0: Poco::Net::NetException::NetException(String const&, int) @ 0x0000000049bd8c2e in /usr/bin/clickhouse 3. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049bf5f9a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::shutdown() @ 0x0000000049bfaef9 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:109: Poco::Net::StreamSocket::shutdown() @ 0x0000000049c05bae in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:969: Coordination::ZooKeeper::finalize(bool, bool, String const&) @ 0x000000003fafdfef in /usr/bin/clickhouse 7. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: Coordination::ZooKeeper::receiveThread() @ 0x000000003fb11b6e in /usr/bin/clickhouse 8. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003fb25112 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 11. ? @ 0x00007f550ef23a83 in ? 12. ? @ 0x00007f550efb58e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 18:20:35.516358 [ 754 ] {} RaftInstance: failed to accept a rpc connection due to error 125, Operation canceled 2026.10.27 18:20:35.529326 [ 751 ] {} KeeperLogStore: Raft server is not set in LogStore. 2026.10.27 18:20:35.551714 [ 448 ] {} KeeperLogStore: Changelog is shut down 2026.10.27 18:20:38.312895 [ 957 ] {} Context: ThreadFuzzer is enabled. Application will run slowly and unstable. 2026.10.27 18:20:38.312968 [ 957 ] {} Context: Server was built with sanitizer. It will work slowly. 2026.10.27 18:20:38.319183 [ 957 ] {} 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. 2026.10.27 18:20:57.756017 [ 957 ] {} Context: The setting 'merge_tree_metadata_cache' is enabled. But the feature of 'metadata cache in RocksDB' is experimental 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. See the corresponding report at https://github.com/ClickHouse/ClickHouse/issues/51182 2026.10.27 18:20:59.609932 [ 957 ] {} KeeperServer: Got 1000000000000000 value for setting 'reserved_log_items' which is bigger than int32_t max value, lowering value to 2147483647. 2026.10.27 18:20:59.615508 [ 957 ] {} RaftInstance: invalid election timeout lower bound detected, adjusted to 0 2026.10.27 18:20:59.615591 [ 957 ] {} RaftInstance: invalid election timeout upper bound detected, adjusted to 0 2026.10.27 18:20:59.767545 [ 1254 ] {} RaftInstance: Election timeout, initiate leader election 2026.10.27 18:21:03.801533 [ 957 ] {} Context: Table system.session_log is enabled. It's unreliable and may contain garbage. Do not use it for any kind of security monitoring. 2026.10.27 18:21:47.849485 [ 1381 ] {} ZooKeeperClient: Code: 33. DB::Exception: Cannot read all data. Bytes read: 0. Bytes expected: 4. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x0000000009e3f739 in /usr/bin/clickhouse 3. DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x0000000009e3f37c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/TransformEndianness.hpp:18: Coordination::ZooKeeper::receiveEvent() @ 0x000000003fb1204b in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: Coordination::ZooKeeper::receiveThread() @ 0x000000003fb11002 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003fb25112 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007efd7497aa83 in ? 10. ? @ 0x00007efd74a0c8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 18:21:48.174436 [ 1337 ] {} ZooKeeperClient: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:43970 -> [::1]:9181). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: Coordination::ZooKeeperRequest::write(DB::WriteBuffer&) const @ 0x000000003fabdc07 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:647: Coordination::ZooKeeper::sendThread() @ 0x000000003fb0f149 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003fb24a52 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007efd7497aa83 in ? 10. ? @ 0x00007efd74a0c8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 18:21:49.529337 [ 1381 ] {} ZooKeeperClient: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a07040e in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/NetException.cpp:0: Poco::Net::NetException::NetException(String const&, int) @ 0x0000000049bd8c2e in /usr/bin/clickhouse 3. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049bf5f9a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::shutdown() @ 0x0000000049bfaef9 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:109: Poco::Net::StreamSocket::shutdown() @ 0x0000000049c05bae in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:969: Coordination::ZooKeeper::finalize(bool, bool, String const&) @ 0x000000003fafdfef in /usr/bin/clickhouse 7. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: Coordination::ZooKeeper::receiveThread() @ 0x000000003fb11b6e in /usr/bin/clickhouse 8. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003fb25112 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 11. ? @ 0x00007efd7497aa83 in ? 12. ? @ 0x00007efd74a0c8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 18:40:34.137571 [ 1280 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {381ba30b-98ad-48d4-aca1-e86272b66ce7::202610_1_141_28}: Code: 241. DB::Exception: Memory tracker (for thread): fault injected (at specific point). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, char const*&&) @ 0x000000002087620c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:184: MemoryTracker::injectFault() const @ 0x000000002087177d in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:129: CurrentMemoryTracker::injectFault() @ 0x000000002078f7bf in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ThreadFuzzer.cpp:242: DB::ThreadFuzzer::maybeInjectMemoryLimitException() @ 0x00000000209251b6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::finish() @ 0x000000003dab496f in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 16. ? @ 0x00007efd7497aa83 in ? 17. ? @ 0x00007efd74a0c8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 18:47:26.903605 [ 1290 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_1_395_95}: Code: 241. DB::Exception: Memory tracker (for thread): fault injected (at specific point). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, char const*&&) @ 0x000000002087620c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:184: MemoryTracker::injectFault() const @ 0x000000002087177d in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:129: CurrentMemoryTracker::injectFault() @ 0x000000002078f7bf in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ThreadFuzzer.cpp:242: DB::ThreadFuzzer::maybeInjectMemoryLimitException() @ 0x00000000209251b6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::finish() @ 0x000000003dab496f in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 16. ? @ 0x00007efd7497aa83 in ? 17. ? @ 0x00007efd74a0c8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 18:49:51.003712 [ 1287 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {de63dd19-7a9e-4999-8a86-22aee4e9402a::202610_1_236_47}: Code: 241. DB::Exception: Memory tracker (for thread): fault injected (at specific point). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, char const*&&) @ 0x000000002087620c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:184: MemoryTracker::injectFault() const @ 0x000000002087177d in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:129: CurrentMemoryTracker::injectFault() @ 0x000000002078f7bf in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ThreadFuzzer.cpp:242: DB::ThreadFuzzer::maybeInjectMemoryLimitException() @ 0x00000000209251b6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::finish() @ 0x000000003dab496f in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 16. ? @ 0x00007efd7497aa83 in ? 17. ? @ 0x00007efd74a0c8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 18:53:06.739632 [ 1279 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_1_477_161}: Code: 241. DB::Exception: Memory tracker (for thread): fault injected (at specific point). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, char const*&&) @ 0x000000002087620c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:184: MemoryTracker::injectFault() const @ 0x000000002087177d in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:129: CurrentMemoryTracker::injectFault() @ 0x000000002078f7bf in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ThreadFuzzer.cpp:242: DB::ThreadFuzzer::maybeInjectMemoryLimitException() @ 0x00000000209251b6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::finish() @ 0x000000003dab496f in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 16. ? @ 0x00007efd7497aa83 in ? 17. ? @ 0x00007efd74a0c8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 18:55:26.596258 [ 1281 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_1_511_183}: Code: 241. DB::Exception: Memory tracker (for thread): fault injected (at specific point). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, char const*&&) @ 0x000000002087620c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:184: MemoryTracker::injectFault() const @ 0x000000002087177d in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:129: CurrentMemoryTracker::injectFault() @ 0x000000002078f7bf in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ThreadFuzzer.cpp:242: DB::ThreadFuzzer::maybeInjectMemoryLimitException() @ 0x00000000209251b6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::finish() @ 0x000000003dab496f in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 16. ? @ 0x00007efd7497aa83 in ? 17. ? @ 0x00007efd74a0c8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:01:53.763162 [ 1287 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {de63dd19-7a9e-4999-8a86-22aee4e9402a::202610_1_331_66}: Code: 241. DB::Exception: Memory tracker (for thread): fault injected (at specific point). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, char const*&&) @ 0x000000002087620c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:184: MemoryTracker::injectFault() const @ 0x000000002087177d in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:129: CurrentMemoryTracker::injectFault() @ 0x000000002078f7bf in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ThreadFuzzer.cpp:242: DB::ThreadFuzzer::maybeInjectMemoryLimitException() @ 0x00000000209251b6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::finish() @ 0x000000003dab496f in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 16. ? @ 0x00007efd7497aa83 in ? 17. ? @ 0x00007efd74a0c8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:03:25.875639 [ 1289 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78f638d5-1538-4f74-a202-7a1eb8a2fda0::202610_1_360_72}: Code: 241. DB::Exception: Memory tracker (for thread): fault injected (at specific point). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, char const*&&) @ 0x000000002087620c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:184: MemoryTracker::injectFault() const @ 0x000000002087177d in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:129: CurrentMemoryTracker::injectFault() @ 0x000000002078f7bf in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ThreadFuzzer.cpp:242: DB::ThreadFuzzer::maybeInjectMemoryLimitException() @ 0x00000000209251b6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::finish() @ 0x000000003dab496f in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 16. ? @ 0x00007efd7497aa83 in ? 17. ? @ 0x00007efd74a0c8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:06:40.253694 [ 1303 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_1_673_326}: Code: 241. DB::Exception: Memory tracker (for thread): fault injected (at specific point). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, char const*&&) @ 0x000000002087620c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:184: MemoryTracker::injectFault() const @ 0x000000002087177d in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:129: CurrentMemoryTracker::injectFault() @ 0x000000002078f7bf in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ThreadFuzzer.cpp:242: DB::ThreadFuzzer::maybeInjectMemoryLimitException() @ 0x00000000209251b6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::finish() @ 0x000000003dab496f in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 16. ? @ 0x00007efd7497aa83 in ? 17. ? @ 0x00007efd74a0c8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:06:54.930566 [ 1282 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {381ba30b-98ad-48d4-aca1-e86272b66ce7::202610_1_344_88}: Code: 241. DB::Exception: Memory tracker (for thread): fault injected (at specific point). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, char const*&&) @ 0x000000002087620c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:184: MemoryTracker::injectFault() const @ 0x000000002087177d in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:129: CurrentMemoryTracker::injectFault() @ 0x000000002078f7bf in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ThreadFuzzer.cpp:242: DB::ThreadFuzzer::maybeInjectMemoryLimitException() @ 0x00000000209251b6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::finish() @ 0x000000003dab496f in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 16. ? @ 0x00007efd7497aa83 in ? 17. ? @ 0x00007efd74a0c8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:07:03.665417 [ 1287 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_296_59}: Code: 241. DB::Exception: Memory tracker (for thread): fault injected (at specific point). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, char const*&&) @ 0x000000002087620c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:184: MemoryTracker::injectFault() const @ 0x000000002087177d in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:129: CurrentMemoryTracker::injectFault() @ 0x000000002078f7bf in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ThreadFuzzer.cpp:242: DB::ThreadFuzzer::maybeInjectMemoryLimitException() @ 0x00000000209251b6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::finish() @ 0x000000003dab496f in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 16. ? @ 0x00007efd7497aa83 in ? 17. ? @ 0x00007efd74a0c8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:09:32.598375 [ 1288 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_1_715_368}: Code: 241. DB::Exception: Memory tracker (for thread): fault injected (at specific point). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, char const*&&) @ 0x000000002087620c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:184: MemoryTracker::injectFault() const @ 0x000000002087177d in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:129: CurrentMemoryTracker::injectFault() @ 0x000000002078f7bf in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ThreadFuzzer.cpp:242: DB::ThreadFuzzer::maybeInjectMemoryLimitException() @ 0x00000000209251b6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::finish() @ 0x000000003dab496f in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 16. ? @ 0x00007efd7497aa83 in ? 17. ? @ 0x00007efd74a0c8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:11:43.193901 [ 957 ] {} KeeperLogStore: Changelog is shut down 2026.10.27 19:11:46.316578 [ 1845 ] {} Context: ThreadFuzzer is enabled. Application will run slowly and unstable. 2026.10.27 19:11:46.316656 [ 1845 ] {} Context: Server was built with sanitizer. It will work slowly. 2026.10.27 19:11:46.316837 [ 1845 ] {} Context: Server logging level is set to 'test' and performance is degraded. This cannot be used in production. 2026.10.27 19:11:46.322920 [ 1845 ] {} 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. 2026.10.27 19:12:23.020892 [ 1845 ] {} Context: The setting 'merge_tree_metadata_cache' is enabled. But the feature of 'metadata cache in RocksDB' is experimental 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. See the corresponding report at https://github.com/ClickHouse/ClickHouse/issues/51182 2026.10.27 19:12:24.864066 [ 1845 ] {} KeeperServer: Got 1000000000000000 value for setting 'reserved_log_items' which is bigger than int32_t max value, lowering value to 2147483647. 2026.10.27 19:12:24.869375 [ 1845 ] {} RaftInstance: invalid election timeout lower bound detected, adjusted to 0 2026.10.27 19:12:24.869438 [ 1845 ] {} RaftInstance: invalid election timeout upper bound detected, adjusted to 0 2026.10.27 19:12:24.920554 [ 2208 ] {} RaftInstance: Election timeout, initiate leader election 2026.10.27 19:12:29.302058 [ 1845 ] {} Context: Table system.session_log is enabled. It's unreliable and may contain garbage. Do not use it for any kind of security monitoring. 2026.10.27 19:13:13.848994 [ 2374 ] {} ZooKeeperClient: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:9181). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x0000000009e3ef0c in /usr/bin/clickhouse 5. ./build_docker/./src/Common/TransformEndianness.hpp:18: Coordination::ZooKeeper::receiveEvent() @ 0x000000003fb1204b in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: Coordination::ZooKeeper::receiveThread() @ 0x000000003fb11002 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003fb25112 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:13:14.180904 [ 2364 ] {} ZooKeeperClient: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:32854 -> [::1]:9181). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: Coordination::ZooKeeperRequest::write(DB::WriteBuffer&) const @ 0x000000003fabdc07 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:647: Coordination::ZooKeeper::sendThread() @ 0x000000003fb0f149 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003fb24a52 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:13:15.071925 [ 2374 ] {} ZooKeeperClient: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a07040e in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/NetException.cpp:0: Poco::Net::NetException::NetException(String const&, int) @ 0x0000000049bd8c2e in /usr/bin/clickhouse 3. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049bf5f9a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::shutdown() @ 0x0000000049bfaef9 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:109: Poco::Net::StreamSocket::shutdown() @ 0x0000000049c05bae in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:969: Coordination::ZooKeeper::finalize(bool, bool, String const&) @ 0x000000003fafdfef in /usr/bin/clickhouse 7. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: Coordination::ZooKeeper::receiveThread() @ 0x000000003fb11b6e in /usr/bin/clickhouse 8. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003fb25112 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:13:19.616751 [ 2479 ] {c768b0aa-163d-4278-99d7-f4181a28983c} executeQuery: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37562) (comment: 03174_merge_join_bug.sql) (in query: SET allow_experimental_analyzer=1, join_algorithm = 'full_sorting_merge';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:20.677629 [ 2657 ] {7ca595ed-00b5-4456-b308-6f7457245186} executeQuery: Code: 48. DB::Exception: Can't execute FULL_SORTING_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37552) (comment: 01236_graphite_mt.sql) (in query: INSERT into test_graphite WITH dates AS ( SELECT toStartOfDay(toDateTime(now('UTC'), 'UTC')) as today, today - INTERVAL 3 day as older_date ) -- Newer than 2 days are kept in windows of 600 seconds select 1 AS key, 'sum_1' AS s, today - number * 60 - 30, number, 1, number from dates, numbers(300) union all select 2, 'sum_1', today - number * 60 - 30, number, 1, number from dates, numbers(300) union all select 1, 'sum_2', today - number * 60 - 30, number, 1, number from dates, numbers(300) union all select 2, 'sum_2', today - number * 60 - 30, number, 1, number from dates, numbers(300) union all select 1, 'max_1', today - number * 60 - 30, number, 1, number from dates, numbers(300) union all select 2, 'max_1', today - number * 60 - 30, number, 1, number from dates, numbers(300) union all select 1, 'max_2', today - number * 60 - 30, number, 1, number from dates, numbers(300) union all select 2, 'max_2', today - number * 60 - 30, number, 1, number from dates, numbers(300) union all -- Older than 2 days use 6000 second windows select 1 AS key, 'sum_1' AS s, older_date - number * 60 - 30, number, 1, number from dates, numbers(1200) union all select 2, 'sum_1', older_date - number * 60 - 30, number, 1, number from dates, numbers(1200) union all select 1, 'sum_2', older_date - number * 60 - 30, number, 1, number from dates, numbers(1200) union all select 2, 'sum_2', older_date - number * 60 - 30, number, 1, number from dates, numbers(1200) union all select 1, 'max_1', older_date - number * 60 - 30, number, 1, number from dates, numbers(1200) union all select 2, 'max_1', older_date - number * 60 - 30, number, 1, number from dates, numbers(1200) union all select 1, 'max_2', older_date - number * 60 - 30, number, 1, number from dates, numbers(1200) union all select 2, 'max_2', older_date - number * 60 - 30, number, 1, number from dates, numbers(1200);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x0000000037cf406d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x0000000037caaf24 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x0000000037ca0c4c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037cca9cf in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 8. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d64897 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::InterpreterInsertQuery::execute() @ 0x0000000039a9c464 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:20.677967 [ 2479 ] {c768b0aa-163d-4278-99d7-f4181a28983c} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:21.574479 [ 2485 ] {} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__algorithm/remove_if.h:32: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&, DB::SettingSource) const @ 0x0000000035dff22e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1904: DB::Context::checkSettingsConstraints(DB::SettingsChanges&, DB::SettingSource) const @ 0x000000003789d895 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:1704: DB::TCPHandler::receiveQuery() @ 0x000000003e0c5337 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000003e0a4ebe in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08c26e in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:21.577419 [ 2657 ] {7ca595ed-00b5-4456-b308-6f7457245186} TCPHandler: Code: 48. DB::Exception: Can't execute FULL_SORTING_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x0000000037cf406d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x0000000037caaf24 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x0000000037ca0c4c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037cca9cf in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 8. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d64897 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::InterpreterInsertQuery::execute() @ 0x0000000039a9c464 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:22.524668 [ 2890 ] {} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__algorithm/remove_if.h:32: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&, DB::SettingSource) const @ 0x0000000035dff22e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1904: DB::Context::checkSettingsConstraints(DB::SettingsChanges&, DB::SettingSource) const @ 0x000000003789d895 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:1704: DB::TCPHandler::receiveQuery() @ 0x000000003e0c5337 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000003e0a4ebe in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08c26e in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:24.404553 [ 2891 ] {8b078abe-cfa9-4664-ac01-533ec56da88c} executeQuery: Code: 43. DB::Exception: All the arguments of aggregate function categoricalInformationValue should be UInt8. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37646) (comment: 02425_categorical_information_value_properties.sql) (in query: SELECT categoricalInformationValue(c1, c2) FROM VALUES((NULL, 1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:172: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000002a6ba744 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000002133c7c3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352e5376 in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352df1f8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037c8e17b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c822c0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c7e74d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b7760d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: 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)::$_0::operator()(bool) const @ 0x0000000039b231a1 in /usr/bin/clickhouse 12. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 16. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:24.426642 [ 2891 ] {8b078abe-cfa9-4664-ac01-533ec56da88c} TCPHandler: Code: 43. DB::Exception: All the arguments of aggregate function categoricalInformationValue should be UInt8. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:172: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000002a6ba744 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000002133c7c3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352e5376 in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352df1f8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037c8e17b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c822c0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c7e74d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b7760d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: 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)::$_0::operator()(bool) const @ 0x0000000039b231a1 in /usr/bin/clickhouse 12. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 16. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:25.986439 [ 2485 ] {bf5ed831-9048-4932-ab33-e3338b2de813} executeQuery: Code: 43. DB::Exception: Argument for function currentSchemas must be bool: While processing currentSchemas(1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37752) (comment: 02788_current_schemas_function.sql) (in query: SELECT current_schemas(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionCurrentSchemas::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ede8429 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:13:26.387566 [ 2485 ] {bf5ed831-9048-4932-ab33-e3338b2de813} TCPHandler: Code: 43. DB::Exception: Argument for function currentSchemas must be bool: While processing currentSchemas(1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionCurrentSchemas::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ede8429 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:13:26.401948 [ 2758 ] {2dc1a8ed-1b9e-4495-ad1d-2114725ee7fb} executeQuery: Code: 80. DB::Exception: Cannot CREATE a table AS test_5qyd27oc.mv_from_base_to_target, it is a Materialized View without storage. Use "AS `test_5qyd27oc.target_table`" instead. (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37716) (comment: 03161_create_table_as_mv.sql) (in query: CREATE TABLE other_table_2 AS mv_from_base_to_target;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, DB::QualifiedTableName&&) @ 0x00000000393f4b35 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:982: DB::InterpreterCreateQuery::setEngine(DB::ASTCreateQuery&) const @ 0x00000000393a7a62 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:673: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x0000000039398418 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393b96a2 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:26.406084 [ 2891 ] {91df5aae-32cd-4353-aeee-1f2c4821b9b5} executeQuery: Code: 43. DB::Exception: All the arguments of aggregate function categoricalInformationValue should be UInt8. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37646) (comment: 02425_categorical_information_value_properties.sql) (in query: SELECT categoricalInformationValue(c1, c2) FROM VALUES((NULL, NULL));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:172: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000002a6ba744 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000002133c7c3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352e5376 in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352df1f8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037c8e17b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c822c0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c7e74d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b7760d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: 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)::$_0::operator()(bool) const @ 0x0000000039b231a1 in /usr/bin/clickhouse 12. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 16. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:27.204231 [ 2891 ] {91df5aae-32cd-4353-aeee-1f2c4821b9b5} TCPHandler: Code: 43. DB::Exception: All the arguments of aggregate function categoricalInformationValue should be UInt8. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:172: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000002a6ba744 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000002133c7c3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352e5376 in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352df1f8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037c8e17b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c822c0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c7e74d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b7760d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: 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)::$_0::operator()(bool) const @ 0x0000000039b231a1 in /usr/bin/clickhouse 12. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 16. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:27.208350 [ 2758 ] {2dc1a8ed-1b9e-4495-ad1d-2114725ee7fb} TCPHandler: Code: 80. DB::Exception: Cannot CREATE a table AS test_5qyd27oc.mv_from_base_to_target, it is a Materialized View without storage. Use "AS `test_5qyd27oc.target_table`" instead. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, DB::QualifiedTableName&&) @ 0x00000000393f4b35 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:982: DB::InterpreterCreateQuery::setEngine(DB::ASTCreateQuery&) const @ 0x00000000393a7a62 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:673: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x0000000039398418 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1203: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393b96a2 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:27.217339 [ 2890 ] {30ba8d8c-c9a4-4180-9594-9961d11c6f46} executeQuery: Code: 48. DB::Exception: MergeJoinAlgorithm is not implemented for strictness RightAny. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37764) (comment: 00074_full_join.sql) (in query: SELECT CounterID, hits, visits FROM ( SELECT (CounterID % 100000) AS CounterID, count() AS hits FROM test.hits GROUP BY CounterID ) ANY FULL OUTER JOIN ( SELECT (CounterID % 100000) AS CounterID, sum(Sign) AS visits FROM test.visits GROUP BY CounterID HAVING visits > 0 ) USING CounterID WHERE hits = 0 OR visits = 0 ORDER BY hits + visits * 10 DESC, CounterID ASC LIMIT 20;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::JoinStrictness&) @ 0x000000003ebd7f2d in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/MergeJoinTransform.cpp:294: DB::MergeJoinAlgorithm::MergeJoinAlgorithm(std::shared_ptr, std::vector> const&, unsigned long) @ 0x000000003ebc2c40 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Merges/IMergingTransform.h:159: DB::MergeJoinTransform::MergeJoinTransform(std::shared_ptr, std::vector> const&, DB::Block const&, unsigned long, unsigned long) @ 0x000000003ebd51af in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, std::vector>&, DB::Block const&, unsigned long&, void>(std::allocator const&, std::shared_ptr&, std::vector>&, DB::Block const&, unsigned long&) @ 0x0000000036a46dd9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::QueryPipelineBuilder::joinPipelinesYShaped(std::unique_ptr>, std::unique_ptr>, std::shared_ptr, DB::Block const&, unsigned long, std::vector, std::allocator>>*) @ 0x0000000036a2b11a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/JoinStep.cpp:41: DB::JoinStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f12221c in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:28.760213 [ 2890 ] {30ba8d8c-c9a4-4180-9594-9961d11c6f46} TCPHandler: Code: 48. DB::Exception: MergeJoinAlgorithm is not implemented for strictness RightAny. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::JoinStrictness&) @ 0x000000003ebd7f2d in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/MergeJoinTransform.cpp:294: DB::MergeJoinAlgorithm::MergeJoinAlgorithm(std::shared_ptr, std::vector> const&, unsigned long) @ 0x000000003ebc2c40 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Merges/IMergingTransform.h:159: DB::MergeJoinTransform::MergeJoinTransform(std::shared_ptr, std::vector> const&, DB::Block const&, unsigned long, unsigned long) @ 0x000000003ebd51af in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, std::vector>&, DB::Block const&, unsigned long&, void>(std::allocator const&, std::shared_ptr&, std::vector>&, DB::Block const&, unsigned long&) @ 0x0000000036a46dd9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::QueryPipelineBuilder::joinPipelinesYShaped(std::unique_ptr>, std::unique_ptr>, std::shared_ptr, DB::Block const&, unsigned long, std::vector, std::allocator>>*) @ 0x0000000036a2b11a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/JoinStep.cpp:41: DB::JoinStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f12221c in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:28.769485 [ 2461 ] {881192fb-6ce5-48db-9131-b62d787fccf5} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 452.38 MiB (attempt to allocate chunk of 1213081 bytes), maximum: 9.31 GiB: (while reading column RefererDomain): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_8_16_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 192 with max_rows_to_read = 24576): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37602) (comment: 00153_aggregate_arena_race.sql) (in query: insert into dest00153 select groupUniqArrayState(RefererDomain) from test.hits group by URLDomain;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x00000000209e2844 in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: DB::CompressedReadBufferFromFile::nextImpl() @ 0x000000003689278a in /usr/bin/clickhouse 9. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::nextImpl() @ 0x0000000036892cad in /usr/bin/clickhouse 10. ./build_docker/./src/IO/ReadBuffer.h:72: void DB::deserializeBinarySSE2<1>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x0000000036ffda52 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:0: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b44 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 27. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 31. ? @ 0x00007fc6eb378a83 in ? 2026.10.27 19:13:30.462310 [ 2485 ] {ca828956-e452-4789-b589-40dae7c3a26f} executeQuery: Code: 42. DB::Exception: Number of arguments for function currentSchemas doesn't match: passed 0, should be 1: While processing currentSchemas(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37752) (comment: 02788_current_schemas_function.sql) (in query: SELECT current_schemas();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&&, unsigned long&, unsigned long&) @ 0x000000002d081970 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352ad0ed in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae47f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 2026.10.27 19:13:30.486333 [ 2485 ] {ca828956-e452-4789-b589-40dae7c3a26f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function currentSchemas doesn't match: passed 0, should be 1: While processing currentSchemas(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&&, unsigned long&, unsigned long&) @ 0x000000002d081970 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x00000000352ad0ed in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae47f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 2026.10.27 19:13:32.044698 [ 2856 ] {a019eb79-f4fd-4d86-bc86-b962b3e75c73} executeQuery: Code: 44. DB::Exception: Sorting key cannot contain constants. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39598) (comment: 02679_query_parameters_dangling_pointer.sql) (in query: CREATE TABLE test.xxx (`a` Int64) ENGINE = MergeTree ORDER BY 'a' SETTINGS index_granularity = 39954, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 20833, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10697866028, index_granularity_bytes = 27949069, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 15033, primary_key_compress_block_size = 87911), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000003ce34de7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce31662 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce244dd in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: 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) @ 0x000000003d9fbf3b in /usr/bin/clickhouse 7. ./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&) @ 0x000000003d9fa74b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003d9ed120 in /usr/bin/clickhouse 9. ./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&) @ 0x000000003571bd9a in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bbeeb7a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393dacd0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c260a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:32.080722 [ 2856 ] {a019eb79-f4fd-4d86-bc86-b962b3e75c73} TCPHandler: Code: 44. DB::Exception: Sorting key cannot contain constants. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000003ce34de7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce31662 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce244dd in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: 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) @ 0x000000003d9fbf3b in /usr/bin/clickhouse 7. ./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&) @ 0x000000003d9fa74b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003d9ed120 in /usr/bin/clickhouse 9. ./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&) @ 0x000000003571bd9a in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bbeeb7a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393dacd0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c260a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:36.539356 [ 2237 ] {929234fc-133a-423a-a7a2-a7664869566f::all_1_1_0_3} MutatePlainMergeTreeTask: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.71 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:13:36.539363 [ 2241 ] {929234fc-133a-423a-a7a2-a7664869566f::all_2_2_0_3} MutatePlainMergeTreeTask: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.71 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:13:37.008296 [ 2479 ] {5b681299-f85d-4c71-8585-262e68ca154e} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.64 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: (while reading column DNSTiming): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37730) (comment: 00167_read_bytes_from_fs.sql) (in query: SELECT sum(cityHash64(*)) FROM test.hits SETTINGS max_threads=40;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 21. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 22. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:0: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d493acf in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 2026.10.27 19:13:40.218481 [ 2290 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TraceLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.64 GiB (attempt to allocate chunk of 5178532 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long const*, unsigned long const*) @ 0x000000002089f6cc in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: COWHelper>::clone() const @ 0x000000003b4083a6 in /usr/bin/clickhouse 9. DB::IColumn::mutate(COW::immutable_ptr) @ 0x000000000a9ad52a in /usr/bin/clickhouse 10. DB::IColumn::mutate(COW::immutable_ptr)::'lambda'(COW::chameleon_ptr&)::operator()(COW::chameleon_ptr&) const @ 0x000000000a9ad9fe in /usr/bin/clickhouse 11. void std::__function::__policy_invoker::chameleon_ptr&)>::__call_impl::immutable_ptr)::'lambda'(COW::chameleon_ptr&), void (COW::chameleon_ptr&)>>(std::__function::__policy_storage const*, COW::chameleon_ptr&) @ 0x000000000a9ad8e9 in /usr/bin/clickhouse 12. ./build_docker/./src/Columns/ColumnArray.h:158: DB::ColumnArray::forEachSubcolumn(std::function::chameleon_ptr&)>) @ 0x000000003acd74a4 in /usr/bin/clickhouse 13. DB::IColumn::mutate(COW::immutable_ptr) @ 0x000000000a9ad6a3 in /usr/bin/clickhouse 14. ./build_docker/./src/Core/Block.cpp:0: DB::Block::mutateColumns() @ 0x000000003627dffd in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:169: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d1043eb in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a45ea53 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a45bf32 in /usr/bin/clickhouse 30. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2d7a7 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c2d67f in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:13:41.933264 [ 2296 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::QueryLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.64 GiB (attempt to allocate chunk of 4284567 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IMergeTreeDataPart.cpp:138: DB::IMergeTreeDataPart::MinMaxIndex::store(std::vector> const&, std::vector, std::allocator>> const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003cc2a292 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::IMergeTreeDataPart::MinMaxIndex::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003cc28e2e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64f047 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:13:43.598021 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.63 GiB (attempt to allocate chunk of 4249167 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a4a9253 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a4a6542 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c31ce7 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:13:44.772766 [ 2265 ] {} test_9.dst_00753 (929234fc-133a-423a-a7a2-a7664869566f): Removing temporary directory /var/lib/clickhouse/disks/s3/store/929/929234fc-133a-423a-a7a2-a7664869566f/tmp_mut_all_2_2_0_3/ 2026.10.27 19:13:44.778887 [ 2265 ] {} test_9.dst_00753 (929234fc-133a-423a-a7a2-a7664869566f): Since zero-copy replication is enabled we are not going to remove blobs from shared storage for /var/lib/clickhouse/disks/s3/store/929/929234fc-133a-423a-a7a2-a7664869566f/tmp_mut_all_2_2_0_3/ 2026.10.27 19:13:45.766359 [ 3066 ] {400e8c54-ba19-499e-b3fe-239abbaec66d} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_3.txt' with part 'all_2_2_0' reason: 'Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.71 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build))'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39584) (comment: 00753_alter_destination_for_storage_buffer.sql) (in query: ALTER TABLE dst_00753 DROP COLUMN x, MODIFY COLUMN y String, ADD COLUMN z String DEFAULT 'DEFZ';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d3f1fe4 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d3f1895 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000003da1202d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003da089db in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0598 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:50.041615 [ 2549 ] {644eece8-e495-4b97-bafb-23df76ce9459} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7fc450af6000, frame address: 0x7fc450ef5d60, stack size: 4194976, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37630) (comment: 00986_materialized_view_stack_overflow.sql) (in query: insert into test1 values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x000000002094f554 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x000000002094ef6f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ab5847 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037acb963 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/getTableExpressions.cpp:0: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9d41dc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e5176d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: 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) @ 0x0000000039b08c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:331: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003ed9ea79 in /usr/bin/clickhouse 11. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039a9478b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x0000000039a93326 in /usr/bin/clickhouse 13. ./build_docker/./src/QueryPipeline/Chain.h:21: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003eda0d0d in /usr/bin/clickhouse 14. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039a9478b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x0000000039a93326 in /usr/bin/clickhouse 16. ./build_docker/./src/QueryPipeline/Chain.h:21: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003eda0d0d in /usr/bin/clickhouse 17. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039a9478b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x0000000039a93326 in /usr/bin/clickhouse 19. ./build_docker/./src/QueryPipeline/Chain.h:21: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003eda0d0d in /usr/bin/clickhouse 20. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039a9478b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x0000000039a93326 in /usr/bin/clickhouse 22. ./build_docker/./src/QueryPipeline/Chain.h:21: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003eda0d0d in /usr/bin/clickhouse 23. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039a9478b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x0000000039a93326 in /usr/bin/clickhouse 25. ./build_docker/./src/QueryPipeline/Chain.h:21: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003eda0d0d in /usr/bin/clickhouse 26. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039a9478b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x0000000039a93326 in /usr/bin/clickhouse 28. ./build_docker/./src/QueryPipeline/Chain.h:21: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003eda0d0d in /usr/bin/clickhouse 29. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039a9478b in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x0000000039a93326 in /usr/bin/clickhouse 31. ./build_docker/./src/QueryPipeline/Chain.h:21: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003eda0d0d in /usr/bin/clickhouse 2026.10.27 19:13:51.077218 [ 2461 ] {881192fb-6ce5-48db-9131-b62d787fccf5} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 452.38 MiB (attempt to allocate chunk of 1213081 bytes), maximum: 9.31 GiB: (while reading column RefererDomain): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_8_16_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 192 with max_rows_to_read = 24576): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x00000000209e2844 in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: DB::CompressedReadBufferFromFile::nextImpl() @ 0x000000003689278a in /usr/bin/clickhouse 9. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::nextImpl() @ 0x0000000036892cad in /usr/bin/clickhouse 10. ./build_docker/./src/IO/ReadBuffer.h:72: void DB::deserializeBinarySSE2<1>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x0000000036ffda52 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:0: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b44 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 27. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 31. ? @ 0x00007fc6eb378a83 in ? 2026.10.27 19:13:51.102154 [ 2758 ] {b4d85a54-78b5-4ab3-9569-346aba1ee92d} executeQuery: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern 'pattern\': while executing 'FUNCTION like(haystack :: 0, 'pattern\\' :: 1) -> like(haystack, 'pattern\\') UInt8 : 2'. (CANNOT_PARSE_ESCAPE_SEQUENCE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39604) (comment: 02317_like_with_trailing_escape.sql) (in query: -- const pattern SELECT haystack LIKE 'pattern\\' from tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x0000000020965c10 in /usr/bin/clickhouse 4. DB::MatchImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000001712a3ea in /usr/bin/clickhouse 5. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000017125494 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eb883db in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:51.753496 [ 2289 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::MetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 4198589 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:13:52.216408 [ 1850 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:13:52.216543 [ 3817 ] {3314475d-51be-4a89-9cd0-1edd820563dd} executeQuery: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36372) (comment: 03142_untuple_crash.sql) (in query: SET allow_experimental_analyzer=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:52.217398 [ 2237 ] {929234fc-133a-423a-a7a2-a7664869566f::all_1_1_0_3} virtual bool DB::MutatePlainMergeTreeTask::executeStep(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.71 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList const&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&, bool, bool, DB::WriteSettings, DB::MergeTreeIndexGranularity&, void>(std::allocator const&, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList const&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&&, DB::WriteSettings&&, DB::MergeTreeIndexGranularity&) @ 0x000000003d6e183e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::MutateAllPartColumnsTask::prepare() @ 0x000000003d6dc7e3 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:1246: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6d5110 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:1754: DB::MutateTask::execute() @ 0x000000003d6852d2 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MutatePlainMergeTreeTask.cpp:0: DB::MutatePlainMergeTreeTask::executeStep() @ 0x000000003dabb8bd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:13:54.266513 [ 3066 ] {400e8c54-ba19-499e-b3fe-239abbaec66d} TCPHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_3.txt' with part 'all_2_2_0' reason: 'Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.71 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build))'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d3f1fe4 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d3f1895 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000003da1202d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003da089db in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0598 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:54.266635 [ 2549 ] {644eece8-e495-4b97-bafb-23df76ce9459} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7fc450af6000, frame address: 0x7fc450ef5d60, stack size: 4194976, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x000000002094f554 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x000000002094ef6f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ab5847 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037acb963 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/getTableExpressions.cpp:0: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9d41dc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e5176d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: 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) @ 0x0000000039b08c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:331: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003ed9ea79 in /usr/bin/clickhouse 11. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039a9478b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x0000000039a93326 in /usr/bin/clickhouse 13. ./build_docker/./src/QueryPipeline/Chain.h:21: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003eda0d0d in /usr/bin/clickhouse 14. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039a9478b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x0000000039a93326 in /usr/bin/clickhouse 16. ./build_docker/./src/QueryPipeline/Chain.h:21: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003eda0d0d in /usr/bin/clickhouse 17. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039a9478b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x0000000039a93326 in /usr/bin/clickhouse 19. ./build_docker/./src/QueryPipeline/Chain.h:21: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003eda0d0d in /usr/bin/clickhouse 20. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039a9478b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x0000000039a93326 in /usr/bin/clickhouse 22. ./build_docker/./src/QueryPipeline/Chain.h:21: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003eda0d0d in /usr/bin/clickhouse 23. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039a9478b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x0000000039a93326 in /usr/bin/clickhouse 25. ./build_docker/./src/QueryPipeline/Chain.h:21: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003eda0d0d in /usr/bin/clickhouse 26. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039a9478b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x0000000039a93326 in /usr/bin/clickhouse 28. ./build_docker/./src/QueryPipeline/Chain.h:21: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003eda0d0d in /usr/bin/clickhouse 29. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039a9478b in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x0000000039a93326 in /usr/bin/clickhouse 31. ./build_docker/./src/QueryPipeline/Chain.h:21: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003eda0d0d in /usr/bin/clickhouse 2026.10.27 19:13:54.266712 [ 2758 ] {b4d85a54-78b5-4ab3-9569-346aba1ee92d} TCPHandler: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern 'pattern\': while executing 'FUNCTION like(haystack :: 0, 'pattern\\' :: 1) -> like(haystack, 'pattern\\') UInt8 : 2'. (CANNOT_PARSE_ESCAPE_SEQUENCE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x0000000020965c10 in /usr/bin/clickhouse 4. DB::MatchImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000001712a3ea in /usr/bin/clickhouse 5. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000017125494 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eb883db in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:54.266775 [ 2453 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:13:54.266728 [ 2241 ] {929234fc-133a-423a-a7a2-a7664869566f::all_2_2_0_3} virtual void DB::MetadataStorageFromDiskTransaction::commit(): Code: 521. DB::ErrnoException: Paths cannot be exchanged because /var/lib/clickhouse/disks/s3/store/929/929234fc-133a-423a-a7a2-a7664869566f/tmp_mut_all_2_2_0_3 or /var/lib/clickhouse/disks/s3/store/929/929234fc-133a-423a-a7a2-a7664869566f/delete_tmp_tmp_mut_all_2_2_0_3 does not exist, errno: 2, strerror: No such file or directory. (ATOMIC_RENAME_FAIL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x00000000208412fc in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:219: DB::throwFromErrno(String const&, int, int) @ 0x0000000020832170 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/atomicRename.cpp:0: DB::renameat2(String const&, String const&, int) @ 0x00000000370cef29 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/atomicRename.cpp:208: DB::renameNoReplace(String const&, String const&) @ 0x00000000370cdc64 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::DiskLocal::moveFile(String const&, String const&) @ 0x000000003722eae0 in /usr/bin/clickhouse 7. ./build_docker/./src/Disks/ObjectStorages/MetadataStorageFromDiskTransactionOperations.cpp:207: DB::MoveFileOperation::execute(std::unique_lock&) @ 0x00000000372e633c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::MetadataStorageFromDiskTransaction::commit() @ 0x00000000372c9c47 in /usr/bin/clickhouse 9. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:0: DB::DiskObjectStorageTransaction::commit() @ 0x000000003735d02b in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:171: DB::DiskObjectStorage::moveFile(String const&, String const&, bool) @ 0x00000000372f0572 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:199: DB::DiskObjectStorage::moveFile(String const&, String const&) @ 0x00000000372f0d78 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.h:118: DB::DiskObjectStorage::moveDirectory(String const&, String const&) @ 0x0000000037305c60 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskBase.cpp:0: DB::DataPartStorageOnDiskBase::remove(std::function&&, DB::MergeTreeDataPartChecksums const&, std::list>, bool, Poco::Logger*) @ 0x000000003cbe6c6d in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::IMergeTreeDataPart::remove() @ 0x000000003cc3bf17 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/IMergeTreeDataPart.cpp:0: DB::IMergeTreeDataPart::removeIfNeeded() @ 0x000000003cc382fc in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartCompact.cpp:227: DB::MergeTreeDataPartCompact::~MergeTreeDataPartCompact() @ 0x000000003d0d7f0c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000003d0aeba1 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::MutationContext::~MutationContext() @ 0x000000003d6d38d3 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000003d6d2c6d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: void std::__destroy_at[abi:v15000](DB::MutateTask*) @ 0x000000003d0a7018 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000003d0a6ead in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::ExecutionStatus const&) @ 0x000000003dabd8c7 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::MutatePlainMergeTreeTask::executeStep() @ 0x000000003dabd286 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 28. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:13:54.266844 [ 3817 ] {3314475d-51be-4a89-9cd0-1edd820563dd} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:54.266556 [ 3827 ] {} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__algorithm/remove_if.h:32: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&, DB::SettingSource) const @ 0x0000000035dff22e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1904: DB::Context::checkSettingsConstraints(DB::SettingsChanges&, DB::SettingSource) const @ 0x000000003789d895 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:1704: DB::TCPHandler::receiveQuery() @ 0x000000003e0c5337 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000003e0a4ebe in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08c26e in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:54.268562 [ 2234 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 16.04 GiB (attempt to allocate chunk of 2087294 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedColumnOnlyOutputStream.cpp:35: DB::MergedColumnOnlyOutputStream::MergedColumnOnlyOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::vector, std::allocator>> const&, std::set, std::allocator>*, DB::MergeTreeIndexGranularity const&, DB::MergeTreeIndexGranularityInfo const*) @ 0x000000003d65e40c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTask::VerticalMergeStage::prepareVerticalMergeForOneColumn() const @ 0x000000003cdc1400 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde678 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::VerticalMergeStage::execute() @ 0x000000003cdcadee in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:13:55.264176 [ 2241 ] {929234fc-133a-423a-a7a2-a7664869566f::all_2_2_0_3} void DB::IMergeTreeDataPart::removeIfNeeded(): while removing part all_2_2_0_3 with path store/929/929234fc-133a-423a-a7a2-a7664869566f/tmp_mut_all_2_2_0_3/: Code: 521. DB::ErrnoException: Paths cannot be exchanged because /var/lib/clickhouse/disks/s3/store/929/929234fc-133a-423a-a7a2-a7664869566f/delete_tmp_tmp_mut_all_2_2_0_3 or /var/lib/clickhouse/disks/s3/store/929/929234fc-133a-423a-a7a2-a7664869566f/tmp_mut_all_2_2_0_3 does not exist, errno: 2, strerror: No such file or directory: While rolling back operation #0. (ATOMIC_RENAME_FAIL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x00000000208412fc in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:219: DB::throwFromErrno(String const&, int, int) @ 0x0000000020832170 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/atomicRename.cpp:0: DB::renameat2(String const&, String const&, int) @ 0x00000000370cef29 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/atomicRename.cpp:208: DB::renameNoReplace(String const&, String const&) @ 0x00000000370cdc64 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::DiskLocal::moveFile(String const&, String const&) @ 0x000000003722eae0 in /usr/bin/clickhouse 7. ./build_docker/./src/Disks/ObjectStorages/MetadataStorageFromDiskTransactionOperations.cpp:212: DB::MoveFileOperation::undo() @ 0x00000000372e63bc in /usr/bin/clickhouse 8. ./build_docker/./src/Disks/ObjectStorages/MetadataStorageFromDisk.cpp:225: DB::MetadataStorageFromDiskTransaction::rollback(unsigned long) @ 0x00000000372ca53d in /usr/bin/clickhouse 9. ./build_docker/./src/Disks/ObjectStorages/MetadataStorageFromDisk.cpp:199: DB::MetadataStorageFromDiskTransaction::commit() @ 0x00000000372ca440 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:0: DB::DiskObjectStorageTransaction::commit() @ 0x000000003735d02b in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:171: DB::DiskObjectStorage::moveFile(String const&, String const&, bool) @ 0x00000000372f0572 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:199: DB::DiskObjectStorage::moveFile(String const&, String const&) @ 0x00000000372f0d78 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.h:118: DB::DiskObjectStorage::moveDirectory(String const&, String const&) @ 0x0000000037305c60 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskBase.cpp:0: DB::DataPartStorageOnDiskBase::remove(std::function&&, DB::MergeTreeDataPartChecksums const&, std::list>, bool, Poco::Logger*) @ 0x000000003cbe6c6d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:616: DB::IMergeTreeDataPart::remove() @ 0x000000003cc3bf17 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/IMergeTreeDataPart.cpp:0: DB::IMergeTreeDataPart::removeIfNeeded() @ 0x000000003cc382fc in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartCompact.cpp:227: DB::MergeTreeDataPartCompact::~MergeTreeDataPartCompact() @ 0x000000003d0d7f0c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000003d0aeba1 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::MutationContext::~MutationContext() @ 0x000000003d6d38d3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000003d6d2c6d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: void std::__destroy_at[abi:v15000](DB::MutateTask*) @ 0x000000003d0a7018 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000003d0a6ead in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::ExecutionStatus const&) @ 0x000000003dabd8c7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::MutatePlainMergeTreeTask::executeStep() @ 0x000000003dabd286 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 29. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:13:55.800565 [ 2241 ] {929234fc-133a-423a-a7a2-a7664869566f::all_2_2_0_3} virtual bool DB::MutatePlainMergeTreeTask::executeStep(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.71 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList const&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&, bool, bool, DB::WriteSettings, DB::MergeTreeIndexGranularity&, void>(std::allocator const&, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList const&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&&, DB::WriteSettings&&, DB::MergeTreeIndexGranularity&) @ 0x000000003d6e183e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::MutateAllPartColumnsTask::prepare() @ 0x000000003d6dc7e3 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:1246: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6d5110 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:1754: DB::MutateTask::execute() @ 0x000000003d6852d2 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MutatePlainMergeTreeTask.cpp:0: DB::MutatePlainMergeTreeTask::executeStep() @ 0x000000003dabb8bd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:13:55.814255 [ 2758 ] {e99f3f0c-7453-4020-aba6-8efc8c31eeab} executeQuery: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern 'pattern\': while executing 'FUNCTION like(haystack :: 0, pattern :: 1) -> like(haystack, pattern) UInt8 : 2'. (CANNOT_PARSE_ESCAPE_SEQUENCE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39604) (comment: 02317_like_with_trailing_escape.sql) (in query: -- non-const pattern SELECT haystack LIKE pattern from tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x0000000020965c10 in /usr/bin/clickhouse 4. OptimizedRegularExpressionImpl DB::Regexps::createRegexp(String const&) @ 0x0000000017132a53 in /usr/bin/clickhouse 5. std::shared_ptr> DB::Regexps::LocalCacheTable::getOrSet(String const&) @ 0x000000001713022e in /usr/bin/clickhouse 6. DB::MatchImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x00000000171282ef in /usr/bin/clickhouse 7. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000171253b1 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eb883db in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:55.824740 [ 2758 ] {e99f3f0c-7453-4020-aba6-8efc8c31eeab} TCPHandler: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern 'pattern\': while executing 'FUNCTION like(haystack :: 0, pattern :: 1) -> like(haystack, pattern) UInt8 : 2'. (CANNOT_PARSE_ESCAPE_SEQUENCE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x0000000020965c10 in /usr/bin/clickhouse 4. OptimizedRegularExpressionImpl DB::Regexps::createRegexp(String const&) @ 0x0000000017132a53 in /usr/bin/clickhouse 5. std::shared_ptr> DB::Regexps::LocalCacheTable::getOrSet(String const&) @ 0x000000001713022e in /usr/bin/clickhouse 6. DB::MatchImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x00000000171282ef in /usr/bin/clickhouse 7. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000171253b1 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eb883db in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:58.000662 [ 2461 ] {69ff9d8f-ce66-4ac6-a12a-4e00bb81e368} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53612) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc1edc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba0e863 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b51878 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b36ae1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:58.668903 [ 2758 ] {71dc2c99-f508-4d0d-a2a9-4c999696d6fe} executeQuery: Code: 43. DB::Exception: Illegal types Array(Nothing) String of arguments of function endsWith. Both must be String or Array: While processing endsWith([], 'str'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53606) (comment: 00640_endsWith.sql) (in query: SELECT endsWith([], 'str');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000945c47e in /usr/bin/clickhouse 3. DB::TargetSpecific::Default::FunctionStartsEndsWith::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fba36cd in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:13:59.384421 [ 2461 ] {69ff9d8f-ce66-4ac6-a12a-4e00bb81e368} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc1edc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba0e863 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b51878 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b36ae1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:59.384472 [ 2758 ] {71dc2c99-f508-4d0d-a2a9-4c999696d6fe} TCPHandler: Code: 43. DB::Exception: Illegal types Array(Nothing) String of arguments of function endsWith. Both must be String or Array: While processing endsWith([], 'str'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000945c47e in /usr/bin/clickhouse 3. DB::TargetSpecific::Default::FunctionStartsEndsWith::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fba36cd in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:13:59.387274 [ 2453 ] {79192d42-35c0-4b3f-843a-cd0a9b12be30} executeQuery: Code: 80. DB::Exception: Ordinary database engine does not support UUID. (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53694) (comment: 01192_rename_database_zookeeper.sh) (in query: CREATE DATABASE test_01192 UUID '00001192-0000-4000-8000-000000000001' ENGINE=Ordinary), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000009de83f7 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:224: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x00000000393834ee in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca34 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 14. ? @ 0x00007fc6eb378a83 in ? 15. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:13:59.410608 [ 2453 ] {79192d42-35c0-4b3f-843a-cd0a9b12be30} TCPHandler: Code: 80. DB::Exception: Ordinary database engine does not support UUID. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000009de83f7 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:224: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x00000000393834ee in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca34 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 14. ? @ 0x00007fc6eb378a83 in ? 15. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:14:02.282710 [ 2092 ] {} test_9.r1 (ReplicatedMergeTreeCleanupThread): Will mark replica 2r1 as lost, because it has stale log pointer: log-0000000000 2026.10.27 19:14:02.754642 [ 2657 ] {5df63c6a-dfee-48d2-9858-9ce649ccc475} executeQuery: Code: 48. DB::Exception: Can't execute FULL_SORTING_MERGE join algorithm for this strictness/kind and right storage type: While processing WITH cs_ui AS (SELECT cs_item_sk, sum(cs_ext_list_price) AS sale, sum((cr_refunded_cash + cr_reversed_charge) + cr_store_credit) AS refund FROM catalog_sales, catalog_returns WHERE (cs_item_sk = cr_item_sk) AND (cs_order_number = cr_order_number) GROUP BY cs_item_sk HAVING sum(cs_ext_list_price) > (2 * sum((cr_refunded_cash + cr_reversed_charge) + cr_store_credit))), cross_sales AS (SELECT i_product_name AS product_name, i_item_sk AS item_sk, s_store_name AS store_name, s_zip AS store_zip, ad1.ca_street_number AS b_street_number, ad1.ca_street_name AS b_street_name, ad1.ca_city AS b_city, ad1.ca_zip AS b_zip, ad2.ca_street_number AS c_street_number, ad2.ca_street_name AS c_street_name, ad2.ca_city AS c_city, ad2.ca_zip AS c_zip, d1.d_year AS syear, d2.d_year AS fsyear, d3.d_year AS s2year, count(*) AS cnt, sum(ss_wholesale_cost) AS s1, sum(ss_list_price) AS s2, sum(ss_coupon_amt) AS s3 FROM store_sales, store_returns, cs_ui, date_dim AS d1, date_dim AS d2, date_dim AS d3, store, customer, customer_demographics AS cd1, customer_demographics AS cd2, promotion, household_demographics AS hd1, household_demographics AS hd2, customer_address AS ad1, customer_address AS ad2, income_band AS ib1, income_band AS ib2, item WHERE (ss_store_sk = s_store_sk) AND (ss_sold_date_sk = d1.d_date_sk) AND (ss_customer_sk = c_customer_sk) AND (ss_cdemo_sk = cd1.cd_demo_sk) AND (ss_hdemo_sk = hd1.hd_demo_sk) AND (ss_addr_sk = ad1.ca_address_sk) AND (ss_item_sk = i_item_sk) AND (ss_item_sk = sr_item_sk) AND (ss_ticket_number = sr_ticket_number) AND (ss_item_sk = cs_ui.cs_item_sk) AND (c_current_cdemo_sk = cd2.cd_demo_sk) AND (c_current_hdemo_sk = hd2.hd_demo_sk) AND (c_current_addr_sk = ad2.ca_address_sk) AND (c_first_sales_date_sk = d2.d_date_sk) AND (c_first_shipto_date_sk = d3.d_date_sk) AND (ss_promo_sk = p_promo_sk) AND (hd1.hd_income_band_sk = ib1.ib_income_band_sk) AND (hd2.hd_income_band_sk = ib2.ib_income_band_sk) AND (cd1.cd_marital_status != cd2.cd_marital_status) AND (i_color IN ('maroon', 'burnished', 'dim', 'steel', 'navajo', 'chocolate')) AND ((i_current_price >= 35) AND (i_current_price <= (35 + 10))) AND ((i_current_price >= (35 + 1)) AND (i_current_price <= (35 + 15))) GROUP BY i_product_name, i_item_sk, s_store_name, s_zip, ad1.ca_street_number, ad1.ca_street_name, ad1.ca_city, ad1.ca_zip, ad2.ca_street_number, ad2.ca_street_name, ad2.ca_city, ad2.ca_zip, d1.d_year, d2.d_year, d3.d_year) SELECT cs1.product_name, cs1.store_name, cs1.store_zip, cs1.b_street_number, cs1.b_street_name, cs1.b_city, cs1.b_zip, cs1.c_street_number, cs1.c_street_name, cs1.c_city, cs1.c_zip, cs1.syear, cs1.cnt, cs1.s1 AS s11, cs1.s2 AS s21, cs1.s3 AS s31, cs2.s1 AS s12, cs2.s2 AS s22, cs2.s3 AS s32, cs2.syear, cs2.cnt FROM cross_sales AS cs1, cross_sales AS cs2 WHERE (cs1.item_sk = cs2.item_sk) AND (cs1.syear = 2000) AND (cs2.syear = (2000 + 1)) AND (cs2.cnt <= cs1.cnt) AND (cs1.store_name = cs2.store_name) AND (cs1.store_zip = cs2.store_zip) ORDER BY cs1.product_name ASC, cs1.store_name ASC, cs2.cnt ASC, cs1.s1 ASC, cs2.s1 ASC. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36320) (comment: 02421_exponential_join_rewrite_21557.sql) (in query: EXPLAIN SYNTAX WITH cs_ui AS ( SELECT cs_item_sk, sum(cs_ext_list_price) AS sale, sum((cr_refunded_cash + cr_reversed_charge) + cr_store_credit) AS refund FROM catalog_sales , catalog_returns WHERE (cs_item_sk = cr_item_sk) AND (cs_order_number = cr_order_number) GROUP BY cs_item_sk HAVING sum(cs_ext_list_price) > (2 * sum((cr_refunded_cash + cr_reversed_charge) + cr_store_credit)) ), cross_sales AS ( SELECT i_product_name AS product_name, i_item_sk AS item_sk, s_store_name AS store_name, s_zip AS store_zip, ad1.ca_street_number AS b_street_number, ad1.ca_street_name AS b_street_name, ad1.ca_city AS b_city, ad1.ca_zip AS b_zip, ad2.ca_street_number AS c_street_number, ad2.ca_street_name AS c_street_name, ad2.ca_city AS c_city, ad2.ca_zip AS c_zip, d1.d_year AS syear, d2.d_year AS fsyear, d3.d_year AS s2year, count(*) AS cnt, sum(ss_wholesale_cost) AS s1, sum(ss_list_price) AS s2, sum(ss_coupon_amt) AS s3 FROM store_sales , store_returns , cs_ui , date_dim AS d1 , date_dim AS d2 , date_dim AS d3 , store , customer , customer_demographics AS cd1 , customer_demographics AS cd2 , promotion , household_demographics AS hd1 , household_demographics AS hd2 , customer_address AS ad1 , customer_address AS ad2 , income_band AS ib1 , income_band AS ib2 , item WHERE (ss_store_sk = s_store_sk) AND (ss_sold_date_sk = d1.d_date_sk) AND (ss_customer_sk = c_customer_sk) AND (ss_cdemo_sk = cd1.cd_demo_sk) AND (ss_hdemo_sk = hd1.hd_demo_sk) AND (ss_addr_sk = ad1.ca_address_sk) AND (ss_item_sk = i_item_sk) AND (ss_item_sk = sr_item_sk) AND (ss_ticket_number = sr_ticket_number) AND (ss_item_sk = cs_ui.cs_item_sk) AND (c_current_cdemo_sk = cd2.cd_demo_sk) AND (c_current_hdemo_sk = hd2.hd_demo_sk) AND (c_current_addr_sk = ad2.ca_address_sk) AND (c_first_sales_date_sk = d2.d_date_sk) AND (c_first_shipto_date_sk = d3.d_date_sk) AND (ss_promo_sk = p_promo_sk) AND (hd1.hd_income_band_sk = ib1.ib_income_band_sk) AND (hd2.hd_income_band_sk = ib2.ib_income_band_sk) AND (cd1.cd_marital_status != cd2.cd_marital_status) AND (i_color IN ('maroon', 'burnished', 'dim', 'steel', 'navajo', 'chocolate')) AND ((i_current_price >= 35) AND (i_current_price <= (35 + 10))) AND ((i_current_price >= (35 + 1)) AND (i_current_price <= (35 + 15))) GROUP BY i_product_name, i_item_sk, s_store_name, s_zip, ad1.ca_street_number, ad1.ca_street_name, ad1.ca_city, ad1.ca_zip, ad2.ca_street_number, ad2.ca_street_name, ad2.ca_city, ad2.ca_zip, d1.d_year, d2.d_year, d3.d_year ) SELECT cs1.product_name, cs1.store_name, cs1.store_zip, cs1.b_street_number, cs1.b_street_name, cs1.b_city, cs1.b_zip, cs1.c_street_number, cs1.c_street_name, cs1.c_city, cs1.c_zip, cs1.syear, cs1.cnt, cs1.s1 AS s11, cs1.s2 AS s21, cs1.s3 AS s31, cs2.s1 AS s12, cs2.s2 AS s22, cs2.s3 AS s32, cs2.syear, cs2.cnt FROM cross_sales AS cs1 , cross_sales AS cs2 WHERE (cs1.item_sk = cs2.item_sk) AND (cs1.syear = 2000) AND (cs2.syear = (2000 + 1)) AND (cs2.cnt <= cs1.cnt) AND (cs1.store_name = cs2.store_name) AND (cs1.store_zip = cs2.store_zip) ORDER BY cs1.product_name ASC, cs1.store_name ASC, cs2.cnt ASC, cs1.s1 ASC, cs2.s1 ASC FORMAT Null ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x0000000037cf406d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x0000000037caaf24 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x0000000037ca0c4c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037cca9cf in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 8. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d70240 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9d19f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e5176d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: 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) @ 0x0000000039b08c41 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d70240 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9d19f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e5176d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: 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) @ 0x0000000039b08c41 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d70240 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9d19f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e5176d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: 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) @ 0x0000000039b08c41 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 2026.10.27 19:14:02.772263 [ 2657 ] {5df63c6a-dfee-48d2-9858-9ce649ccc475} TCPHandler: Code: 48. DB::Exception: Can't execute FULL_SORTING_MERGE join algorithm for this strictness/kind and right storage type: While processing WITH cs_ui AS (SELECT cs_item_sk, sum(cs_ext_list_price) AS sale, sum((cr_refunded_cash + cr_reversed_charge) + cr_store_credit) AS refund FROM catalog_sales, catalog_returns WHERE (cs_item_sk = cr_item_sk) AND (cs_order_number = cr_order_number) GROUP BY cs_item_sk HAVING sum(cs_ext_list_price) > (2 * sum((cr_refunded_cash + cr_reversed_charge) + cr_store_credit))), cross_sales AS (SELECT i_product_name AS product_name, i_item_sk AS item_sk, s_store_name AS store_name, s_zip AS store_zip, ad1.ca_street_number AS b_street_number, ad1.ca_street_name AS b_street_name, ad1.ca_city AS b_city, ad1.ca_zip AS b_zip, ad2.ca_street_number AS c_street_number, ad2.ca_street_name AS c_street_name, ad2.ca_city AS c_city, ad2.ca_zip AS c_zip, d1.d_year AS syear, d2.d_year AS fsyear, d3.d_year AS s2year, count(*) AS cnt, sum(ss_wholesale_cost) AS s1, sum(ss_list_price) AS s2, sum(ss_coupon_amt) AS s3 FROM store_sales, store_returns, cs_ui, date_dim AS d1, date_dim AS d2, date_dim AS d3, store, customer, customer_demographics AS cd1, customer_demographics AS cd2, promotion, household_demographics AS hd1, household_demographics AS hd2, customer_address AS ad1, customer_address AS ad2, income_band AS ib1, income_band AS ib2, item WHERE (ss_store_sk = s_store_sk) AND (ss_sold_date_sk = d1.d_date_sk) AND (ss_customer_sk = c_customer_sk) AND (ss_cdemo_sk = cd1.cd_demo_sk) AND (ss_hdemo_sk = hd1.hd_demo_sk) AND (ss_addr_sk = ad1.ca_address_sk) AND (ss_item_sk = i_item_sk) AND (ss_item_sk = sr_item_sk) AND (ss_ticket_number = sr_ticket_number) AND (ss_item_sk = cs_ui.cs_item_sk) AND (c_current_cdemo_sk = cd2.cd_demo_sk) AND (c_current_hdemo_sk = hd2.hd_demo_sk) AND (c_current_addr_sk = ad2.ca_address_sk) AND (c_first_sales_date_sk = d2.d_date_sk) AND (c_first_shipto_date_sk = d3.d_date_sk) AND (ss_promo_sk = p_promo_sk) AND (hd1.hd_income_band_sk = ib1.ib_income_band_sk) AND (hd2.hd_income_band_sk = ib2.ib_income_band_sk) AND (cd1.cd_marital_status != cd2.cd_marital_status) AND (i_color IN ('maroon', 'burnished', 'dim', 'steel', 'navajo', 'chocolate')) AND ((i_current_price >= 35) AND (i_current_price <= (35 + 10))) AND ((i_current_price >= (35 + 1)) AND (i_current_price <= (35 + 15))) GROUP BY i_product_name, i_item_sk, s_store_name, s_zip, ad1.ca_street_number, ad1.ca_street_name, ad1.ca_city, ad1.ca_zip, ad2.ca_street_number, ad2.ca_street_name, ad2.ca_city, ad2.ca_zip, d1.d_year, d2.d_year, d3.d_year) SELECT cs1.product_name, cs1.store_name, cs1.store_zip, cs1.b_street_number, cs1.b_street_name, cs1.b_city, cs1.b_zip, cs1.c_street_number, cs1.c_street_name, cs1.c_city, cs1.c_zip, cs1.syear, cs1.cnt, cs1.s1 AS s11, cs1.s2 AS s21, cs1.s3 AS s31, cs2.s1 AS s12, cs2.s2 AS s22, cs2.s3 AS s32, cs2.syear, cs2.cnt FROM cross_sales AS cs1, cross_sales AS cs2 WHERE (cs1.item_sk = cs2.item_sk) AND (cs1.syear = 2000) AND (cs2.syear = (2000 + 1)) AND (cs2.cnt <= cs1.cnt) AND (cs1.store_name = cs2.store_name) AND (cs1.store_zip = cs2.store_zip) ORDER BY cs1.product_name ASC, cs1.store_name ASC, cs2.cnt ASC, cs1.s1 ASC, cs2.s1 ASC. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x0000000037cf406d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x0000000037caaf24 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x0000000037ca0c4c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037cca9cf in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 8. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d70240 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9d19f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e5176d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: 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) @ 0x0000000039b08c41 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d70240 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9d19f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e5176d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: 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) @ 0x0000000039b08c41 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d70240 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9d19f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e5176d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: 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) @ 0x0000000039b08c41 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 2026.10.27 19:14:04.255677 [ 4287 ] {efceeb7d-55bb-4e50-b925-ab46965e5302} executeQuery: Code: 82. DB::Exception: Database default already exists. (DATABASE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53904) (comment: 01192_rename_database_zookeeper.sh) (in query: RENAME DATABASE test_01192 TO default), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:528: DB::DatabaseCatalog::assertDatabaseDoesntExistUnlocked(String const&) const @ 0x0000000037abebee in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseCatalog::assertDatabaseDoesntExist(String const&) const @ 0x0000000037abe909 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToDatabase(DB::ASTRenameQuery const&, std::vector> const&) @ 0x0000000039ae055b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:73: DB::InterpreterRenameQuery::execute() @ 0x0000000039adc581 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:14:04.284174 [ 4287 ] {efceeb7d-55bb-4e50-b925-ab46965e5302} TCPHandler: Code: 82. DB::Exception: Database default already exists. (DATABASE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:528: DB::DatabaseCatalog::assertDatabaseDoesntExistUnlocked(String const&) const @ 0x0000000037abebee in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseCatalog::assertDatabaseDoesntExist(String const&) const @ 0x0000000037abe909 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToDatabase(DB::ASTRenameQuery const&, std::vector> const&) @ 0x0000000039ae055b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:73: DB::InterpreterRenameQuery::execute() @ 0x0000000039adc581 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:14:05.145900 [ 4286 ] {405e9689-b5b2-469f-beb0-500dd0dc12a0} executeQuery: Code: 81. DB::Exception: Database test_01192_notexisting does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53938) (comment: 01192_rename_database_zookeeper.sh) (in query: RENAME DATABASE test_01192_notexisting TO test_01192_renamed), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ac533c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:173: DB::InterpreterRenameQuery::executeToDatabase(DB::ASTRenameQuery const&, std::vector> const&) @ 0x0000000039ae04b8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:73: DB::InterpreterRenameQuery::execute() @ 0x0000000039adc581 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:14:05.158996 [ 4286 ] {405e9689-b5b2-469f-beb0-500dd0dc12a0} TCPHandler: Code: 81. DB::Exception: Database test_01192_notexisting does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:650: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ac533c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:173: DB::InterpreterRenameQuery::executeToDatabase(DB::ASTRenameQuery const&, std::vector> const&) @ 0x0000000039ae04b8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:73: DB::InterpreterRenameQuery::execute() @ 0x0000000039adc581 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:14:21.295619 [ 2549 ] {935b2ecf-8c33-413c-94c9-8c95875d178f} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 178.83 MiB (attempt to allocate chunk of 0 bytes), maximum: 1.40 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53814) (comment: 00084_external_aggregation.sql) (in query: SELECT URL, uniq(SearchPhrase) AS u FROM test.hits GROUP BY URL ORDER BY u DESC, URL LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:14:21.421424 [ 2479 ] {5b681299-f85d-4c71-8585-262e68ca154e} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.64 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: (while reading column DNSTiming): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 21. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 22. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:0: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d493acf in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 2026.10.27 19:14:22.106840 [ 2549 ] {935b2ecf-8c33-413c-94c9-8c95875d178f} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 178.83 MiB (attempt to allocate chunk of 0 bytes), maximum: 1.40 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:14:25.825758 [ 4312 ] {a1606d7f-7de9-406a-85ea-57e4ffdf83ea} executeQuery: Code: 59. DB::Exception: Invalid type for filter in PREWHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47676) (comment: 01356_wrong_filter-type_bug.sql) (in query: SELECT t0.c2, t0.c1, t0.c0 FROM t0 PREWHERE t0.c0 ORDER BY ((t0.c2)>=(t0.c1)), (((- (((t0.c0)>(t0.c0))))) IS NULL) FORMAT TabSeparatedWithNamesAndTypes;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1180: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037cb31b2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037cc8de2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 7. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 11. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:14:25.827041 [ 4312 ] {a1606d7f-7de9-406a-85ea-57e4ffdf83ea} TCPHandler: Code: 59. DB::Exception: Invalid type for filter in PREWHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1180: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037cb31b2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037cc8de2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 7. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 11. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:14:27.019695 [ 4312 ] {4b2a491d-113d-46a8-a09e-256334803392} executeQuery: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47676) (comment: 01356_wrong_filter-type_bug.sql) (in query: SELECT t0.c2, t0.c1, t0.c0 FROM t0 WHERE t0.c0 ORDER BY ((t0.c2)>=(t0.c1)), (((- (((t0.c0)>(t0.c0))))) IS NULL) FORMAT TabSeparatedWithNamesAndTypes settings optimize_move_to_prewhere=0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1263: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037cb4a70 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccacb4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 7. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 11. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:14:27.053188 [ 4312 ] {4b2a491d-113d-46a8-a09e-256334803392} TCPHandler: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1263: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000037cb4a70 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccacb4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 7. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 11. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:14:39.258115 [ 4497 ] {6e53adef-a1f1-4c6a-bbed-a50cabdcbdd3} executeQuery: Code: 10. DB::Exception: Not found column CounterID in block. There are only columns: k, quantileExact(0.5)(ResolutionWidth): While executing Remote. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47662) (comment: 00082_quantiles.sql) (in query: SELECT CounterID AS k, quantileExact(0.5)(ResolutionWidth) FROM remote('127.0.0.{1,2}', test.hits) GROUP BY k ORDER BY count() DESC, CounterID LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfb3eb5 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/Block.cpp:315: DB::Block::getByName(String const&, bool) const @ 0x0000000036279def in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:215: DB::adaptBlockStructure(DB::Block const&, DB::Block const&) @ 0x0000000036a76486 in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:112: DB::RemoteQueryExecutor::processPacket(DB::Packet) @ 0x0000000036a6ed7c in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:390: DB::RemoteQueryExecutor::readAsync() @ 0x0000000036a73627 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:123: DB::RemoteSource::tryGenerate() @ 0x000000003ee22072 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:14:39.438474 [ 4497 ] {6e53adef-a1f1-4c6a-bbed-a50cabdcbdd3} TCPHandler: Code: 10. DB::Exception: Not found column CounterID in block. There are only columns: k, quantileExact(0.5)(ResolutionWidth): While executing Remote. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfb3eb5 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/Block.cpp:315: DB::Block::getByName(String const&, bool) const @ 0x0000000036279def in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:215: DB::adaptBlockStructure(DB::Block const&, DB::Block const&) @ 0x0000000036a76486 in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:112: DB::RemoteQueryExecutor::processPacket(DB::Packet) @ 0x0000000036a6ed7c in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:390: DB::RemoteQueryExecutor::readAsync() @ 0x0000000036a73627 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:123: DB::RemoteSource::tryGenerate() @ 0x000000003ee22072 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:14:42.134884 [ 4399 ] {} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__algorithm/remove_if.h:32: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&, DB::SettingSource) const @ 0x0000000035dff22e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1904: DB::Context::checkSettingsConstraints(DB::SettingsChanges&, DB::SettingSource) const @ 0x000000003789d895 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:1704: DB::TCPHandler::receiveQuery() @ 0x000000003e0c5337 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000003e0a4ebe in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08c26e in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:14:52.024683 [ 4298 ] {193c6c90-1857-4ec0-a387-543f1e088a7c} DynamicQueryHandler: Code: 246. DB::Exception: Too large uncompressed size: 4294967295. (CORRUPTED_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x00000000353e6497 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecMultiple.cpp:0: DB::CompressionCodecMultiple::doDecompressData(char const*, unsigned int, char*, unsigned int) const @ 0x00000000368c9f64 in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/ICompressionCodec.cpp:112: DB::ICompressionCodec::decompress(char const*, unsigned int, char*) const @ 0x00000000369b510a in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressedReadBufferBase.cpp:308: DB::CompressedReadBufferBase::decompress(DB::BufferBase::Buffer&, unsigned long, unsigned long) @ 0x0000000036890803 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressedReadBuffer.cpp:0: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x000000003688a8b3 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/ReadBuffer.h:71: DB::(anonymous namespace)::ReadBufferWrapper::nextImpl() @ 0x00000000361e7e77 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/ReadBuffer.h:72: DB::ConcatReadBuffer::nextImpl() @ 0x00000000377e3123 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a991e80 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df68bed in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df75e8e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f3061 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:14:59.152740 [ 4298 ] {f5eefa0b-529e-4507-9002-90b21d72c997} DynamicQueryHandler: Code: 246. DB::Exception: Wrong data for compression codec NONE: source_size (278) != uncompressed_size (33686018). (CORRUPTED_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned int&, unsigned int&) @ 0x00000000349ace4d in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecNone.cpp:38: DB::CompressionCodecNone::doDecompressData(char const*, unsigned int, char*, unsigned int) const @ 0x00000000368beafb in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/ICompressionCodec.cpp:112: DB::ICompressionCodec::decompress(char const*, unsigned int, char*) const @ 0x00000000369b510a in /usr/bin/clickhouse 5. ./build_docker/./src/Common/PODArray.h:174: DB::CompressionCodecMultiple::doDecompressData(char const*, unsigned int, char*, unsigned int) const @ 0x00000000368c9035 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/ICompressionCodec.cpp:112: DB::ICompressionCodec::decompress(char const*, unsigned int, char*) const @ 0x00000000369b510a in /usr/bin/clickhouse 7. ./build_docker/./src/Compression/CompressedReadBufferBase.cpp:308: DB::CompressedReadBufferBase::decompress(DB::BufferBase::Buffer&, unsigned long, unsigned long) @ 0x0000000036890803 in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/CompressedReadBuffer.cpp:0: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x000000003688a8b3 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:71: DB::(anonymous namespace)::ReadBufferWrapper::nextImpl() @ 0x00000000361e7e77 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/ReadBuffer.h:72: DB::ConcatReadBuffer::nextImpl() @ 0x00000000377e3123 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/ReadBuffer.h:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a991e80 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df68bed in /usr/bin/clickhouse 13. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df75e8e in /usr/bin/clickhouse 14. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f3061 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:15:02.816079 [ 4315 ] {f4badbde-3fbb-4e10-884c-21866b338a5f} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 type of function arrayEnumerateUniqRanked. Expected an Array or Const(UInt64), got UInt8: While processing arrayEnumerateUniqRanked(arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]]), materialize(1 AS x) OR toLowCardinality(-9223372036854775808)). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49610) (comment: 03003_arrayEnumerate_crash.sql) (in query: SELECT arrayEnumerateUniqRanked(arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]]), materialize(1 AS x) OR toLowCardinality(-9223372036854775808));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x000000001f682b5a in /usr/bin/clickhouse 3. DB::getArraysDepths(std::vector> const&, char const*) @ 0x000000001f68165e in /usr/bin/clickhouse 4. DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x000000001f6bc8b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:15:02.820756 [ 4315 ] {f4badbde-3fbb-4e10-884c-21866b338a5f} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 type of function arrayEnumerateUniqRanked. Expected an Array or Const(UInt64), got UInt8: While processing arrayEnumerateUniqRanked(arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]]), materialize(1 AS x) OR toLowCardinality(-9223372036854775808)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x000000001f682b5a in /usr/bin/clickhouse 3. DB::getArraysDepths(std::vector> const&, char const*) @ 0x000000001f68165e in /usr/bin/clickhouse 4. DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x000000001f6bc8b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:15:02.886160 [ 4315 ] {1198da6b-2cfc-430c-8ee6-a941fb73bdd1} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 type of function arrayEnumerateUniqRanked. Expected an Array or Const(UInt64), got UInt64: While processing arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]], number). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49610) (comment: 03003_arrayEnumerate_crash.sql) (in query: SELECT arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]], number) FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x000000001f682b5a in /usr/bin/clickhouse 3. DB::getArraysDepths(std::vector> const&, char const*) @ 0x000000001f68165e in /usr/bin/clickhouse 4. DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x000000001f6bc8b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:15:02.892882 [ 4315 ] {1198da6b-2cfc-430c-8ee6-a941fb73bdd1} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 type of function arrayEnumerateUniqRanked. Expected an Array or Const(UInt64), got UInt64: While processing arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]], number). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x000000001f682b5a in /usr/bin/clickhouse 3. DB::getArraysDepths(std::vector> const&, char const*) @ 0x000000001f68165e in /usr/bin/clickhouse 4. DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x000000001f6bc8b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:15:07.818053 [ 4343 ] {17717527-94b5-48c1-a8cb-1d78957f3e45} executeQuery: Code: 60. DB::Exception: Table test_01192.rmt does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47802) (comment: 01192_rename_database_zookeeper.sh) (in query: SELECT count(n), sum(n) FROM test_01192_atomic.mv), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000371e70bc in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ab8ee2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037acb963 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMaterializedView.cpp:409: DB::StorageMaterializedView::getTargetTable() const @ 0x000000003bdc8ee7 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageMaterializedView.cpp:420: DB::StorageMaterializedView::getVirtuals() const @ 0x000000003bdd4d82 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:621: DB::StorageSnapshot::init() @ 0x000000003c48a52c in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageSnapshot.h:0: DB::StorageSnapshot::StorageSnapshot(DB::IStorage const&, std::shared_ptr) @ 0x0000000034a9b67b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::IStorage const&, std::shared_ptr const&, void>(std::allocator const&, DB::IStorage const&, std::shared_ptr const&) @ 0x0000000034a9b2a8 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/IStorage.h:0: DB::IStorage::getStorageSnapshot(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000034a9a457 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/IStorage.h:0: DB::IStorage::getStorageSnapshotForQuery(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) const @ 0x0000000034a9a70a in /usr/bin/clickhouse 13. ./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) @ 0x0000000039b089dc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 17. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:15:07.836223 [ 4343 ] {17717527-94b5-48c1-a8cb-1d78957f3e45} TCPHandler: Code: 60. DB::Exception: Table test_01192.rmt does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000371e70bc in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ab8ee2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037acb963 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMaterializedView.cpp:409: DB::StorageMaterializedView::getTargetTable() const @ 0x000000003bdc8ee7 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageMaterializedView.cpp:420: DB::StorageMaterializedView::getVirtuals() const @ 0x000000003bdd4d82 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:621: DB::StorageSnapshot::init() @ 0x000000003c48a52c in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageSnapshot.h:0: DB::StorageSnapshot::StorageSnapshot(DB::IStorage const&, std::shared_ptr) @ 0x0000000034a9b67b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::IStorage const&, std::shared_ptr const&, void>(std::allocator const&, DB::IStorage const&, std::shared_ptr const&) @ 0x0000000034a9b2a8 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/IStorage.h:0: DB::IStorage::getStorageSnapshot(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000034a9a457 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/IStorage.h:0: DB::IStorage::getStorageSnapshotForQuery(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) const @ 0x0000000034a9a70a in /usr/bin/clickhouse 13. ./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) @ 0x0000000039b089dc in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 17. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:15:15.342440 [ 4307 ] {fd7018c1-f2f8-46fa-aabb-9db3dbff3fc8} executeQuery: Code: 48. DB::Exception: Ordinary: RENAME DATABASE is not supported. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48012) (comment: 01192_rename_database_zookeeper.sh) (in query: RENAME DATABASE test_01192 TO test_01192_renamed), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.h:303: DB::IDatabase::renameDatabase(std::shared_ptr, String const&) @ 0x0000000037057d6e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToDatabase(DB::ASTRenameQuery const&, std::vector> const&) @ 0x0000000039ae06b3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:73: DB::InterpreterRenameQuery::execute() @ 0x0000000039adc581 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:15:15.352710 [ 4307 ] {fd7018c1-f2f8-46fa-aabb-9db3dbff3fc8} TCPHandler: Code: 48. DB::Exception: Ordinary: RENAME DATABASE is not supported. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.h:303: DB::IDatabase::renameDatabase(std::shared_ptr, String const&) @ 0x0000000037057d6e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToDatabase(DB::ASTRenameQuery const&, std::vector> const&) @ 0x0000000039ae06b3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:73: DB::InterpreterRenameQuery::execute() @ 0x0000000039adc581 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:15:19.834619 [ 2291 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::QueryViewsLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 4226814 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a439833 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a436b02 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2b487 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:15:22.154778 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.43 GiB (attempt to allocate chunk of 4209146 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:269: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d650d45 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a471453 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:15:28.508402 [ 4315 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.86 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:15:32.684294 [ 2289 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::MetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.73 GiB (attempt to allocate chunk of 4194317 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long const*, unsigned long const*) @ 0x000000002089f6cc in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: COWHelper>::clone() const @ 0x000000003b4083a6 in /usr/bin/clickhouse 9. DB::IColumn::mutate(COW::immutable_ptr) @ 0x000000000a9ad52a in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.cpp:0: DB::Block::mutateColumns() @ 0x000000003627dffd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:169: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d1043eb in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3dc813 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3d9902 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c259e7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c258bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:15:32.684768 [ 2244 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 2031616 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (avg_value_size_hint = 200.0374139479198, avg_chars_size = 230.44489673750374, limit = 6682): (while reading column Referer): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_1_1_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 32 with max_rows_to_read = 6682): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff78e6 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:612: DB::MergeTask::VerticalMergeStage::executeVerticalMergeForOneColumn() const @ 0x000000003cdc2b1f in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:842: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde698 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::VerticalMergeStage::execute() @ 0x000000003cdcadee in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 30. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:15:33.229659 [ 4340 ] {32910bf9-51a2-4ad5-8da0-a31abc56ca06} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.86 GiB (attempt to allocate chunk of 536870912 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: while executing 'FUNCTION arrayAll(__lambda :: 1, ParsedParams.Key1 : 0) -> arrayAll(lambda(tuple(y), arrayExists(lambda(tuple(x), notEquals(y, x)), ParsedParams.Key1)), ParsedParams.Key1) UInt8 : 2'. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47782) (comment: 00053_replicate_segfault.sql) (in query: SELECT count() > 0 FROM (SELECT ParsedParams.Key1 AS p FROM test.visits WHERE arrayAll(y -> arrayExists(x -> y != x, p), p)) ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786402 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:165: DB::ColumnArray::replicateString(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000003ac922f2 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnArray.cpp:0: DB::ColumnArray::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000003ac903d5 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnFunction.cpp:0: DB::ColumnFunction::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000003b0b0e57 in /usr/bin/clickhouse 12. DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001db21960 in /usr/bin/clickhouse 13. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000003eb9657e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000003eb960a4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:15:35.799365 [ 2243 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} TemporaryFileOnDisk: Temporary path 'tmpcae8e565-eef4-44b7-bccc-a4e1d14df69e' does not exist in '/var/lib/clickhouse/tmp/' 2026.10.27 19:15:37.403883 [ 2290 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TraceLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.58 GiB (attempt to allocate chunk of 4387305 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long const*, unsigned long const*) @ 0x000000002089f6cc in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: COWHelper>::clone() const @ 0x000000003b4083a6 in /usr/bin/clickhouse 9. DB::IColumn::mutate(COW::immutable_ptr) @ 0x000000000a9ad52a in /usr/bin/clickhouse 10. DB::IColumn::mutate(COW::immutable_ptr)::'lambda'(COW::chameleon_ptr&)::operator()(COW::chameleon_ptr&) const @ 0x000000000a9ad9fe in /usr/bin/clickhouse 11. void std::__function::__policy_invoker::chameleon_ptr&)>::__call_impl::immutable_ptr)::'lambda'(COW::chameleon_ptr&), void (COW::chameleon_ptr&)>>(std::__function::__policy_storage const*, COW::chameleon_ptr&) @ 0x000000000a9ad8e9 in /usr/bin/clickhouse 12. ./build_docker/./src/Columns/ColumnArray.h:158: DB::ColumnArray::forEachSubcolumn(std::function::chameleon_ptr&)>) @ 0x000000003acd74a4 in /usr/bin/clickhouse 13. DB::IColumn::mutate(COW::immutable_ptr) @ 0x000000000a9ad6a3 in /usr/bin/clickhouse 14. ./build_docker/./src/Core/Block.cpp:0: DB::Block::mutateColumns() @ 0x000000003627dffd in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:169: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d1043eb in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a45ea53 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a45bf32 in /usr/bin/clickhouse 30. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2d7a7 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c2d67f in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:15:37.403945 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.58 GiB (attempt to allocate chunk of 4217085 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:15:37.404349 [ 3827 ] {a7fdc8f6-d81f-48b1-91c6-de5993b34fa5} executeQuery: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 02540_duplicate_primary_key.sql) (in query: /* ddl_entry=query-0000000014 */ CREATE TABLE test_11.test UUID 'a5b60e0e-7c96-440a-af13-d61614102c62' (`coverage` DateTime, `haunt` Nullable(Float32) CODEC(Gorilla, ZSTD(1)), `sail` Nullable(Float32) CODEC(Gorilla, ZSTD(1)), `empowerment_turnstile` UInt8, `empowerment_haversack` Nullable(Int16), `empowerment_function` Nullable(Int16), `empowerment_guidance` Nullable(Int32), `empowerment_high` Nullable(Int32), `trading_id` Nullable(Int32), `guidance` Nullable(Int32), `empowerment_rawhide` Int32, `memo` Nullable(Int16), `oeuvre` Nullable(Int16), `bun` Nullable(Int16), `tramp` String, `anthropology_total` Nullable(Float32), `situation_name` String, `timing` Nullable(String), `NAME_cockroach` String, `NAME_toe` String, `business_error_methane` FixedString(110), `business_instrumentation_methane` FixedString(15), `market` UInt8, `crew_memo` Nullable(Int16), `crew_oeuvre` Nullable(Int16), `crew_fortnight` Nullable(Int16), `princess_memo` Nullable(Int16), `princess_oeuvre` Nullable(Int16), `princess_fortnight` Nullable(Int16), `emerald` Nullable(Float32), `cannon_crate` Nullable(String), `thinking` String, `SectorMen` String, `rage_name` Nullable(String), `DevelopmentalLigandName` String, `chard_heavy_quadrant` UInt64, `poster_effective` Nullable(String), PROJECTION chrysalis_trapezium_ham (SELECT empowerment_turnstile, toStartOfInterval(coverage, toIntervalMonth(1)), toStartOfWeek(coverage, 10), toStartOfInterval(coverage, toIntervalDay(1)), NAME_toe, NAME_cockroach, situation_name, memo, oeuvre, crew_memo, crew_oeuvre, bun, sum(multiIf(crew_memo IS NULL, 0, 1)), sum(multiIf(crew_oeuvre IS NULL, 0, 1)), sum(multiIf(crew_fortnight IS NULL, 0, 1)), max(toStartOfInterval(coverage, toIntervalDay(1))), max(CAST(CAST(toStartOfInterval(coverage, toIntervalDay(1)), 'Nullable(DATE)'), 'Nullable(TIMESTAMP)')), min(toStartOfInterval(coverage, toIntervalDay(1))), min(CAST(CAST(toStartOfInterval(coverage, toIntervalDay(1)), 'Nullable(DATE)'), 'Nullable(TIMESTAMP)')), count(), sum(1) GROUP BY empowerment_turnstile, toStartOfInterval(coverage, toIntervalMonth(1)), toStartOfWeek(coverage, 10), toStartOfInterval(coverage, toIntervalDay(1)), empowerment_turnstile, toStartOfInterval(coverage, toIntervalMonth(1)), toStartOfWeek(coverage, 10), toStartOfInterval(coverage, toIntervalDay(1)), NAME_toe, NAME_cockroach, situation_name, memo, oeuvre, crew_memo, crew_oeuvre, bun)) ENGINE = MergeTree PARTITION BY toYYYYMM(coverage) ORDER BY (coverage, situation_name, NAME_toe, NAME_cockroach) SETTINGS index_granularity = 30430, min_bytes_for_wide_part = 84746989, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 543, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 442895, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 945772838, index_granularity_bytes = 14706804, allow_vertical_merges_from_compact_to_wide_parts = 0, marks_compress_block_size = 74731, primary_key_compress_block_size = 82107), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000003d02bfd7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000003ce347d7 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce2e393 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1116: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce3146c in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce244dd in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: 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) @ 0x000000003d9fbf3b in /usr/bin/clickhouse 8. ./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&) @ 0x000000003d9fa74b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003d9ed120 in /usr/bin/clickhouse 10. ./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&) @ 0x000000003571bd9a in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bbeeb7a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393dacd0 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c260a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 19. ./build_docker/./src/Databases/DatabaseReplicatedWorker.cpp:288: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x00000000371b9fe1 in /usr/bin/clickhouse 20. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x00000000371371dd in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c23a3 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 2026.10.27 19:15:37.404345 [ 2247 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_5_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.43 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:281: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d6516b7 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePart(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d649640 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::MergeTask::MergeProjectionsStage::finalizeProjectionsAndWholeMerge() const @ 0x000000003cdcaadc in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cddedbf in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::MergeProjectionsStage::execute() @ 0x000000003cdcaeae in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:15:39.801811 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.71 GiB (attempt to allocate chunk of 4373029 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:15:39.802332 [ 2236 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78f638d5-1538-4f74-a202-7a1eb8a2fda0::202610_1_10_2}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.61 GiB (attempt to allocate chunk of 1051207 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:15:39.802410 [ 2239 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_1_11_2}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.61 GiB (attempt to allocate chunk of 1102815 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:15:41.555117 [ 2350 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::AsynchronousMetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.70 GiB (attempt to allocate chunk of 4270682 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3b72d3 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3b47b2 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c23847 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:15:54.356671 [ 2292 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::PartLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.66 GiB (attempt to allocate chunk of 4202687 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d102e0d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a401a53 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3fed42 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c27d07 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c27bdf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:15:57.840868 [ 4374 ] {a3418b6e-2fd5-4d59-8a51-a62fd208d5ba} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34898) (comment: 00078_group_by_arrays.sql) (in query: SELECT ParsedParams.Key1 AS k1, GeneralInterests AS k2, count() AS c FROM test.hits GROUP BY k1, k2 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:15:59.966023 [ 2231 ] {} 6e5587ee-ed65-44ef-957a-043ec90bb617::all_130_134_1 (MergeFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.73 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeFromLogEntryTask.h:36: DB::MergeFromLogEntryTask::executeInnerTask() @ 0x000000003cd90206 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000003d79ff82 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:00.634995 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.61 GiB (attempt to allocate chunk of 5220161 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:03.790328 [ 2296 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::QueryLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.62 GiB (attempt to allocate chunk of 4195610 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x000000002089f09b in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnVector.h:0: COW::immutable_ptr DB::ColumnVector::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b4ea87f in /usr/bin/clickhouse 9. ./build_docker/./src/Columns/ColumnsCommon.h:129: COW::immutable_ptr DB::selectIndexImpl>(DB::ColumnVector const&, DB::IColumn const&, unsigned long) @ 0x000000003b2b3ba9 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnVector.cpp:735: DB::ColumnVector::index(DB::IColumn const&, unsigned long) const @ 0x000000003b2b392e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1457: DB::ColumnTuple::index(DB::IColumn const&, unsigned long) const @ 0x000000003b2347c1 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: COW::immutable_ptr DB::ColumnArray::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003ac9bd39 in /usr/bin/clickhouse 13. ./build_docker/./src/Columns/ColumnArray.cpp:811: DB::ColumnArray::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003ac8cfc4 in /usr/bin/clickhouse 14. ./build_docker/./src/Columns/ColumnMap.cpp:0: DB::ColumnMap::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b121415 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/IMergeTreeDataPartWriter.cpp:0: DB::permuteBlockIfNeeded(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d11b4c2 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:166: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d10410d in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a414433 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a411722 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c28f87 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:03.790613 [ 2242 ] {} 6e5587ee-ed65-44ef-957a-043ec90bb617::all_0_129_4 (MergeFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.79 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeFromLogEntryTask.h:36: DB::MergeFromLogEntryTask::executeInnerTask() @ 0x000000003cd90206 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000003d79ff82 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:03.790717 [ 5694 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.51 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:03.790831 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.66 GiB (attempt to allocate chunk of 5166143 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:03.791081 [ 2246 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {acda09da-43db-48a8-8810-44d9d644ef09::all_1_17_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.86 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:269: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d650d45 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePart(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d649640 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::MergeTask::MergeProjectionsStage::finalizeProjectionsAndWholeMerge() const @ 0x000000003cdcaadc in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cddedbf in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::MergeProjectionsStage::execute() @ 0x000000003cdcaeae in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:03.791239 [ 2242 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {6e5587ee-ed65-44ef-957a-043ec90bb617::all_0_129_4}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.79 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeFromLogEntryTask.h:36: DB::MergeFromLogEntryTask::executeInnerTask() @ 0x000000003cd90206 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000003d79ff82 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:06.013541 [ 3070 ] {eab84b56-9b1a-456e-a3ff-3e445a7a56f6} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.58 GiB (attempt to allocate chunk of 2693641 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37704) (comment: 00174_distinct_in_order.sql) (in query: insert into ordinary_distinct select distinct CounterID, EventDate from test.hits order by CounterID settings optimize_distinct_in_order=0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. DB::PODArray, 4096ul, Allocator, 63ul, 64ul>::resize_fill(unsigned long) @ 0x000000001cc71102 in /usr/bin/clickhouse 10. void DB::packFixedBatch>(unsigned long, std::vector> const&, std::vector> const&, DB::PODArray, 4096ul, Allocator, 63ul, 64ul>&) @ 0x000000001f66e8c2 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/ColumnsHashing.h:622: DB::ColumnsHashing::HashMethodKeysFixed, wide::integer<128ul, unsigned int>, void, false, false, true, false>::HashMethodKeysFixed(std::vector> const&, std::vector> const&, std::shared_ptr const&) @ 0x000000003a23a3d0 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/DistinctTransform.cpp:0: void DB::DistinctTransform::buildFilter, HashTableCell, UInt128HashCRC32, HashTableNoState>, UInt128HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, false>>(DB::SetMethodKeysFixed, HashTableCell, UInt128HashCRC32, HashTableNoState>, UInt128HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, false>&, std::vector> const&, DB::PODArray, 63ul, 64ul>&, unsigned long, DB::SetVariantsTemplate&) const @ 0x000000003eb7680d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/DistinctTransform.cpp:92: DB::DistinctTransform::transform(DB::Chunk&) @ 0x000000003eb6f067 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:07.617794 [ 4303 ] {1d711e4d-bcc2-4369-b24e-82a86efa627c} executeQuery: Code: 190. DB::Exception: Elements 'NestedColumn.ID' and 'NestedColumn.Count' of Nested data structure 'NestedColumn' (Array columns) have different array sizes. (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49934) (comment: 00698_validate_array_sizes_for_nested_kshvakov.sql) (in query: INSERT INTO Issue_2231_Invalid_Nested_Columns_Size VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String const&, String const&, String&) @ 0x0000000036ddc4be in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/NestedUtils.cpp:257: DB::Nested::validateArraySizes(DB::Block const&) @ 0x0000000036dd55ef in /usr/bin/clickhouse 4. ./build_docker/./src/Core/Block.h:25: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4bfd4 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:09.066976 [ 4340 ] {32910bf9-51a2-4ad5-8da0-a31abc56ca06} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.86 GiB (attempt to allocate chunk of 536870912 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: while executing 'FUNCTION arrayAll(__lambda :: 1, ParsedParams.Key1 : 0) -> arrayAll(lambda(tuple(y), arrayExists(lambda(tuple(x), notEquals(y, x)), ParsedParams.Key1)), ParsedParams.Key1) UInt8 : 2'. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786402 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:165: DB::ColumnArray::replicateString(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000003ac922f2 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnArray.cpp:0: DB::ColumnArray::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000003ac903d5 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnFunction.cpp:0: DB::ColumnFunction::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000003b0b0e57 in /usr/bin/clickhouse 12. DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001db21960 in /usr/bin/clickhouse 13. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000003eb9657e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000003eb960a4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:09.067031 [ 4137 ] {98691c2a-ffd6-42c1-a55a-7e820dc409d3} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53682) (comment: 01396_inactive_replica_cleanup_nodes_zookeeper.sh) (in query: INSERT INTO r1 SELECT * FROM numbers_mt(5000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d93ef51 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 2026.10.27 19:16:09.067269 [ 2291 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::QueryViewsLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.69 GiB (attempt to allocate chunk of 4203262 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a439833 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a436b02 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2b487 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:11.353895 [ 3827 ] {a7fdc8f6-d81f-48b1-91c6-de5993b34fa5} executeQuery: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33836) (comment: 02540_duplicate_primary_key.sql) (in query: CREATE TABLE test (`coverage` DateTime, `haunt` Nullable(Float32) CODEC(Gorilla, ZSTD(1)), `sail` Nullable(Float32) CODEC(Gorilla, ZSTD(1)), `empowerment_turnstile` UInt8, `empowerment_haversack` Nullable(Int16), `empowerment_function` Nullable(Int16), `empowerment_guidance` Nullable(Int32), `empowerment_high` Nullable(Int32), `trading_id` Nullable(Int32), `guidance` Nullable(Int32), `empowerment_rawhide` Int32, `memo` Nullable(Int16), `oeuvre` Nullable(Int16), `bun` Nullable(Int16), `tramp` String, `anthropology_total` Nullable(Float32), `situation_name` String, `timing` Nullable(String), `NAME_cockroach` String, `NAME_toe` String, `business_error_methane` FixedString(110), `business_instrumentation_methane` FixedString(15), `market` UInt8, `crew_memo` Nullable(Int16), `crew_oeuvre` Nullable(Int16), `crew_fortnight` Nullable(Int16), `princess_memo` Nullable(Int16), `princess_oeuvre` Nullable(Int16), `princess_fortnight` Nullable(Int16), `emerald` Nullable(Float32), `cannon_crate` Nullable(String), `thinking` String, `SectorMen` String, `rage_name` Nullable(String), `DevelopmentalLigandName` String, `chard_heavy_quadrant` UInt64, `poster_effective` Nullable(String), PROJECTION chrysalis_trapezium_ham (SELECT empowerment_turnstile, toStartOfInterval(coverage, toIntervalMonth(1)), toStartOfWeek(coverage, 10), toStartOfInterval(coverage, toIntervalDay(1)), NAME_toe, NAME_cockroach, situation_name, memo, oeuvre, crew_memo, crew_oeuvre, bun, sum(multiIf(crew_memo IS NULL, 0, 1)), sum(multiIf(crew_oeuvre IS NULL, 0, 1)), sum(multiIf(crew_fortnight IS NULL, 0, 1)), max(toStartOfInterval(coverage, toIntervalDay(1))), max(CAST(CAST(toStartOfInterval(coverage, toIntervalDay(1)), 'Nullable(DATE)'), 'Nullable(TIMESTAMP)')), min(toStartOfInterval(coverage, toIntervalDay(1))), min(CAST(CAST(toStartOfInterval(coverage, toIntervalDay(1)), 'Nullable(DATE)'), 'Nullable(TIMESTAMP)')), count(), sum(1) GROUP BY empowerment_turnstile, toStartOfInterval(coverage, toIntervalMonth(1)), toStartOfWeek(coverage, 10), toStartOfInterval(coverage, toIntervalDay(1)), empowerment_turnstile, toStartOfInterval(coverage, toIntervalMonth(1)), toStartOfWeek(coverage, 10), toStartOfInterval(coverage, toIntervalDay(1)), NAME_toe, NAME_cockroach, situation_name, memo, oeuvre, crew_memo, crew_oeuvre, bun)) ENGINE = MergeTree PARTITION BY toYYYYMM(coverage) ORDER BY (coverage, situation_name, NAME_toe, NAME_cockroach) SETTINGS index_granularity = 30430, min_bytes_for_wide_part = 84746989, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 543, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 442895, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 945772838, index_granularity_bytes = 14706804, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 74731, primary_key_compress_block_size = 82107), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000003d02bfd7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000003ce347d7 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce2e393 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1116: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce3146c in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce244dd in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: 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) @ 0x000000003d9fbf3b in /usr/bin/clickhouse 8. ./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&) @ 0x000000003d9fa74b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003d9ed120 in /usr/bin/clickhouse 10. ./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&) @ 0x000000003571bd9a in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bbeeb7a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393dacd0 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c260a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 19. ./build_docker/./src/Databases/DatabaseReplicatedWorker.cpp:288: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x00000000371b9fe1 in /usr/bin/clickhouse 20. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x00000000371371dd in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c23a3 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 2026.10.27 19:16:13.955951 [ 4317 ] {11424ca0-7630-41a9-a57b-e61212e790cf} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.63 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47870) (comment: 01192_rename_database_zookeeper.sh) (in query: INSERT INTO test_01192_atomic.mt SELECT number + sleepEachRow(1) + 10 FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:310: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d65271e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 2026.10.27 19:16:15.730442 [ 4406 ] {eb7df7aa-2353-42a8-a20e-2c9c27e696d5} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.63 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47840) (comment: 00906_low_cardinality_cache.sql) (in query: insert into lc_00906 select '0123456789' from numbers(100000000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:289: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d651ad1 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 2026.10.27 19:16:17.193459 [ 3066 ] {7916123e-9f65-44c3-9874-46e9e3f9b637} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.64 GiB (attempt to allocate chunk of 1572864 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60326) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnFixedString.cpp:214: DB::ColumnFixedString::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x000000003b06fbcc in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:44: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003efbe24c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eed0553 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8e96 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:19.274142 [ 4286 ] {cef75452-555e-4df4-8457-cb723bbfebe4} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.64 GiB (attempt to allocate chunk of 1072064 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54084) (comment: 00171_grouping_aggregated_transform_bug.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381cfbe9 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x00000000381cdfe6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x00000000380a3c89 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:3209: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x0000000037e34cbe in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x000000003ec097e4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:19.274638 [ 2758 ] {3c2a1a7a-5cfc-48cf-96dc-5fa47ea14337} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.64 GiB (attempt to allocate chunk of 1670336 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:42538) (comment: 00171_grouping_aggregated_transform_bug.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381cfbe9 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x00000000381cdfe6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x00000000380a3c89 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:3209: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x0000000037e34cbe in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x000000003ec097e4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:20.339628 [ 2479 ] {443a9d31-ad3f-4004-ad69-952c534c1881} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.63 GiB (attempt to allocate chunk of 1072064 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:38802) (comment: 00171_grouping_aggregated_transform_bug.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381cfbe9 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x00000000381cdfe6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x00000000380a3c89 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:3209: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x0000000037e34cbe in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x000000003ec097e4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:20.339822 [ 4359 ] {5399921d-fd96-4628-ba5f-90b433d0d614} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.64 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: Cache info: Buffer path: test/ola/mfsiafyvbxsgrtsgfycrcdgyqezyy, hash key: 7ca04d47270509be2b0bf824c1b62780, file_offset_of_buffer_end: 0, read_until_position: 27, internal buffer end: 27, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 5399921d-fd96-4628-ba5f-90b433d0d614:3397, file segment info: File segment: [0, 26], key: 7ca04d47270509be2b0bf824c1b62780, state: DOWNLOADING, downloaded size: 0, reserved size: 27, downloader id: 5399921d-fd96-4628-ba5f-90b433d0d614:3397, current write offset: 0, caller id: 5399921d-fd96-4628-ba5f-90b433d0d614:3397, kind: Regular, unbound: 0: (while reading column case): (while reading from part /var/lib/clickhouse/disks/s3/store/acd/acda09da-43db-48a8-8810-44d9d644ef09/all_18_18_0/ in table test_7.`.inner_id.52ee8761-d96f-4482-b252-7018aae32a6f` (acda09da-43db-48a8-8810-44d9d644ef09) located on disk s3 of type s3, from mark 0 with max_rows_to_read = 1): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49954) (comment: 01019_alter_materialized_view_consistent.sh) (in query: SELECT countIf(case = 1) > 0 AND countIf(case = 2) > 0 FROM mv;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:20.339971 [ 2289 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::MetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.70 GiB (attempt to allocate chunk of 4194505 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long const*, unsigned long const*) @ 0x000000002089f6cc in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: COWHelper>::clone() const @ 0x000000003b4083a6 in /usr/bin/clickhouse 9. DB::IColumn::mutate(COW::immutable_ptr) @ 0x000000000a9ad52a in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.cpp:0: DB::Block::mutateColumns() @ 0x000000003627dffd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:169: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d1043eb in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3dc813 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3d9902 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c259e7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c258bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:20.339909 [ 3020 ] {18a96bd8-91dc-4857-9a7c-bcbe5bbf2803} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.64 GiB (attempt to allocate chunk of 4160128 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:37686) (comment: 00171_grouping_aggregated_transform_bug.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381cfbe9 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x00000000381cdfe6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x00000000380a3c89 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:3209: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x0000000037e34cbe in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x000000003ec097e4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:20.339922 [ 4309 ] {4168d713-4e57-4f22-8982-9c69178744aa} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.65 GiB (attempt to allocate chunk of 4160128 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:43072) (comment: 00171_grouping_aggregated_transform_bug.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381cfbe9 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x00000000381cdfe6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x00000000380a3c89 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:3209: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x0000000037e34cbe in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x000000003ec097e4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:20.339860 [ 4399 ] {20fd8a14-914b-4529-b49a-dddb2431ce87} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.64 GiB (attempt to allocate chunk of 1072064 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:47040) (comment: 00171_grouping_aggregated_transform_bug.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381cfbe9 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x00000000381cdfe6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x00000000380a3c89 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:3209: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x0000000037e34cbe in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x000000003ec097e4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:20.340421 [ 4343 ] {188a6b6f-d101-423e-aa1c-9faf4a406b83} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.65 GiB (attempt to allocate chunk of 4160128 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:51510) (comment: 00171_grouping_aggregated_transform_bug.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381cfbe9 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x00000000381cdfe6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x00000000380a3c89 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:3209: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x0000000037e34cbe in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x000000003ec097e4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:23.185753 [ 3071 ] {98ee4653-1179-43c2-85fc-109ab46f4508} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.65 GiB (attempt to allocate chunk of 1056768 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:37388) (comment: 00147_global_in_aggregate_function.sql) (in query: SELECT sum(`UserID` GLOBAL IN (`_subquery1`)) FROM `test`.`hits`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002078b7b2 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:521: HashTable, StringRefHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>::alloc(HashTableGrowerWithPrecalculation<8ul> const&) @ 0x000000003bca3a0b in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageInMemoryMetadata.cpp:496: DB::(anonymous namespace)::getColumnsMap(DB::NamesAndTypesList const&) @ 0x000000003bc954e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageInMemoryMetadata.cpp:0: DB::StorageInMemoryMetadata::check(DB::Block const&, bool) const @ 0x000000003bc9fee5 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageMemory.cpp:0: DB::MemorySink::consume(DB::Chunk) @ 0x000000003bdfea14 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x000000003e227c76 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:0: DB::PushingPipelineExecutor::push(DB::Block) @ 0x000000003e227f54 in /usr/bin/clickhouse 22. ./build_docker/./src/Core/Block.h:35: DB::TCPHandler::receiveData(bool) @ 0x000000003e0cc315 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:1477: DB::TCPHandler::receivePacket() @ 0x000000003e0a52b6 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:795: DB::TCPHandler::readDataNext() @ 0x000000003e0add82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:811: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x000000003e0d5ae8 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x00000000378e0e5d in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a97fb59 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 2026.10.27 19:16:24.311816 [ 4305 ] {ff0c2998-8c89-4217-a542-2d18a4b1667b} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.65 GiB (attempt to allocate chunk of 1179648 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58344) (comment: 00169_contingency.sql) (in query: WITH URLDomain AS a, RefererDomain AS b SELECT round(cramersV(a, b), 2), round(cramersVBiasCorrected(a, b), 2), round(theilsU(a, b), 2), round(theilsU(b, a), 2), round(contingency(a, b), 2) FROM test.hits;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/Allocator.h:0: HashTable, TrivialHash, HashTableGrower<4ul>, AllocatorWithStackMemory, 384ul, 1ul>>::resize(unsigned long, unsigned long) @ 0x0000000029dcd73e in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/HashTable.h:0: DB::CrossTabData::merge(DB::CrossTabData const&) @ 0x0000000029dd0dc0 in /usr/bin/clickhouse 11. ./build_docker/./src/AggregateFunctions/CrossTab.h:155: DB::AggregateFunctionCrossTab::merge(char*, char const*, DB::Arena*) const @ 0x0000000029ddee8f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::mergeWithoutKeyDataImpl(std::vector, std::allocator>>&) const @ 0x0000000037de7910 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::ConvertingAggregatedToChunksTransform::initialize() @ 0x000000003eb13870 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000003eb0cc52 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:25.397786 [ 1850 ] {cd2a4972-7ba5-498c-9f9e-138bda684f93} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.65 GiB (attempt to allocate chunk of 2424832 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49576) (comment: 00159_parallel_formatting_csv_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c Format CSV), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/memcpySmall.h:40: DB::ColumnFixedString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b06a248 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:44: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003efbe15d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eed0553 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8e96 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:25.397886 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.65 GiB (attempt to allocate chunk of 4955425 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:25.398024 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.50 GiB (attempt to allocate chunk of 5047057 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:25.398167 [ 2290 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TraceLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.50 GiB (attempt to allocate chunk of 4843201 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IMergeTreeDataPart.cpp:138: DB::IMergeTreeDataPart::MinMaxIndex::store(std::vector> const&, std::vector, std::allocator>> const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003cc2a292 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::IMergeTreeDataPart::MinMaxIndex::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003cc28e2e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64f047 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:25.398281 [ 2350 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::AsynchronousMetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 4551226 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3b72d3 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3b47b2 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c23847 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:25.398169 [ 5687 ] {9d49d376-395f-41e6-9913-b7114420ae94} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1142742 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48138) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:243: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64f8b5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 2026.10.27 19:16:25.398923 [ 6121 ] {f6d1b272-5dc8-4923-a42a-389e934e7152} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48194) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 2026.10.27 19:16:25.398963 [ 6123 ] {f7ce58d1-4e16-488a-a10b-ded2270b9d5c} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1050750 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48200) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:72: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d12504a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 15. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 2026.10.27 19:16:25.399181 [ 6141 ] {93f21555-6734-4e89-89a7-45db66b2ddde} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48280) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 2026.10.27 19:16:27.438621 [ 2828 ] {0c08983b-3979-4257-97a7-ce839334a1ed} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1171456 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:59010) (comment: 00147_global_in_aggregate_function.sql) (in query: SELECT sum(`UserID` GLOBAL IN (`_subquery1`)) FROM `test`.`hits`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f83ca7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000003e149fb4 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::NativeReader::read() @ 0x000000003e14e5f5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::TCPHandler::receiveData(bool) @ 0x000000003e0cafba in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:1477: DB::TCPHandler::receivePacket() @ 0x000000003e0a52b6 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:795: DB::TCPHandler::readDataNext() @ 0x000000003e0add82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:811: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x000000003e0d5ae8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x00000000378e0e5d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a97fb59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:27.439125 [ 4497 ] {0463f29a-d1db-4a61-9651-ec7a36ade6aa} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 1054909 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47894) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d125558 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 2026.10.27 19:16:27.439308 [ 2549 ] {930a713f-975b-47b6-b342-ccd5259673b8} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1054909 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48074) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d125558 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 2026.10.27 19:16:27.439442 [ 4455 ] {737972ed-1623-4154-afb3-961057531b51} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47984) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:269: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d650d45 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 2026.10.27 19:16:27.439315 [ 5707 ] {be45b94e-2455-44a0-a564-4e7a35266baf} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48152) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 2026.10.27 19:16:27.439888 [ 4488 ] {a0562549-2c65-406d-b069-58a9ce525ccb} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.51 GiB (attempt to allocate chunk of 1050750 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48296) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:72: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d12504a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 15. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 2026.10.27 19:16:27.439905 [ 3817 ] {c273de31-d531-4707-886f-af896731baa4} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.51 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48028) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 2026.10.27 19:16:27.439988 [ 5705 ] {6a46bb98-7c95-4583-a57c-ce21b366b258} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.51 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48340) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 2026.10.27 19:16:27.440573 [ 4287 ] {e983d6ee-44ae-4db1-ac75-d75288edbeca} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.52 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48118) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 2026.10.27 19:16:29.053391 [ 2349 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::SessionLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 4909308 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:29.053420 [ 4374 ] {a3418b6e-2fd5-4d59-8a51-a62fd208d5ba} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:29.053983 [ 5712 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.70 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:29.054128 [ 4278 ] {b5ec0d6b-4a1f-43be-9367-838bfce1bb67} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.51 GiB (attempt to allocate chunk of 1134487 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48132) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 2026.10.27 19:16:29.054191 [ 2231 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {6e5587ee-ed65-44ef-957a-043ec90bb617::all_130_134_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.73 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeFromLogEntryTask.h:36: DB::MergeFromLogEntryTask::executeInnerTask() @ 0x000000003cd90206 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000003d79ff82 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:29.054667 [ 4462 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.70 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:29.054627 [ 6153 ] {eea5db7d-53d7-494f-8ce7-81dd04575580} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.59 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48316) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 2026.10.27 19:16:29.054789 [ 5708 ] {6c589a23-1ac1-494f-b0f2-1c7278e2457b} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.59 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47972) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:281: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d6516b7 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 2026.10.27 19:16:29.054898 [ 4137 ] {98691c2a-ffd6-42c1-a55a-7e820dc409d3} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d93ef51 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 2026.10.27 19:16:29.054781 [ 4303 ] {1d711e4d-bcc2-4369-b24e-82a86efa627c} TCPHandler: Code: 190. DB::Exception: Elements 'NestedColumn.ID' and 'NestedColumn.Count' of Nested data structure 'NestedColumn' (Array columns) have different array sizes. (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String const&, String const&, String&) @ 0x0000000036ddc4be in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/NestedUtils.cpp:257: DB::Nested::validateArraySizes(DB::Block const&) @ 0x0000000036dd55ef in /usr/bin/clickhouse 4. ./build_docker/./src/Core/Block.h:25: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4bfd4 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:29.055085 [ 4317 ] {11424ca0-7630-41a9-a57b-e61212e790cf} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.63 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:310: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d65271e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 2026.10.27 19:16:29.055253 [ 3066 ] {7916123e-9f65-44c3-9874-46e9e3f9b637} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.64 GiB (attempt to allocate chunk of 1572864 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnFixedString.cpp:214: DB::ColumnFixedString::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x000000003b06fbcc in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:44: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003efbe24c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eed0553 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8e96 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:29.054723 [ 2656 ] {41277aac-ecc7-4d9a-bf7f-ddec219124d9} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.59 GiB (attempt to allocate chunk of 1050750 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48058) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:72: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d12504a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 15. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 2026.10.27 19:16:29.055467 [ 4286 ] {cef75452-555e-4df4-8457-cb723bbfebe4} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.64 GiB (attempt to allocate chunk of 1072064 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381cfbe9 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x00000000381cdfe6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x00000000380a3c89 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:3209: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x0000000037e34cbe in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x000000003ec097e4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:29.055572 [ 2758 ] {3c2a1a7a-5cfc-48cf-96dc-5fa47ea14337} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.64 GiB (attempt to allocate chunk of 1670336 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381cfbe9 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x00000000381cdfe6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x00000000380a3c89 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:3209: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x0000000037e34cbe in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x000000003ec097e4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:29.054624 [ 4518 ] {d31b429f-9197-4147-ae36-9798eb721fdc} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.58 GiB (attempt to allocate chunk of 1134487 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48278) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 2026.10.27 19:16:29.055305 [ 2243 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.68 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::WriteBufferFromTemporaryFile::WriteBufferFromTemporaryFile(std::unique_ptr>&&) @ 0x0000000037253f84 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::TemporaryDataOnDisk::createRawStream(unsigned long) @ 0x000000003a63c2f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:296: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cda7825 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:29.054684 [ 3070 ] {eab84b56-9b1a-456e-a3ff-3e445a7a56f6} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.58 GiB (attempt to allocate chunk of 2693641 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. DB::PODArray, 4096ul, Allocator, 63ul, 64ul>::resize_fill(unsigned long) @ 0x000000001cc71102 in /usr/bin/clickhouse 10. void DB::packFixedBatch>(unsigned long, std::vector> const&, std::vector> const&, DB::PODArray, 4096ul, Allocator, 63ul, 64ul>&) @ 0x000000001f66e8c2 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/ColumnsHashing.h:622: DB::ColumnsHashing::HashMethodKeysFixed, wide::integer<128ul, unsigned int>, void, false, false, true, false>::HashMethodKeysFixed(std::vector> const&, std::vector> const&, std::shared_ptr const&) @ 0x000000003a23a3d0 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/DistinctTransform.cpp:0: void DB::DistinctTransform::buildFilter, HashTableCell, UInt128HashCRC32, HashTableNoState>, UInt128HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, false>>(DB::SetMethodKeysFixed, HashTableCell, UInt128HashCRC32, HashTableNoState>, UInt128HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, false>&, std::vector> const&, DB::PODArray, 63ul, 64ul>&, unsigned long, DB::SetVariantsTemplate&) const @ 0x000000003eb7680d in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/DistinctTransform.cpp:92: DB::DistinctTransform::transform(DB::Chunk&) @ 0x000000003eb6f067 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:29.056545 [ 2479 ] {443a9d31-ad3f-4004-ad69-952c534c1881} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.63 GiB (attempt to allocate chunk of 1072064 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381cfbe9 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x00000000381cdfe6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x00000000380a3c89 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:3209: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x0000000037e34cbe in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x000000003ec097e4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:29.057037 [ 2241 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_6_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.69 GiB (attempt to allocate chunk of 1049535 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:29.057158 [ 4278 ] {b5ec0d6b-4a1f-43be-9367-838bfce1bb67} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.51 GiB (attempt to allocate chunk of 1134487 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 2026.10.27 19:16:29.057489 [ 4309 ] {4168d713-4e57-4f22-8982-9c69178744aa} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.65 GiB (attempt to allocate chunk of 4160128 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381cfbe9 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x00000000381cdfe6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x00000000380a3c89 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:3209: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x0000000037e34cbe in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x000000003ec097e4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:29.054901 [ 3827 ] {a7fdc8f6-d81f-48b1-91c6-de5993b34fa5} TCPHandler: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000003d02bfd7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000003ce347d7 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce2e393 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1116: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000003ce3146c in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000003ce244dd in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: 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) @ 0x000000003d9fbf3b in /usr/bin/clickhouse 8. ./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&) @ 0x000000003d9fa74b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003d9ed120 in /usr/bin/clickhouse 10. ./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&) @ 0x000000003571bd9a in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bbeeb7a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393dacd0 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c260a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 19. ./build_docker/./src/Databases/DatabaseReplicatedWorker.cpp:288: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x00000000371b9fe1 in /usr/bin/clickhouse 20. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x00000000371371dd in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c23a3 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 2026.10.27 19:16:29.055167 [ 4406 ] {eb7df7aa-2353-42a8-a20e-2c9c27e696d5} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.63 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:289: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d651ad1 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 2026.10.27 19:16:29.058247 [ 4399 ] {20fd8a14-914b-4529-b49a-dddb2431ce87} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.64 GiB (attempt to allocate chunk of 1072064 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381cfbe9 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x00000000381cdfe6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x00000000380a3c89 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:3209: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x0000000037e34cbe in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x000000003ec097e4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:29.058321 [ 3020 ] {18a96bd8-91dc-4857-9a7c-bcbe5bbf2803} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.64 GiB (attempt to allocate chunk of 4160128 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381cfbe9 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x00000000381cdfe6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x00000000380a3c89 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:3209: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x0000000037e34cbe in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x000000003ec097e4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:29.058390 [ 3071 ] {98ee4653-1179-43c2-85fc-109ab46f4508} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.65 GiB (attempt to allocate chunk of 1056768 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002078b7b2 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:521: HashTable, StringRefHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>::alloc(HashTableGrowerWithPrecalculation<8ul> const&) @ 0x000000003bca3a0b in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageInMemoryMetadata.cpp:496: DB::(anonymous namespace)::getColumnsMap(DB::NamesAndTypesList const&) @ 0x000000003bc954e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageInMemoryMetadata.cpp:0: DB::StorageInMemoryMetadata::check(DB::Block const&, bool) const @ 0x000000003bc9fee5 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageMemory.cpp:0: DB::MemorySink::consume(DB::Chunk) @ 0x000000003bdfea14 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x000000003e227c76 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:0: DB::PushingPipelineExecutor::push(DB::Block) @ 0x000000003e227f54 in /usr/bin/clickhouse 22. ./build_docker/./src/Core/Block.h:35: DB::TCPHandler::receiveData(bool) @ 0x000000003e0cc315 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:1477: DB::TCPHandler::receivePacket() @ 0x000000003e0a52b6 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:795: DB::TCPHandler::readDataNext() @ 0x000000003e0add82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:811: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x000000003e0d5ae8 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x00000000378e0e5d in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a97fb59 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 2026.10.27 19:16:29.054789 [ 4349 ] {57ba5951-2790-4fbe-978c-457918a37242} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.59 GiB (attempt to allocate chunk of 1134487 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47976) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 2026.10.27 19:16:29.056375 [ 4343 ] {188a6b6f-d101-423e-aa1c-9faf4a406b83} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.65 GiB (attempt to allocate chunk of 4160128 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381cfbe9 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x00000000381cdfe6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x00000000380a3c89 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:3209: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x0000000037e34cbe in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x000000003ec097e4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:29.058456 [ 6121 ] {f6d1b272-5dc8-4923-a42a-389e934e7152} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 2026.10.27 19:16:29.058559 [ 6141 ] {93f21555-6734-4e89-89a7-45db66b2ddde} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 2026.10.27 19:16:29.056000 [ 4359 ] {5399921d-fd96-4628-ba5f-90b433d0d614} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.64 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: Cache info: Buffer path: test/ola/mfsiafyvbxsgrtsgfycrcdgyqezyy, hash key: 7ca04d47270509be2b0bf824c1b62780, file_offset_of_buffer_end: 0, read_until_position: 27, internal buffer end: 27, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 5399921d-fd96-4628-ba5f-90b433d0d614:3397, file segment info: File segment: [0, 26], key: 7ca04d47270509be2b0bf824c1b62780, state: DOWNLOADING, downloaded size: 0, reserved size: 27, downloader id: 5399921d-fd96-4628-ba5f-90b433d0d614:3397, current write offset: 0, caller id: 5399921d-fd96-4628-ba5f-90b433d0d614:3397, kind: Regular, unbound: 0: (while reading column case): (while reading from part /var/lib/clickhouse/disks/s3/store/acd/acda09da-43db-48a8-8810-44d9d644ef09/all_18_18_0/ in table test_7.`.inner_id.52ee8761-d96f-4482-b252-7018aae32a6f` (acda09da-43db-48a8-8810-44d9d644ef09) located on disk s3 of type s3, from mark 0 with max_rows_to_read = 1): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:29.064257 [ 5687 ] {9d49d376-395f-41e6-9913-b7114420ae94} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1142742 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:243: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64f8b5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 2026.10.27 19:16:29.084969 [ 4455 ] {737972ed-1623-4154-afb3-961057531b51} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:269: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d650d45 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 2026.10.27 19:16:29.085029 [ 5707 ] {be45b94e-2455-44a0-a564-4e7a35266baf} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 2026.10.27 19:16:29.085195 [ 4497 ] {0463f29a-d1db-4a61-9651-ec7a36ade6aa} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 1054909 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d125558 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 2026.10.27 19:16:29.085261 [ 2549 ] {930a713f-975b-47b6-b342-ccd5259673b8} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1054909 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d125558 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 2026.10.27 19:16:29.085317 [ 4287 ] {e983d6ee-44ae-4db1-ac75-d75288edbeca} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.52 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 2026.10.27 19:16:29.085324 [ 5705 ] {6a46bb98-7c95-4583-a57c-ce21b366b258} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.51 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 2026.10.27 19:16:29.093789 [ 2238 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78f638d5-1538-4f74-a202-7a1eb8a2fda0::202610_1_10_2}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.71 GiB (attempt to allocate chunk of 1051207 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:29.093835 [ 3817 ] {c273de31-d531-4707-886f-af896731baa4} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.51 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 2026.10.27 19:16:29.094418 [ 4518 ] {d31b429f-9197-4147-ae36-9798eb721fdc} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.58 GiB (attempt to allocate chunk of 1134487 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 2026.10.27 19:16:29.096348 [ 6123 ] {f7ce58d1-4e16-488a-a10b-ded2270b9d5c} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1050750 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:72: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d12504a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 15. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 2026.10.27 19:16:29.096501 [ 2656 ] {41277aac-ecc7-4d9a-bf7f-ddec219124d9} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.59 GiB (attempt to allocate chunk of 1050750 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:72: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d12504a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 15. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 2026.10.27 19:16:29.096544 [ 5708 ] {6c589a23-1ac1-494f-b0f2-1c7278e2457b} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.59 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:281: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d6516b7 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 2026.10.27 19:16:29.096754 [ 6153 ] {eea5db7d-53d7-494f-8ce7-81dd04575580} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.59 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 2026.10.27 19:16:29.098011 [ 4305 ] {ff0c2998-8c89-4217-a542-2d18a4b1667b} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.65 GiB (attempt to allocate chunk of 1179648 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/Allocator.h:0: HashTable, TrivialHash, HashTableGrower<4ul>, AllocatorWithStackMemory, 384ul, 1ul>>::resize(unsigned long, unsigned long) @ 0x0000000029dcd73e in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/HashTable.h:0: DB::CrossTabData::merge(DB::CrossTabData const&) @ 0x0000000029dd0dc0 in /usr/bin/clickhouse 11. ./build_docker/./src/AggregateFunctions/CrossTab.h:155: DB::AggregateFunctionCrossTab::merge(char*, char const*, DB::Arena*) const @ 0x0000000029ddee8f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::mergeWithoutKeyDataImpl(std::vector, std::allocator>>&) const @ 0x0000000037de7910 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::ConvertingAggregatedToChunksTransform::initialize() @ 0x000000003eb13870 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000003eb0cc52 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:29.098864 [ 2244 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_1_11_2}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.71 GiB (attempt to allocate chunk of 1102815 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:29.136091 [ 1850 ] {cd2a4972-7ba5-498c-9f9e-138bda684f93} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.65 GiB (attempt to allocate chunk of 2424832 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/memcpySmall.h:40: DB::ColumnFixedString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b06a248 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:44: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003efbe15d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eed0553 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8e96 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:29.136096 [ 4488 ] {a0562549-2c65-406d-b069-58a9ce525ccb} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.51 GiB (attempt to allocate chunk of 1050750 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:72: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d12504a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 15. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 2026.10.27 19:16:29.141259 [ 2828 ] {0c08983b-3979-4257-97a7-ce839334a1ed} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1171456 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f83ca7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000003e149fb4 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::NativeReader::read() @ 0x000000003e14e5f5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::TCPHandler::receiveData(bool) @ 0x000000003e0cafba in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:1477: DB::TCPHandler::receivePacket() @ 0x000000003e0a52b6 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:795: DB::TCPHandler::readDataNext() @ 0x000000003e0add82 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:811: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x000000003e0d5ae8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x00000000378e0e5d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a97fb59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:29.172905 [ 6137 ] {59043db3-7fd3-4198-b9b5-929a7559ad5f} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.58 GiB (attempt to allocate chunk of 1134487 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48270) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 2026.10.27 19:16:29.179107 [ 4279 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.70 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:29.182759 [ 6137 ] {59043db3-7fd3-4198-b9b5-929a7559ad5f} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.58 GiB (attempt to allocate chunk of 1134487 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 2026.10.27 19:16:29.183946 [ 4349 ] {57ba5951-2790-4fbe-978c-457918a37242} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.59 GiB (attempt to allocate chunk of 1134487 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while pushing to view test_7.mv (52ee8761-d96f-4482-b252-7018aae32a6f). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 2026.10.27 19:16:29.204438 [ 2891 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.70 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:29.204778 [ 2485 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.70 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:29.205020 [ 4299 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.66 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:29.233871 [ 5683 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.66 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:29.810181 [ 4299 ] {5888f12a-b814-4a75-9f03-02b15499ab56} executeQuery: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38186) (comment: 03142_untuple_crash.sql) (in query: SET allow_experimental_analyzer=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:29.810233 [ 4272 ] {332730e4-138d-478f-8d25-d81b7c3aca77} executeQuery: Code: 241. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Memory limit (total) exceeded: would use 15.64 GiB (attempt to allocate chunk of 1670336 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381cfbe9 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x00000000381cdfe6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x00000000380a3c89 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:3209: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x0000000037e34cbe in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x000000003ec097e4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? : While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49628) (comment: 00171_grouping_aggregated_transform_bug.sql) (in query: SELECT sum(cityHash64(*)) FROM (SELECT CounterID, quantileTiming(0.5)(SendTiming), count() FROM remote('127.0.0.{1,2,3,4,5,6,7,8,9,10}', test.hits) WHERE SendTiming != -1 GROUP BY CounterID) SETTINGS max_block_size = 63169;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a79c9a8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000002099cb18 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd5bd3f in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd76bb8 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de3c566 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036aa4c1c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036aa43c2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036aa3bd6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036aa1852 in /usr/bin/clickhouse 2026.10.27 19:16:29.810781 [ 2890 ] {8f76d00c-829a-4732-a7ca-c0ba583117d6} executeQuery: Code: 241. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: Memory limit (total) exceeded: would use 15.65 GiB (attempt to allocate chunk of 1056768 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002078b7b2 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:521: HashTable, StringRefHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>::alloc(HashTableGrowerWithPrecalculation<8ul> const&) @ 0x000000003bca3a0b in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageInMemoryMetadata.cpp:496: DB::(anonymous namespace)::getColumnsMap(DB::NamesAndTypesList const&) @ 0x000000003bc954e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageInMemoryMetadata.cpp:0: DB::StorageInMemoryMetadata::check(DB::Block const&, bool) const @ 0x000000003bc9fee5 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageMemory.cpp:0: DB::MemorySink::consume(DB::Chunk) @ 0x000000003bdfea14 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x000000003e227c76 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:0: DB::PushingPipelineExecutor::push(DB::Block) @ 0x000000003e227f54 in /usr/bin/clickhouse 22. ./build_docker/./src/Core/Block.h:35: DB::TCPHandler::receiveData(bool) @ 0x000000003e0cc315 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:1477: DB::TCPHandler::receivePacket() @ 0x000000003e0a52b6 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:795: DB::TCPHandler::readDataNext() @ 0x000000003e0add82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:811: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x000000003e0d5ae8 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x00000000378e0e5d in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a97fb59 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse : While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39654) (comment: 00147_global_in_aggregate_function.sql) (in query: SELECT sum(UserID GLOBAL IN (SELECT UserID FROM remote('127.0.0.{1,2}', test.hits))) FROM remote('127.0.0.{1,2}', test.hits);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a79c9a8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000002099cb18 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd5bd3f in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd76bb8 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de3c566 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036aa4c1c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036aa43c2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036aa3bd6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036aa1852 in /usr/bin/clickhouse 2026.10.27 19:16:29.811175 [ 5685 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.65 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:29.816757 [ 4299 ] {5888f12a-b814-4a75-9f03-02b15499ab56} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:29.909921 [ 2890 ] {8f76d00c-829a-4732-a7ca-c0ba583117d6} TCPHandler: Code: 241. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: Memory limit (total) exceeded: would use 15.65 GiB (attempt to allocate chunk of 1056768 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002078b7b2 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:521: HashTable, StringRefHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>::alloc(HashTableGrowerWithPrecalculation<8ul> const&) @ 0x000000003bca3a0b in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageInMemoryMetadata.cpp:496: DB::(anonymous namespace)::getColumnsMap(DB::NamesAndTypesList const&) @ 0x000000003bc954e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageInMemoryMetadata.cpp:0: DB::StorageInMemoryMetadata::check(DB::Block const&, bool) const @ 0x000000003bc9fee5 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageMemory.cpp:0: DB::MemorySink::consume(DB::Chunk) @ 0x000000003bdfea14 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x000000003e227c76 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:0: DB::PushingPipelineExecutor::push(DB::Block) @ 0x000000003e227f54 in /usr/bin/clickhouse 22. ./build_docker/./src/Core/Block.h:35: DB::TCPHandler::receiveData(bool) @ 0x000000003e0cc315 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:1477: DB::TCPHandler::receivePacket() @ 0x000000003e0a52b6 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:795: DB::TCPHandler::readDataNext() @ 0x000000003e0add82 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:811: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x000000003e0d5ae8 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x00000000378e0e5d in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a97fb59 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse : While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a79c9a8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000002099cb18 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd5bd3f in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd76bb8 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de3c566 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036aa4c1c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036aa43c2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036aa3bd6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036aa1852 in /usr/bin/clickhouse 2026.10.27 19:16:33.893304 [ 4406 ] {cd39f3e2-84fa-4758-94c5-90dd302d845c} executeQuery: Code: 43. DB::Exception: Illegal type UInt8 of first argument of function IPv6CIDRToRange, expected IPv6 or FixedString(16): While processing IPv6CIDRToRange(1, 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38686) (comment: 00938_ipv6_cidr_range.sql) (in query: SELECT IPv6CIDRToRange(1, 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long const&) @ 0x000000000a98b35a in /usr/bin/clickhouse 3. DB::FunctionIPv6CIDRToRange::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a98a862 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:16:34.193728 [ 2856 ] {9f58e24e-e334-4ae1-be1b-10eae4b871e0} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.373550802 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:58998) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:34.196926 [ 2671 ] {f92387f7-373e-4e8d-9fa8-07710407f294} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.403120603 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:49038) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:34.274359 [ 3066 ] {ea7bea81-5cb5-4893-a296-aa04bc424037} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.6014219 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38704) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:34.274356 [ 4406 ] {cd39f3e2-84fa-4758-94c5-90dd302d845c} TCPHandler: Code: 43. DB::Exception: Illegal type UInt8 of first argument of function IPv6CIDRToRange, expected IPv6 or FixedString(16): While processing IPv6CIDRToRange(1, 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long const&) @ 0x000000000a98b35a in /usr/bin/clickhouse 3. DB::FunctionIPv6CIDRToRange::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a98a862 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:16:34.275889 [ 2671 ] {f92387f7-373e-4e8d-9fa8-07710407f294} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.403120603 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:34.275891 [ 2856 ] {9f58e24e-e334-4ae1-be1b-10eae4b871e0} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.373550802 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:35.467753 [ 4272 ] {332730e4-138d-478f-8d25-d81b7c3aca77} TCPHandler: Code: 241. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Memory limit (total) exceeded: would use 15.64 GiB (attempt to allocate chunk of 1670336 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x00000000381cfbe9 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x00000000381cdfe6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x00000000380a3c89 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:3209: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x0000000037e34cbe in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x000000003ec097e4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? : While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a79c9a8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000002099cb18 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd5bd3f in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd76bb8 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de3c566 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036aa4c1c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036aa43c2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036aa3bd6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036aa1852 in /usr/bin/clickhouse 2026.10.27 19:16:35.473021 [ 2549 ] {ea5d4b12-e530-4b8e-bbf1-e4154828fa3c} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 20.00 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 9.31 GiB: (while reading column UserID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_8_16_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 26 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38200) (comment: 00037_uniq_state_merge1.sql) (in query: SELECT k, any(u) AS u, uniqMerge(us) AS us FROM (SELECT domain(URL) AS k, uniq(UserID) AS u, uniqState(UserID) AS us FROM test.hits GROUP BY k) GROUP BY k ORDER BY u DESC, k ASC LIMIT 100 ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:45: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770de9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 17. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c526 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 2026.10.27 19:16:35.950396 [ 2856 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:58998). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:35.950524 [ 3066 ] {ea7bea81-5cb5-4893-a296-aa04bc424037} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.6014219 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:35.950592 [ 4406 ] {d2afaa6d-aeed-476c-91db-a09caa664ff1} executeQuery: Code: 43. DB::Exception: Illegal type String of first argument of function IPv6CIDRToRange, expected IPv6 or FixedString(16): While processing IPv6CIDRToRange('1234', 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38686) (comment: 00938_ipv6_cidr_range.sql) (in query: SELECT IPv6CIDRToRange('1234', 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long const&) @ 0x000000000a98b35a in /usr/bin/clickhouse 3. DB::FunctionIPv6CIDRToRange::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a98a862 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:16:35.957446 [ 2671 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:49038). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:35.961633 [ 4406 ] {d2afaa6d-aeed-476c-91db-a09caa664ff1} TCPHandler: Code: 43. DB::Exception: Illegal type String of first argument of function IPv6CIDRToRange, expected IPv6 or FixedString(16): While processing IPv6CIDRToRange('1234', 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long const&) @ 0x000000000a98b35a in /usr/bin/clickhouse 3. DB::FunctionIPv6CIDRToRange::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a98a862 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:16:36.114518 [ 4406 ] {dcd55b1a-3a63-45c4-9e79-112217394fc2} executeQuery: Code: 43. DB::Exception: Illegal type FixedString(10) of first argument of function IPv6CIDRToRange, expected IPv6 or FixedString(16): While processing IPv6CIDRToRange(toFixedString('1234', 10), 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38686) (comment: 00938_ipv6_cidr_range.sql) (in query: SELECT IPv6CIDRToRange(toFixedString('1234', 10), 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long const&) @ 0x000000000a98b35a in /usr/bin/clickhouse 3. DB::FunctionIPv6CIDRToRange::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a98a862 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:16:36.120614 [ 4406 ] {dcd55b1a-3a63-45c4-9e79-112217394fc2} TCPHandler: Code: 43. DB::Exception: Illegal type FixedString(10) of first argument of function IPv6CIDRToRange, expected IPv6 or FixedString(16): While processing IPv6CIDRToRange(toFixedString('1234', 10), 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long const&) @ 0x000000000a98b35a in /usr/bin/clickhouse 3. DB::FunctionIPv6CIDRToRange::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a98a862 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:16:37.597218 [ 4406 ] {ef31014b-ec1b-4576-b377-b12ac734d2ae} executeQuery: Code: 43. DB::Exception: Illegal type UInt16 of second argument of function IPv6CIDRToRange, expected UInt8: While processing IPv6CIDRToRange(toFixedString('1234', 16), toUInt16(1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38686) (comment: 00938_ipv6_cidr_range.sql) (in query: SELECT IPv6CIDRToRange(toFixedString('1234', 16), toUInt16(1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. DB::FunctionIPv6CIDRToRange::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a98a6f6 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:16:37.610195 [ 4279 ] {8e6dbeda-0696-48d5-a388-a75c3a10788b} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.114945173 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60398) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:37.617354 [ 4406 ] {ef31014b-ec1b-4576-b377-b12ac734d2ae} TCPHandler: Code: 43. DB::Exception: Illegal type UInt16 of second argument of function IPv6CIDRToRange, expected UInt8: While processing IPv6CIDRToRange(toFixedString('1234', 16), toUInt16(1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. DB::FunctionIPv6CIDRToRange::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a98a6f6 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:16:37.833482 [ 4279 ] {8e6dbeda-0696-48d5-a388-a75c3a10788b} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.114945173 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:38.707196 [ 2549 ] {ea5d4b12-e530-4b8e-bbf1-e4154828fa3c} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 20.00 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 9.31 GiB: (while reading column UserID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_8_16_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 26 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:45: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770de9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 17. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c526 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 2026.10.27 19:16:38.732597 [ 4299 ] {e2293d8c-2798-4a7e-8fed-ec689e9587bb} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.890577763 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36012) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:38.813967 [ 6153 ] {e48de740-8180-43f1-be4e-6ba0b54e6eac} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.862235116 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:44600) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:38.822003 [ 4340 ] {f596a449-8d5f-4e29-b7af-79b80a6a5ac7} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.957443528 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60516) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:39.427777 [ 4279 ] {4ec44334-1b40-4fa6-92a0-2954843adca9} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.134316568 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60444) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:39.721876 [ 4279 ] {4ec44334-1b40-4fa6-92a0-2954843adca9} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.134316568 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:39.833879 [ 4299 ] {e2293d8c-2798-4a7e-8fed-ec689e9587bb} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.890577763 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:39.849006 [ 4340 ] {f596a449-8d5f-4e29-b7af-79b80a6a5ac7} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.957443528 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:39.882976 [ 4299 ] {e2293d8c-2798-4a7e-8fed-ec689e9587bb} TCPHandler: Client has gone away. 2026.10.27 19:16:39.901481 [ 4340 ] {f596a449-8d5f-4e29-b7af-79b80a6a5ac7} TCPHandler: Client has gone away. 2026.10.27 19:16:40.509397 [ 2758 ] {e33c74c4-6c58-4303-9704-94e0ec82e2d1} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.160012096 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36028) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:40.511250 [ 4518 ] {a40af7c1-1e13-4ee4-8361-c827948a0143} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.092011386 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60518) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:41.006502 [ 6153 ] {e48de740-8180-43f1-be4e-6ba0b54e6eac} 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]:44600). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:41.011568 [ 6153 ] {e48de740-8180-43f1-be4e-6ba0b54e6eac} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.862235116 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:41.056748 [ 6153 ] {e48de740-8180-43f1-be4e-6ba0b54e6eac} TCPHandler: Client has gone away. 2026.10.27 19:16:41.154800 [ 2758 ] {e33c74c4-6c58-4303-9704-94e0ec82e2d1} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.160012096 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:41.179861 [ 2758 ] {e33c74c4-6c58-4303-9704-94e0ec82e2d1} TCPHandler: Client has gone away. 2026.10.27 19:16:41.230106 [ 4518 ] {a40af7c1-1e13-4ee4-8361-c827948a0143} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.092011386 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:41.276785 [ 4518 ] {a40af7c1-1e13-4ee4-8361-c827948a0143} TCPHandler: Client has gone away. 2026.10.27 19:16:41.310406 [ 4402 ] {3571c291-d805-4726-a9b7-104ec1021461} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.164012137 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:38064) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:41.359593 [ 4340 ] {6d1639c5-c8d1-496d-9ad0-c0e6e19c2f83} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.157763848 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60484) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:41.395158 [ 4286 ] {461873e0-26b4-4b11-b1c5-e62c435e2f00} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.048010928 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:44616) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:41.629540 [ 4340 ] {6d1639c5-c8d1-496d-9ad0-c0e6e19c2f83} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.157763848 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:41.915367 [ 4402 ] {3571c291-d805-4726-a9b7-104ec1021461} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.164012137 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:41.956245 [ 4402 ] {3571c291-d805-4726-a9b7-104ec1021461} TCPHandler: Client has gone away. 2026.10.27 19:16:41.963295 [ 4279 ] {6413c4bb-50dc-4afc-b0cb-6217bde2e31a} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.517765885 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60520) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:41.964373 [ 4286 ] {461873e0-26b4-4b11-b1c5-e62c435e2f00} 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]:44616). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:41.967491 [ 4286 ] {461873e0-26b4-4b11-b1c5-e62c435e2f00} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.048010928 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:41.998382 [ 4286 ] {461873e0-26b4-4b11-b1c5-e62c435e2f00} TCPHandler: Client has gone away. 2026.10.27 19:16:42.233879 [ 4278 ] {91ededb6-49dd-41a4-ba64-c2e9832177f0} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.120011685 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36032) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:42.295442 [ 6141 ] {7b13b29b-b96e-442e-bb97-2eefc76c54b7} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.104011518 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:44620) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:42.350756 [ 4279 ] {6413c4bb-50dc-4afc-b0cb-6217bde2e31a} 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]:60520). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:42.352417 [ 4279 ] {6413c4bb-50dc-4afc-b0cb-6217bde2e31a} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.517765885 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:42.396457 [ 4279 ] {6413c4bb-50dc-4afc-b0cb-6217bde2e31a} TCPHandler: Client has gone away. 2026.10.27 19:16:42.533889 [ 4299 ] {7b9f8ab9-99f9-46cb-852c-862efa12a657} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.040987692 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:38076) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:42.630752 [ 4349 ] {2f1fba5e-b6b6-4cf0-a97a-6f08350df2a9} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.130380932 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:50334) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:42.769447 [ 4278 ] {91ededb6-49dd-41a4-ba64-c2e9832177f0} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.120011685 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:42.805230 [ 4278 ] {91ededb6-49dd-41a4-ba64-c2e9832177f0} TCPHandler: Client has gone away. 2026.10.27 19:16:43.141774 [ 6141 ] {7b13b29b-b96e-442e-bb97-2eefc76c54b7} 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]:44620). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:43.143439 [ 6141 ] {7b13b29b-b96e-442e-bb97-2eefc76c54b7} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.104011518 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:43.181976 [ 6141 ] {7b13b29b-b96e-442e-bb97-2eefc76c54b7} TCPHandler: Client has gone away. 2026.10.27 19:16:43.293128 [ 4406 ] {23d341b0-28e5-4124-8036-5f65d15044cb} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.181167317 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60516) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:43.334070 [ 4299 ] {7b9f8ab9-99f9-46cb-852c-862efa12a657} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.040987692 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:43.350064 [ 4299 ] {7b9f8ab9-99f9-46cb-852c-862efa12a657} TCPHandler: Client has gone away. 2026.10.27 19:16:43.515800 [ 4349 ] {2f1fba5e-b6b6-4cf0-a97a-6f08350df2a9} 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]:50334). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:43.515974 [ 4349 ] {2f1fba5e-b6b6-4cf0-a97a-6f08350df2a9} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.130380932 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:43.517382 [ 4406 ] {23d341b0-28e5-4124-8036-5f65d15044cb} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.181167317 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:43.560964 [ 4349 ] {2f1fba5e-b6b6-4cf0-a97a-6f08350df2a9} TCPHandler: Client has gone away. 2026.10.27 19:16:43.876640 [ 4312 ] {f0c627fd-bb23-4c3d-a3bd-1947a44cd59e} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.434463658 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60526) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:46.389333 [ 2549 ] {883a7d4d-8335-4279-9a62-d6e8b7f792fe} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 3.971536304 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:38082) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:46.477118 [ 2856 ] {3fe6f2f3-f8a0-4bc1-9dce-6dca49faaf81} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.240214565 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:44658) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:46.480471 [ 6806 ] {e337f32a-19e6-435e-9844-773c4e2a1395} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.174800105 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36046) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:46.490954 [ 6806 ] {e337f32a-19e6-435e-9844-773c4e2a1395} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.174800105 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:46.516537 [ 6141 ] {0795b69c-ed56-433a-9bc3-e878b6b02e84} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.210412072 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:38096) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:46.524637 [ 6141 ] {0795b69c-ed56-433a-9bc3-e878b6b02e84} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.210412072 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:46.592703 [ 2856 ] {3fe6f2f3-f8a0-4bc1-9dce-6dca49faaf81} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.240214565 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:46.617763 [ 2671 ] {cc8658b9-d4ba-401b-8d44-fdf0365d78c0} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.351364911 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60552) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:46.633738 [ 2671 ] {cc8658b9-d4ba-401b-8d44-fdf0365d78c0} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.351364911 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:46.714096 [ 2461 ] {cb705b26-4eac-4bf6-934f-8baeeb318f1d} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.064011105 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:59996) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:46.744570 [ 4359 ] {f9fb3ab1-6cbd-4bf3-a162-31506c9f348f} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.028010728 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36034) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:46.769639 [ 5683 ] {430dd0a5-dc4f-4e8f-9d75-460a8555abb8} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.016010603 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:50346) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:46.769914 [ 6799 ] {584a51b4-91bb-4ddf-a541-98f5ff6c52d3} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.473974104 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60010) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:46.773558 [ 5685 ] {2d4df27d-4da6-412f-be7a-2b23c2511dc0} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.350141905 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:44640) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:46.777603 [ 6799 ] {584a51b4-91bb-4ddf-a541-98f5ff6c52d3} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.473974104 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:46.856616 [ 6792 ] {23edaf97-557c-4b59-b508-cc4745051bd0} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.435898931 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:43298) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:46.874389 [ 6792 ] {23edaf97-557c-4b59-b508-cc4745051bd0} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.435898931 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:46.989237 [ 4312 ] {f0c627fd-bb23-4c3d-a3bd-1947a44cd59e} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.434463658 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:47.173733 [ 4312 ] {f0c627fd-bb23-4c3d-a3bd-1947a44cd59e} TCPHandler: Client has gone away. 2026.10.27 19:16:47.330427 [ 4406 ] {a861e30f-1a79-43cd-ab57-085465469d21} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.128022219 seconds, maximum: 1: While executing Remote. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60544) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:47.449626 [ 2461 ] {cb705b26-4eac-4bf6-934f-8baeeb318f1d} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.064011105 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:47.504346 [ 2461 ] {cb705b26-4eac-4bf6-934f-8baeeb318f1d} TCPHandler: Client has gone away. 2026.10.27 19:16:47.539900 [ 4406 ] {a861e30f-1a79-43cd-ab57-085465469d21} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.128022219 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:47.544980 [ 5683 ] {430dd0a5-dc4f-4e8f-9d75-460a8555abb8} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.016010603 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:47.553597 [ 2671 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:60552). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:47.553813 [ 2549 ] {883a7d4d-8335-4279-9a62-d6e8b7f792fe} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 3.971536304 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:47.593836 [ 5683 ] {430dd0a5-dc4f-4e8f-9d75-460a8555abb8} TCPHandler: Client has gone away. 2026.10.27 19:16:47.600167 [ 2549 ] {883a7d4d-8335-4279-9a62-d6e8b7f792fe} TCPHandler: Client has gone away. 2026.10.27 19:16:47.653966 [ 5685 ] {2d4df27d-4da6-412f-be7a-2b23c2511dc0} 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]:44640). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:47.654140 [ 5685 ] {2d4df27d-4da6-412f-be7a-2b23c2511dc0} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.350141905 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:47.704985 [ 5685 ] {2d4df27d-4da6-412f-be7a-2b23c2511dc0} TCPHandler: Client has gone away. 2026.10.27 19:16:48.026596 [ 4359 ] {f9fb3ab1-6cbd-4bf3-a162-31506c9f348f} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.028010728 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:48.057300 [ 4359 ] {f9fb3ab1-6cbd-4bf3-a162-31506c9f348f} TCPHandler: Client has gone away. 2026.10.27 19:16:48.984736 [ 4340 ] {ece47167-4169-4935-a12c-9165c83e8e07} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.09201141 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:50362) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:49.857919 [ 2671 ] {86cba57a-f706-479b-b5b1-2f90c08ba637} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.116077029 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55126) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:50.035000 [ 2671 ] {86cba57a-f706-479b-b5b1-2f90c08ba637} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.116077029 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:50.177479 [ 4406 ] {98466f83-4a41-4bd6-b2f8-425f78dda589} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.111672507 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47600) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:50.871698 [ 4340 ] {ece47167-4169-4935-a12c-9165c83e8e07} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:50362). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:50.871710 [ 2671 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:55126). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:50.871793 [ 4406 ] {98466f83-4a41-4bd6-b2f8-425f78dda589} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.111672507 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:50.871871 [ 4340 ] {ece47167-4169-4935-a12c-9165c83e8e07} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.09201141 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:50.953472 [ 4340 ] {ece47167-4169-4935-a12c-9165c83e8e07} TCPHandler: Client has gone away. 2026.10.27 19:16:52.092166 [ 5683 ] {ec2be397-a72b-40c2-8810-0b846d601de5} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.54401614 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:47576) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:52.215771 [ 2549 ] {11f672aa-00d3-4424-871d-ffe252549ad8} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.088021827 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:46182) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:52.274769 [ 5685 ] {1969fd14-6433-4897-8a88-103f3745b633} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.412025214 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:42694) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:52.506181 [ 2856 ] {8701dc8b-4054-45d1-bc3f-18d1daec14c1} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.168022665 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:41798) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:52.661871 [ 2461 ] {1be7e8a8-eb1c-41bf-bb2d-f274fe243ab4} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.328024336 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54424) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:52.661901 [ 4312 ] {fd0eb340-3168-4ad2-962d-fc5731f56017} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.060021535 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60540) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:52.790139 [ 1848 ] {17a79d91-62bc-4565-a713-1d589de40639} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 160.61 MiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60542) (comment: 00009_uniq_distributed.sql) (in query: SELECT uniq(UserID), uniqIf(UserID, CounterID = 800784), uniqIf(FUniqID, RegionID = 213) FROM remote('127.0.0.{1,2}', test, hits) ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:53.424797 [ 3071 ] {8cc1cd15-a3d5-456c-bedb-1dad4efde952} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42686). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:42686) (comment: 00009_uniq_distributed.sql) (in query: SELECT uniq(`UserID`), uniqIf(`UserID`, `CounterID` = 800784), uniqIf(`FUniqID`, `RegionID` = 213) FROM `test`.`hits`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b0eea in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a9945 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:53.672691 [ 5705 ] {5263556b-fbd3-4b9a-af4c-bf3addcd656b} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38620). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38620) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:53.679022 [ 4312 ] {fd0eb340-3168-4ad2-962d-fc5731f56017} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.060021535 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:53.684463 [ 2549 ] {11f672aa-00d3-4424-871d-ffe252549ad8} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.088021827 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:53.684534 [ 5685 ] {1969fd14-6433-4897-8a88-103f3745b633} 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]:42694). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:53.689606 [ 5683 ] {ec2be397-a72b-40c2-8810-0b846d601de5} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.54401614 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:53.689674 [ 5685 ] {1969fd14-6433-4897-8a88-103f3745b633} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.412025214 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:53.705406 [ 2549 ] {11f672aa-00d3-4424-871d-ffe252549ad8} TCPHandler: Client has gone away. 2026.10.27 19:16:53.729423 [ 2671 ] {22bc8bdb-5395-451b-bf3a-c53061c693a3} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.849095241 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47626) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:53.730059 [ 5683 ] {ec2be397-a72b-40c2-8810-0b846d601de5} TCPHandler: Client has gone away. 2026.10.27 19:16:53.732618 [ 4312 ] {fd0eb340-3168-4ad2-962d-fc5731f56017} TCPHandler: Client has gone away. 2026.10.27 19:16:53.733602 [ 5685 ] {1969fd14-6433-4897-8a88-103f3745b633} TCPHandler: Client has gone away. 2026.10.27 19:16:53.738673 [ 5705 ] {5263556b-fbd3-4b9a-af4c-bf3addcd656b} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38620). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:53.738954 [ 5705 ] {5263556b-fbd3-4b9a-af4c-bf3addcd656b} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38620). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:53.752641 [ 4359 ] {1b303528-905d-4e07-8671-f713ae55e67d} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.312024171 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55486) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:53.780485 [ 5705 ] {5263556b-fbd3-4b9a-af4c-bf3addcd656b} TCPHandler: Client has gone away. 2026.10.27 19:16:53.926934 [ 2671 ] {22bc8bdb-5395-451b-bf3a-c53061c693a3} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.849095241 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:53.985060 [ 2856 ] {8701dc8b-4054-45d1-bc3f-18d1daec14c1} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.168022665 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:53.998372 [ 2461 ] {1be7e8a8-eb1c-41bf-bb2d-f274fe243ab4} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.328024336 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:54.002271 [ 2856 ] {8701dc8b-4054-45d1-bc3f-18d1daec14c1} TCPHandler: Client has gone away. 2026.10.27 19:16:54.027829 [ 2461 ] {1be7e8a8-eb1c-41bf-bb2d-f274fe243ab4} TCPHandler: Client has gone away. 2026.10.27 19:16:54.267282 [ 4359 ] {1b303528-905d-4e07-8671-f713ae55e67d} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.312024171 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:54.294849 [ 4359 ] {1b303528-905d-4e07-8671-f713ae55e67d} TCPHandler: Client has gone away. 2026.10.27 19:16:54.786503 [ 2828 ] {068eaaba-bd01-441c-ba84-1d9fa7c4ef27} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38592). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38592) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:54.827358 [ 2828 ] {068eaaba-bd01-441c-ba84-1d9fa7c4ef27} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38592). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:54.901903 [ 2828 ] {068eaaba-bd01-441c-ba84-1d9fa7c4ef27} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38592). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:54.928117 [ 2828 ] {068eaaba-bd01-441c-ba84-1d9fa7c4ef27} TCPHandler: Client has gone away. 2026.10.27 19:16:55.577771 [ 2856 ] {0f5226ed-609c-4c29-a079-edc8c54a8a52} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.211083529 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47658) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:55.769258 [ 2856 ] {0f5226ed-609c-4c29-a079-edc8c54a8a52} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.211083529 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:55.893423 [ 6121 ] {91544278-e893-4421-a4f0-cfcb509804ee} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38526). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38526) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:55.904433 [ 6121 ] {91544278-e893-4421-a4f0-cfcb509804ee} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38526). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:55.904598 [ 6121 ] {91544278-e893-4421-a4f0-cfcb509804ee} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38526). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:55.906653 [ 6121 ] {91544278-e893-4421-a4f0-cfcb509804ee} TCPHandler: Client has gone away. 2026.10.27 19:16:55.956378 [ 3071 ] {8cc1cd15-a3d5-456c-bedb-1dad4efde952} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42686). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:55.956544 [ 3071 ] {8cc1cd15-a3d5-456c-bedb-1dad4efde952} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:42686). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b0eea in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a9945 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:55.958691 [ 4287 ] {a56d78a2-9461-412a-9f41-77b267ffd0b4} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38242). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38242) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:55.962548 [ 3071 ] {8cc1cd15-a3d5-456c-bedb-1dad4efde952} TCPHandler: Client has gone away. 2026.10.27 19:16:55.967660 [ 4287 ] {a56d78a2-9461-412a-9f41-77b267ffd0b4} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38242). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:55.967868 [ 4287 ] {a56d78a2-9461-412a-9f41-77b267ffd0b4} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38242). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:55.993078 [ 4287 ] {a56d78a2-9461-412a-9f41-77b267ffd0b4} TCPHandler: Client has gone away. 2026.10.27 19:16:56.005453 [ 1848 ] {17a79d91-62bc-4565-a713-1d589de40639} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 160.61 MiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:56.289116 [ 4497 ] {5a0e5739-4c00-4e15-afb6-f50c260c76c2} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38368). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38368) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:56.357821 [ 4497 ] {5a0e5739-4c00-4e15-afb6-f50c260c76c2} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38368). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:56.357981 [ 4497 ] {5a0e5739-4c00-4e15-afb6-f50c260c76c2} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38368). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:56.377088 [ 4497 ] {5a0e5739-4c00-4e15-afb6-f50c260c76c2} TCPHandler: Client has gone away. 2026.10.27 19:16:56.576323 [ 3070 ] {724f8c43-9847-46f9-a40f-1d502d400089} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38492). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38492) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:56.637223 [ 3070 ] {724f8c43-9847-46f9-a40f-1d502d400089} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38492). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:56.637429 [ 3070 ] {724f8c43-9847-46f9-a40f-1d502d400089} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38492). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:56.652986 [ 3070 ] {724f8c43-9847-46f9-a40f-1d502d400089} TCPHandler: Client has gone away. 2026.10.27 19:16:56.692798 [ 4326 ] {d6312aca-0f0f-4dba-9d70-a3c8afc94e77} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38356). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38356) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:56.712202 [ 4326 ] {d6312aca-0f0f-4dba-9d70-a3c8afc94e77} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38356). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:56.712374 [ 4326 ] {d6312aca-0f0f-4dba-9d70-a3c8afc94e77} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38356). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:56.720338 [ 4326 ] {d6312aca-0f0f-4dba-9d70-a3c8afc94e77} TCPHandler: Client has gone away. 2026.10.27 19:16:56.975772 [ 4399 ] {c0e65c15-a4ec-48d7-8072-31ef4e6f6030} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38292). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38292) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:56.990920 [ 4399 ] {c0e65c15-a4ec-48d7-8072-31ef4e6f6030} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38292). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:56.991070 [ 4399 ] {c0e65c15-a4ec-48d7-8072-31ef4e6f6030} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38292). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:56.993834 [ 4399 ] {c0e65c15-a4ec-48d7-8072-31ef4e6f6030} TCPHandler: Client has gone away. 2026.10.27 19:16:57.166167 [ 3020 ] {5ef00426-171e-4d10-b82e-43c0dcf5e258} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38306). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38306) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:57.232169 [ 3020 ] {5ef00426-171e-4d10-b82e-43c0dcf5e258} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38306). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:57.232411 [ 3020 ] {5ef00426-171e-4d10-b82e-43c0dcf5e258} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38306). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:57.292828 [ 3020 ] {5ef00426-171e-4d10-b82e-43c0dcf5e258} TCPHandler: Client has gone away. 2026.10.27 19:16:57.449989 [ 4309 ] {56b31b4a-cb23-458c-b14a-5f6b2ff81044} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38302). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38302) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:57.455355 [ 6123 ] {05d29282-2cc9-4c9e-b735-dfa5023f12a0} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38520). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38520) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:57.478288 [ 4309 ] {56b31b4a-cb23-458c-b14a-5f6b2ff81044} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38302). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:57.480776 [ 4309 ] {56b31b4a-cb23-458c-b14a-5f6b2ff81044} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38302). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:57.491103 [ 6123 ] {05d29282-2cc9-4c9e-b735-dfa5023f12a0} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38520). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:57.491273 [ 5712 ] {c9e88d0c-4591-441e-ad79-8a7483792bc6} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38576). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38576) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:57.492572 [ 4309 ] {56b31b4a-cb23-458c-b14a-5f6b2ff81044} TCPHandler: Client has gone away. 2026.10.27 19:16:57.492611 [ 6769 ] {3dba2d0b-c53e-482e-8b57-073a267e3720} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38610). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38610) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:57.492616 [ 6790 ] {af88c81e-0c63-41ce-8ed0-5fe6801dcc4f} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38644). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38644) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:57.493527 [ 4488 ] {88bae048-f498-439a-a498-2319aa2a5036} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38230). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38230) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:57.494078 [ 4305 ] {a698152d-9c4b-45b5-94e8-94a3ec3883c5} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38490). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38490) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:57.513748 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1245100 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: (while reading column SilverlightVersion3): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60530) (comment: 00167_read_bytes_from_fs.sql) (in query: SELECT sum(cityHash64(*)) FROM test.hits SETTINGS max_threads=40;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 21. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 22. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:0: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d493acf in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 2026.10.27 19:16:57.589023 [ 6123 ] {05d29282-2cc9-4c9e-b735-dfa5023f12a0} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38520). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:57.596284 [ 5712 ] {c9e88d0c-4591-441e-ad79-8a7483792bc6} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38576). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:57.607054 [ 5712 ] {c9e88d0c-4591-441e-ad79-8a7483792bc6} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38576). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:57.621903 [ 6123 ] {05d29282-2cc9-4c9e-b735-dfa5023f12a0} TCPHandler: Client has gone away. 2026.10.27 19:16:57.622066 [ 6769 ] {3dba2d0b-c53e-482e-8b57-073a267e3720} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38610). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:57.622177 [ 6790 ] {af88c81e-0c63-41ce-8ed0-5fe6801dcc4f} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38644). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:57.626164 [ 6790 ] {af88c81e-0c63-41ce-8ed0-5fe6801dcc4f} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38644). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:57.628910 [ 6769 ] {3dba2d0b-c53e-482e-8b57-073a267e3720} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38610). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:57.641452 [ 5712 ] {c9e88d0c-4591-441e-ad79-8a7483792bc6} TCPHandler: Client has gone away. 2026.10.27 19:16:57.642304 [ 6790 ] {af88c81e-0c63-41ce-8ed0-5fe6801dcc4f} TCPHandler: Client has gone away. 2026.10.27 19:16:57.642431 [ 4305 ] {a698152d-9c4b-45b5-94e8-94a3ec3883c5} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38490). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:57.642411 [ 4137 ] {61431d0f-cde2-48a1-a760-de2b2a1af258} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38508). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38508) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:57.642701 [ 4488 ] {88bae048-f498-439a-a498-2319aa2a5036} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38230). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:57.651803 [ 6769 ] {3dba2d0b-c53e-482e-8b57-073a267e3720} TCPHandler: Client has gone away. 2026.10.27 19:16:59.691908 [ 4305 ] {a698152d-9c4b-45b5-94e8-94a3ec3883c5} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38490). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:59.692160 [ 4488 ] {88bae048-f498-439a-a498-2319aa2a5036} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38230). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:59.692239 [ 4137 ] {61431d0f-cde2-48a1-a760-de2b2a1af258} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38508). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:16:59.692687 [ 5687 ] {50f31138-e9f8-4428-9a22-e6b879c6a1ca} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38266). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38266) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:59.692821 [ 2479 ] {f53acf73-7903-4034-9f3c-4ed64fd811c6} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38326). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38326) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:59.693043 [ 3817 ] {cf3f2da0-c029-484e-ba86-b78662082a92} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38428). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38428) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:59.693135 [ 4455 ] {a0e1b987-983a-465a-9d37-023bd404d62a} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38414). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38414) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:59.692285 [ 6137 ] {333d8e5b-39ce-45af-8fc6-a3fea4721c4b} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38540). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38540) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:59.692781 [ 2890 ] {9a0a8e04-4015-4d41-b3bc-26a8f2db8521} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38598). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38598) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:59.692557 [ 6774 ] {8beb3d0a-f0eb-4cd9-b327-6ae1193b82a2} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38616). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38616) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:59.692431 [ 6771 ] {29e5a190-4cb2-4c9e-a332-073682b1715a} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38614). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38614) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:59.693363 [ 6775 ] {46b9006c-9b40-4a93-923f-6f420a48530d} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38618). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38618) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:16:59.693334 [ 6785 ] {58d81a2e-a744-4a38-92af-83d38459d78a} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38632). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38632) (comment: 01019_alter_materialized_view_consistent.sh) (in query: INSERT INTO TABLE src_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:00.177416 [ 2289 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::MetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 4198715 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:281: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d6516b7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3dc813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:02.533826 [ 2292 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::PartLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.84 GiB (attempt to allocate chunk of 4239037 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:02.534066 [ 2856 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.08 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:02.534232 [ 4137 ] {61431d0f-cde2-48a1-a760-de2b2a1af258} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38508). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:02.534269 [ 3817 ] {cf3f2da0-c029-484e-ba86-b78662082a92} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38428). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:02.534516 [ 4455 ] {a0e1b987-983a-465a-9d37-023bd404d62a} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38414). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:02.534538 [ 4488 ] {88bae048-f498-439a-a498-2319aa2a5036} TCPHandler: Client has gone away. 2026.10.27 19:17:02.534736 [ 3817 ] {cf3f2da0-c029-484e-ba86-b78662082a92} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38428). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:02.534749 [ 2479 ] {f53acf73-7903-4034-9f3c-4ed64fd811c6} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38326). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:02.534857 [ 6123 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.26 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:02.534826 [ 4305 ] {a698152d-9c4b-45b5-94e8-94a3ec3883c5} TCPHandler: Client has gone away. 2026.10.27 19:17:02.534967 [ 6774 ] {8beb3d0a-f0eb-4cd9-b327-6ae1193b82a2} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38616). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:02.534809 [ 6137 ] {333d8e5b-39ce-45af-8fc6-a3fea4721c4b} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38540). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:02.535117 [ 6771 ] {29e5a190-4cb2-4c9e-a332-073682b1715a} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38614). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:02.535183 [ 4137 ] {61431d0f-cde2-48a1-a760-de2b2a1af258} TCPHandler: Client has gone away. 2026.10.27 19:17:02.535223 [ 3817 ] {cf3f2da0-c029-484e-ba86-b78662082a92} TCPHandler: Client has gone away. 2026.10.27 19:17:02.535273 [ 5712 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.12 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:02.535324 [ 6137 ] {333d8e5b-39ce-45af-8fc6-a3fea4721c4b} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38540). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:02.535027 [ 5687 ] {50f31138-e9f8-4428-9a22-e6b879c6a1ca} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38266). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:02.535412 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.87 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/zmu/zrrbbxauoxfpefqsxxbodkuxhzkpj, hash key: b619ff571f09a149606da2333e26b267, file_offset_of_buffer_end: 0, read_until_position: 37737, internal buffer end: 37737, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2911, file segment info: File segment: [0, 37736], key: b619ff571f09a149606da2333e26b267, state: DOWNLOADING, downloaded size: 0, reserved size: 37737, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2911, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2911, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:02.535453 [ 6771 ] {29e5a190-4cb2-4c9e-a332-073682b1715a} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38614). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:02.535613 [ 2243 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 7561216 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x00000000209e2844 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromS3::reallocateFirstBuffer() @ 0x00000000361edabc in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:126: DB::WriteBufferFromS3::nextImpl() @ 0x00000000361ec8a2 in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBuffer.h:60: DB::CachedOnDiskWriteBufferFromFile::nextImpl() @ 0x000000003584744a in /usr/bin/clickhouse 13. ./build_docker/./src/IO/WriteBuffer.h:60: DB::WriteBufferFromFileDecorator::nextImpl() @ 0x000000003584b666 in /usr/bin/clickhouse 14. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HashingWriteBuffer::nextImpl() @ 0x000000003cb90e85 in /usr/bin/clickhouse 15. DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000941dcac in /usr/bin/clickhouse 16. ./build_docker/./src/Compression/CompressedWriteBuffer.cpp:58: DB::CompressedWriteBuffer::nextImpl() @ 0x0000000036895c79 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HashingWriteBuffer::nextImpl() @ 0x000000003cb90e85 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/WriteBuffer.h:60: void std::__function::__policy_invoker::__call_impl, std::allocator>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d158779 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::getCurrentMarksForColumn(DB::NameAndTypePair const&, std::set, std::allocator>&) @ 0x000000003d14d4d0 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::writeColumn(DB::NameAndTypePair const&, DB::IColumn const&, std::set, std::allocator>&, std::vector> const&) @ 0x000000003d148dd2 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:251: DB::MergeTreeDataPartWriterWide::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d14255b in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::write(DB::Block const&) @ 0x000000003d648a09 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbbb02 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:02.535183 [ 6785 ] {58d81a2e-a744-4a38-92af-83d38459d78a} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38632). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:02.535677 [ 2758 ] {fc96cd18-0e33-4bd3-a674-b9f52fa6985a} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.88401971 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:46196) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:02.534873 [ 4455 ] {a0e1b987-983a-465a-9d37-023bd404d62a} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38414). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:02.535599 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.30 GiB (attempt to allocate chunk of 4876608 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:02.535855 [ 5687 ] {50f31138-e9f8-4428-9a22-e6b879c6a1ca} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38266). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:02.536280 [ 2350 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::AsynchronousMetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.12 GiB (attempt to allocate chunk of 5216812 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3b72d3 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3b47b2 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c23847 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:02.540231 [ 6137 ] {333d8e5b-39ce-45af-8fc6-a3fea4721c4b} TCPHandler: Client has gone away. 2026.10.27 19:17:02.540571 [ 5694 ] {2b01b034-9f01-451b-9377-17e5c8d8efa3} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1376256 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38140) (comment: 00159_parallel_formatting_csv_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c Format CSV), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/memcpySmall.h:40: DB::ColumnFixedString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b06a248 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:44: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003efbe15d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eed0553 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8e96 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:02.961812 [ 2237 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} TemporaryFileOnDisk: Temporary path 'tmp4cd29024-7ef1-4825-8eb5-59e89f1aad8e' does not exist in '/var/lib/clickhouse/tmp/' 2026.10.27 19:17:03.781529 [ 2479 ] {f53acf73-7903-4034-9f3c-4ed64fd811c6} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38326). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:03.781563 [ 6775 ] {46b9006c-9b40-4a93-923f-6f420a48530d} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38618). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:03.781606 [ 2890 ] {9a0a8e04-4015-4d41-b3bc-26a8f2db8521} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38598). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:03.781685 [ 2828 ] {5493365a-87b9-4353-a76c-5a4c92d6bb47} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1242095 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:40576) (comment: 00149_quantiles_timing_distributed.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::WriteBuffer&, std::shared_ptr, void>(std::allocator const&, DB::WriteBuffer&, std::shared_ptr&&) @ 0x000000003e0dfb87 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TCPHandler::initBlockOutput(DB::Block const&) @ 0x000000003e0b91c6 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2009: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b06b4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a879a in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:03.781677 [ 6774 ] {8beb3d0a-f0eb-4cd9-b327-6ae1193b82a2} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38616). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:03.781841 [ 6785 ] {58d81a2e-a744-4a38-92af-83d38459d78a} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38632). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:03.781928 [ 3071 ] {f1008965-dd56-4db0-bd54-09f22acd5933} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1242095 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36688) (comment: 00149_quantiles_timing_distributed.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::WriteBuffer&, std::shared_ptr, void>(std::allocator const&, DB::WriteBuffer&, std::shared_ptr&&) @ 0x000000003e0dfb87 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TCPHandler::initBlockOutput(DB::Block const&) @ 0x000000003e0b91c6 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2009: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b06b4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a879a in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:03.783277 [ 6771 ] {29e5a190-4cb2-4c9e-a332-073682b1715a} TCPHandler: Client has gone away. 2026.10.27 19:17:03.783319 [ 2233 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {acda09da-43db-48a8-8810-44d9d644ef09::all_1_27_2}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.83 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:87: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13f899 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:03.783291 [ 2891 ] {aa27e864-009d-40bc-94d6-cd9fe04b385e} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 2424832 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38162) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnFixedString.cpp:214: DB::ColumnFixedString::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x000000003b06fbcc in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:44: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003efbe24c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eed0553 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8e96 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:03.783950 [ 4455 ] {a0e1b987-983a-465a-9d37-023bd404d62a} TCPHandler: Client has gone away. 2026.10.27 19:17:03.783964 [ 5687 ] {50f31138-e9f8-4428-9a22-e6b879c6a1ca} TCPHandler: Client has gone away. 2026.10.27 19:17:04.767091 [ 2244 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {de63dd19-7a9e-4999-8a86-22aee4e9402a::202610_1_13_3}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.12 GiB (attempt to allocate chunk of 1086271 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:04.784577 [ 4317 ] {29605ab6-ddbd-47cd-9daa-cf031296c5b2} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 7.152074873 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60548) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:04.784614 [ 2549 ] {ecb899fd-9e1f-497a-b0b0-b242ab1df41b} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.980052146 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:42704) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:04.784627 [ 6141 ] {b799239b-8d9d-4c17-b62a-a6fd5a5da314} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 6.84007161 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:47592) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:04.784634 [ 5707 ] {f09b10a4-fa85-4dcf-a251-d61cbfbdfd5d} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 3.968041547 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55506) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:04.784648 [ 5683 ] {fce6cdff-8353-4ebb-850c-6af3e8d1452c} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.284044857 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:41820) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:04.796956 [ 4349 ] {67809b07-8711-4227-b95d-8eab4bda56d5} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 6.812071316 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54434) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:04.796982 [ 4359 ] {86630b39-7e03-4e7b-887c-73a540b6d7e6} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.896051266 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55142) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:04.797060 [ 4312 ] {d69c6408-87bc-4da1-88fd-670d69f3a50c} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.740049632 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60550) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:04.797068 [ 5685 ] {27baa6f7-2a26-4eb3-8b7a-06eeb1c1368b} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.992052274 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54450) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:04.802807 [ 4402 ] {46c1fb0f-a703-4652-8731-a52358319f10} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 7.060073908 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55140) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:04.802834 [ 4278 ] {ec3e6724-795f-4607-94df-9e3dfca7842d} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 7.044073745 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55498) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:04.802840 [ 4518 ] {2d809da2-c27a-45bc-8559-fa15e2829ccd} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.876019627 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:42700) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:04.802851 [ 4406 ] {d72deec1-5aa0-486f-bb81-1eb69a84358d} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 3.956041422 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:46212) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:04.802941 [ 4286 ] {7fdfdef2-762a-41c4-a8ee-b6e78b6b8f67} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.720017995 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:41812) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:04.810411 [ 2239 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {acda09da-43db-48a8-8810-44d9d644ef09::all_28_49_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.84 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:87: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13f899 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:04.802766 [ 5688 ] {7cf62a72-9991-4a2e-b8eb-0eb9d62c2338} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.324045276 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35132) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:04.811953 [ 2671 ] {402c90cb-758c-421a-a7a3-40a69f339694} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.336045401 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:47600) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:04.811955 [ 6153 ] {233389ca-ac61-4415-aae4-2081e0ec1d23} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.584047999 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:45624) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:04.819330 [ 2758 ] {fc96cd18-0e33-4bd3-a674-b9f52fa6985a} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.88401971 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:04.819427 [ 4299 ] {c74a1b6b-5e1e-437b-9d04-1082dff18d69} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 6.884072072 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:45612) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:04.819430 [ 2292 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::PartLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.17 GiB (attempt to allocate chunk of 5213761 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:04.863179 [ 2485 ] {d9d7e2a1-136c-4f14-85f2-23658f6db461} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column SendTiming): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:45370) (comment: 00149_quantiles_timing_distributed.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 21. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 22. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/deque:1902: DB::MergeTreeReaderWide::prefetchBeginOfRange(Priority) @ 0x000000003d492334 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreePrefetchedReadPool.cpp:0: std::__packaged_task_func>> (DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)> DB::threadPoolCallbackRunner>, DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::operator()(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::'lambda'(), std::allocator>> (DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)> DB::threadPoolCallbackRunner>, DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::operator()(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::'lambda'()>, std::unique_ptr> ()>::operator()() @ 0x000000003f2415f1 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task> ()>::operator()() @ 0x000000003f24ff32 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>> (DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)> DB::threadPoolCallbackRunner>, DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::operator()(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003f241c4e in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 29. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 2026.10.27 19:17:06.267138 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.20 GiB (attempt to allocate chunk of 4483198 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3ef053 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3ec532 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c26a87 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:07.430006 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.21 GiB (attempt to allocate chunk of 4203774 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a471453 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a46e742 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2ea27 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:07.430041 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.21 GiB (attempt to allocate chunk of 4270269 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:08.103699 [ 2246 ] {55e8aad5-6ea5-470c-9021-8e1cd7d5413c::all_1_1_0_4} MutatePlainMergeTreeTask: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 17.36 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:08.199043 [ 2235 ] {55e8aad5-6ea5-470c-9021-8e1cd7d5413c::all_2_2_0_4} MutatePlainMergeTreeTask: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 17.82 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:08.284618 [ 6775 ] {46b9006c-9b40-4a93-923f-6f420a48530d} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38618). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:08.284675 [ 2890 ] {9a0a8e04-4015-4d41-b3bc-26a8f2db8521} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38598). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:08.285092 [ 2237 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.94 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::WriteBufferFromTemporaryFile::WriteBufferFromTemporaryFile(std::unique_ptr>&&) @ 0x0000000037253f84 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::TemporaryDataOnDisk::createRawStream(unsigned long) @ 0x000000003a63c2f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:296: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cda7825 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:08.288294 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.83 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/dzz/ztpoztkoeduokdnpgyvatfzopdmac, hash key: 60b123fc3642a5ff54051e7f008a56ed, file_offset_of_buffer_end: 0, read_until_position: 1533, internal buffer end: 18211, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2942, file segment info: File segment: [0, 18210], key: 60b123fc3642a5ff54051e7f008a56ed, state: DOWNLOADING, downloaded size: 0, reserved size: 18211, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2942, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2942, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:08.288506 [ 6785 ] {58d81a2e-a744-4a38-92af-83d38459d78a} TCPHandler: Client has gone away. 2026.10.27 19:17:08.288634 [ 6774 ] {8beb3d0a-f0eb-4cd9-b327-6ae1193b82a2} TCPHandler: Client has gone away. 2026.10.27 19:17:08.288628 [ 5712 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.61 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:08.288667 [ 2758 ] {fc96cd18-0e33-4bd3-a674-b9f52fa6985a} TCPHandler: Client has gone away. 2026.10.27 19:17:08.289781 [ 2828 ] {5493365a-87b9-4353-a76c-5a4c92d6bb47} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1242095 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::WriteBuffer&, std::shared_ptr, void>(std::allocator const&, DB::WriteBuffer&, std::shared_ptr&&) @ 0x000000003e0dfb87 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TCPHandler::initBlockOutput(DB::Block const&) @ 0x000000003e0b91c6 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2009: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b06b4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a879a in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:08.298641 [ 3071 ] {f1008965-dd56-4db0-bd54-09f22acd5933} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1242095 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::WriteBuffer&, std::shared_ptr, void>(std::allocator const&, DB::WriteBuffer&, std::shared_ptr&&) @ 0x000000003e0dfb87 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TCPHandler::initBlockOutput(DB::Block const&) @ 0x000000003e0b91c6 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2009: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b06b4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a879a in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:08.298842 [ 2290 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TraceLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.12 GiB (attempt to allocate chunk of 4455329 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x000000000941592d in /usr/bin/clickhouse 8. ./build_docker/./src/Common/PODArray.h:0: DB::ColumnVector::insert(DB::Field const&) @ 0x000000003b2b03c9 in /usr/bin/clickhouse 9. ./build_docker/./src/Columns/ColumnArray.cpp:0: DB::ColumnArray::insert(DB::Field const&) @ 0x000000003ac8246d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/TraceLog.cpp:0: DB::TraceLogElement::appendToBlock(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) const @ 0x000000003a684f52 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a45e098 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a45bf32 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2d7a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c2d67f in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:08.301958 [ 2479 ] {f53acf73-7903-4034-9f3c-4ed64fd811c6} TCPHandler: Client has gone away. 2026.10.27 19:17:08.320201 [ 2890 ] {9a0a8e04-4015-4d41-b3bc-26a8f2db8521} TCPHandler: Client has gone away. 2026.10.27 19:17:08.851641 [ 4374 ] {a3e4d831-a9b3-4aa4-928d-8c74319aa67d} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45582) (comment: 00149_quantiles_timing_distributed.sql) (in query: SELECT sum(cityHash64(*)) FROM (SELECT CounterID, quantileTiming(0.5)(SendTiming), count() FROM remote('127.0.0.{1,2,3,4,5,6,7,8,9,10}', test.hits) WHERE SendTiming != -1 GROUP BY CounterID);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/FiberStack.h:60: FiberStack::allocate() const @ 0x0000000036aa2efe in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:312: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1>(FiberStack&, Fiber::RoutineImpl&&) @ 0x0000000036aa12aa in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:449: DB::AsyncTaskExecutor::resume() @ 0x0000000036a9f321 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::resumePacketReceiver(DB::HedgedConnections::ReplicaLocation const&) @ 0x000000003ddd66fd in /usr/bin/clickhouse 12. ./build_docker/./src/Client/HedgedConnections.cpp:331: DB::HedgedConnections::getReadyReplicaLocation(std::function) @ 0x000000003ddd3deb in /usr/bin/clickhouse 13. ./build_docker/./src/Client/HedgedConnections.cpp:305: DB::HedgedConnections::receivePacketUnlocked(std::function) @ 0x000000003ddd6168 in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/RemoteQueryExecutorReadContext.cpp:0: DB::RemoteQueryExecutorReadContext::Task::run(std::function, std::function) @ 0x0000000036aa6f30 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036aa4c1c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036aa43c2 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036aa3bd6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036aa1852 in /usr/bin/clickhouse 2026.10.27 19:17:08.851771 [ 4402 ] {46c1fb0f-a703-4652-8731-a52358319f10} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 7.060073908 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:08.852474 [ 2549 ] {ecb899fd-9e1f-497a-b0b0-b242ab1df41b} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.980052146 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:08.851867 [ 4278 ] {ec3e6724-795f-4607-94df-9e3dfca7842d} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 7.044073745 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:08.852510 [ 5688 ] {7cf62a72-9991-4a2e-b8eb-0eb9d62c2338} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.324045276 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:08.852587 [ 4518 ] {2d809da2-c27a-45bc-8559-fa15e2829ccd} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.876019627 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:08.852655 [ 4299 ] {c74a1b6b-5e1e-437b-9d04-1082dff18d69} 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]:45612). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:08.852284 [ 5683 ] {fce6cdff-8353-4ebb-850c-6af3e8d1452c} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:41820). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:08.852367 [ 4312 ] {d69c6408-87bc-4da1-88fd-670d69f3a50c} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.740049632 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:08.851878 [ 2485 ] {d9d7e2a1-136c-4f14-85f2-23658f6db461} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column SendTiming): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 21. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 22. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/deque:1902: DB::MergeTreeReaderWide::prefetchBeginOfRange(Priority) @ 0x000000003d492334 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreePrefetchedReadPool.cpp:0: std::__packaged_task_func>> (DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)> DB::threadPoolCallbackRunner>, DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::operator()(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::'lambda'(), std::allocator>> (DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)> DB::threadPoolCallbackRunner>, DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::operator()(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::'lambda'()>, std::unique_ptr> ()>::operator()() @ 0x000000003f2415f1 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task> ()>::operator()() @ 0x000000003f24ff32 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>> (DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)> DB::threadPoolCallbackRunner>, DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::operator()(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003f241c4e in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 29. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 2026.10.27 19:17:08.852184 [ 6153 ] {233389ca-ac61-4415-aae4-2081e0ec1d23} 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]:45624). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:08.852623 [ 4359 ] {86630b39-7e03-4e7b-887c-73a540b6d7e6} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.896051266 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:08.853021 [ 4406 ] {d72deec1-5aa0-486f-bb81-1eb69a84358d} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 3.956041422 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:08.853081 [ 5683 ] {fce6cdff-8353-4ebb-850c-6af3e8d1452c} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.284044857 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:08.852818 [ 4349 ] {67809b07-8711-4227-b95d-8eab4bda56d5} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 6.812071316 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:08.852882 [ 5685 ] {27baa6f7-2a26-4eb3-8b7a-06eeb1c1368b} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.992052274 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:08.852346 [ 6141 ] {b799239b-8d9d-4c17-b62a-a6fd5a5da314} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 6.84007161 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:08.852962 [ 2671 ] {402c90cb-758c-421a-a7a3-40a69f339694} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.336045401 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:08.852669 [ 5707 ] {f09b10a4-fa85-4dcf-a251-d61cbfbdfd5d} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 3.968041547 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:08.853601 [ 4518 ] {2d809da2-c27a-45bc-8559-fa15e2829ccd} TCPHandler: Client has gone away. 2026.10.27 19:17:08.852751 [ 4286 ] {7fdfdef2-762a-41c4-a8ee-b6e78b6b8f67} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.720017995 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:09.269491 [ 2240 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} TemporaryFileOnDisk: Temporary path 'tmp8a298efe-5df1-4eff-ab26-10f3ca65a620' does not exist in '/var/lib/clickhouse/tmp/' 2026.10.27 19:17:11.072678 [ 2291 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::QueryViewsLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 17.87 GiB (attempt to allocate chunk of 4195712 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:37: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d102291 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:11.073192 [ 4317 ] {29605ab6-ddbd-47cd-9daa-cf031296c5b2} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 7.152074873 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:11.073209 [ 6792 ] {743d8553-32d0-4477-9b65-24c7ae5ac9da} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutations 'mutation_3.txt, mutation_4.txt' with part 'all_1_1_0' reason: 'Code: 241. DB::Exception: Memory limit (total) exceeded: would use 17.36 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build))'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45614) (comment: 01415_sticking_mutations.sh) (in query: ALTER TABLE sticking_mutations DELETE WHERE value2 % 32 == 0, MODIFY COLUMN value1 UInt64), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d3f1fe4 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d3f1895 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000003da1202d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003da089db in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0598 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:11.073652 [ 2238 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {acda09da-43db-48a8-8810-44d9d644ef09::all_1_27_2}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.02 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:87: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13f899 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:11.073719 [ 6775 ] {46b9006c-9b40-4a93-923f-6f420a48530d} TCPHandler: Client has gone away. 2026.10.27 19:17:11.480458 [ 4137 ] {af7f3d05-b63c-4135-9c4c-bb361c44cd11} DatabaseReplicated (test_11): It's not recommended to explicitly specify zookeeper_path and replica_name in ReplicatedMergeTree arguments 2026.10.27 19:17:13.369804 [ 2296 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::QueryLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 17.85 GiB (attempt to allocate chunk of 4318931 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnString.cpp:0: COW::immutable_ptr DB::ColumnString::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b1c8d44 in /usr/bin/clickhouse 9. ./build_docker/./src/Columns/ColumnString.cpp:212: DB::ColumnString::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b1a78a6 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/IMergeTreeDataPartWriter.cpp:0: DB::permuteBlockIfNeeded(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d11b4c2 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:166: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d10410d in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a414433 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a411722 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c28f87 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c28e5f in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:13.369988 [ 6153 ] {233389ca-ac61-4415-aae4-2081e0ec1d23} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.584047999 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:13.370880 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 17.81 GiB (attempt to allocate chunk of 5078268 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:13.371524 [ 2485 ] {d9d7e2a1-136c-4f14-85f2-23658f6db461} TCPHandler: Client has gone away. 2026.10.27 19:17:13.371614 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.08 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/gaf/xnngygdbthilrifxrvpbkznkmmuwn, hash key: db0dc59f0412750acc9ba2421d0d9510, file_offset_of_buffer_end: 0, read_until_position: 1854, internal buffer end: 24042, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2929, file segment info: File segment: [0, 24041], key: db0dc59f0412750acc9ba2421d0d9510, state: DOWNLOADING, downloaded size: 0, reserved size: 24042, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2929, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2929, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:13.371721 [ 2241 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {acda09da-43db-48a8-8810-44d9d644ef09::all_28_49_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.77 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:87: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13f899 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:13.371885 [ 4359 ] {86630b39-7e03-4e7b-887c-73a540b6d7e6} TCPHandler: Client has gone away. 2026.10.27 19:17:13.371933 [ 5707 ] {f09b10a4-fa85-4dcf-a251-d61cbfbdfd5d} TCPHandler: Client has gone away. 2026.10.27 19:17:13.371955 [ 4349 ] {67809b07-8711-4227-b95d-8eab4bda56d5} TCPHandler: Client has gone away. 2026.10.27 19:17:13.371979 [ 6141 ] {b799239b-8d9d-4c17-b62a-a6fd5a5da314} TCPHandler: Client has gone away. 2026.10.27 19:17:13.372023 [ 4402 ] {46c1fb0f-a703-4652-8731-a52358319f10} TCPHandler: Client has gone away. 2026.10.27 19:17:13.371982 [ 5688 ] {7cf62a72-9991-4a2e-b8eb-0eb9d62c2338} TCPHandler: Client has gone away. 2026.10.27 19:17:13.372151 [ 2234 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {de63dd19-7a9e-4999-8a86-22aee4e9402a::202610_1_13_3}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 17.90 GiB (attempt to allocate chunk of 1086271 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:13.371719 [ 5685 ] {27baa6f7-2a26-4eb3-8b7a-06eeb1c1368b} TCPHandler: Client has gone away. 2026.10.27 19:17:13.373128 [ 4299 ] {c74a1b6b-5e1e-437b-9d04-1082dff18d69} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 6.884072072 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:13.373397 [ 7030 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:47694). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:13.379383 [ 4286 ] {7fdfdef2-762a-41c4-a8ee-b6e78b6b8f67} TCPHandler: Client has gone away. 2026.10.27 19:17:13.379459 [ 7026 ] {428d408e-dc33-4cbe-8566-ca397fc687ef} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:33304). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:33304) (comment: 00149_quantiles_timing_distributed.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b0eea in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a9945 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:13.391317 [ 2549 ] {ecb899fd-9e1f-497a-b0b0-b242ab1df41b} TCPHandler: Client has gone away. 2026.10.27 19:17:13.392412 [ 4406 ] {d72deec1-5aa0-486f-bb81-1eb69a84358d} TCPHandler: Client has gone away. 2026.10.27 19:17:13.404803 [ 4312 ] {d69c6408-87bc-4da1-88fd-670d69f3a50c} TCPHandler: Client has gone away. 2026.10.27 19:17:13.405210 [ 2671 ] {402c90cb-758c-421a-a7a3-40a69f339694} TCPHandler: Client has gone away. 2026.10.27 19:17:13.405278 [ 4278 ] {ec3e6724-795f-4607-94df-9e3dfca7842d} TCPHandler: Client has gone away. 2026.10.27 19:17:13.409619 [ 5683 ] {fce6cdff-8353-4ebb-850c-6af3e8d1452c} TCPHandler: Client has gone away. 2026.10.27 19:17:14.261757 [ 4497 ] {a3579c9f-7a4a-4d9f-ab7a-0a0ea5b1da05} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.10]:9000 -> [::ffff:127.0.0.1]:50170). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:50170) (comment: 00149_quantiles_timing_distributed.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProgress() @ 0x000000003e0aacc7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0aa06f in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:14.263037 [ 7032 ] {3b36e77f-c38c-42b0-903d-8b742b9cff3d} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:50790). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:50790) (comment: 00149_quantiles_timing_distributed.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProgress() @ 0x000000003e0aacc7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0aa06f in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:14.263103 [ 2290 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TraceLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 17.59 GiB (attempt to allocate chunk of 4777451 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:14.263086 [ 2350 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::AsynchronousMetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 17.30 GiB (attempt to allocate chunk of 5066332 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3b72d3 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3b47b2 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c23847 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:14.263188 [ 2289 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::MetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 17.47 GiB (attempt to allocate chunk of 5160832 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:14.269586 [ 5694 ] {2b01b034-9f01-451b-9377-17e5c8d8efa3} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1376256 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/memcpySmall.h:40: DB::ColumnFixedString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b06a248 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:44: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003efbe15d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eed0553 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8e96 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:15.109880 [ 7034 ] {b9af7ac3-7faa-4300-9238-1063b6937386} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:49024). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:49024) (comment: 00149_quantiles_timing_distributed.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:15.109982 [ 4374 ] {a3e4d831-a9b3-4aa4-928d-8c74319aa67d} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/FiberStack.h:60: FiberStack::allocate() const @ 0x0000000036aa2efe in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:312: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1>(FiberStack&, Fiber::RoutineImpl&&) @ 0x0000000036aa12aa in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:449: DB::AsyncTaskExecutor::resume() @ 0x0000000036a9f321 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::resumePacketReceiver(DB::HedgedConnections::ReplicaLocation const&) @ 0x000000003ddd66fd in /usr/bin/clickhouse 12. ./build_docker/./src/Client/HedgedConnections.cpp:331: DB::HedgedConnections::getReadyReplicaLocation(std::function) @ 0x000000003ddd3deb in /usr/bin/clickhouse 13. ./build_docker/./src/Client/HedgedConnections.cpp:305: DB::HedgedConnections::receivePacketUnlocked(std::function) @ 0x000000003ddd6168 in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/RemoteQueryExecutorReadContext.cpp:0: DB::RemoteQueryExecutorReadContext::Task::run(std::function, std::function) @ 0x0000000036aa6f30 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036aa4c1c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036aa43c2 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036aa3bd6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036aa1852 in /usr/bin/clickhouse 2026.10.27 19:17:15.110016 [ 2246 ] {55e8aad5-6ea5-470c-9021-8e1cd7d5413c::all_1_1_0_4} virtual bool DB::MutatePlainMergeTreeTask::executeStep(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 17.36 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList const&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&, bool, bool, DB::WriteSettings, DB::MergeTreeIndexGranularity&, void>(std::allocator const&, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList const&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&&, DB::WriteSettings&&, DB::MergeTreeIndexGranularity&) @ 0x000000003d6e183e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::MutateAllPartColumnsTask::prepare() @ 0x000000003d6dc7e3 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:1246: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6d5110 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:1754: DB::MutateTask::execute() @ 0x000000003d6852d2 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MutatePlainMergeTreeTask.cpp:0: DB::MutatePlainMergeTreeTask::executeStep() @ 0x000000003dabb8bd in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:15.110158 [ 6792 ] {743d8553-32d0-4477-9b65-24c7ae5ac9da} TCPHandler: Code: 341. DB::Exception: Exception happened during execution of mutations 'mutation_3.txt, mutation_4.txt' with part 'all_1_1_0' reason: 'Code: 241. DB::Exception: Memory limit (total) exceeded: would use 17.36 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build))'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d3f1fe4 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d3f1895 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000003da1202d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003da089db in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0598 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:15.110239 [ 2891 ] {aa27e864-009d-40bc-94d6-cd9fe04b385e} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 2424832 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnFixedString.cpp:214: DB::ColumnFixedString::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x000000003b06fbcc in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:44: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003efbe24c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eed0553 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8e96 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:15.110465 [ 1848 ] {6310ea5c-37a5-48c7-959b-9fa3d6e4b4eb} executeQuery: Code: 241. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1242095 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::WriteBuffer&, std::shared_ptr, void>(std::allocator const&, DB::WriteBuffer&, std::shared_ptr&&) @ 0x000000003e0dfb87 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TCPHandler::initBlockOutput(DB::Block const&) @ 0x000000003e0b91c6 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2009: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b06b4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a879a in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? : While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45588) (comment: 00149_quantiles_timing_distributed.sql) (in query: SELECT sum(cityHash64(*)) FROM (SELECT CounterID, quantileTiming(0.5)(SendTiming), count() FROM remote('127.0.0.{1,2,3,4,5,6,7,8,9,10}', test.hits) WHERE SendTiming != -1 GROUP BY CounterID);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a79c9a8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000002099cb18 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd5bd3f in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd76bb8 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de3c566 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036aa4c1c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036aa43c2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036aa3bd6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036aa1852 in /usr/bin/clickhouse 2026.10.27 19:17:15.110763 [ 4317 ] {29605ab6-ddbd-47cd-9daa-cf031296c5b2} TCPHandler: Client has gone away. 2026.10.27 19:17:16.221574 [ 4326 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:40588). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:16.221736 [ 4137 ] {af7f3d05-b63c-4135-9c4c-bb361c44cd11} executeQuery: Code: 80. DB::Exception: Explicit zookeeper_path and replica_name are specified in ReplicatedMergeTree arguments. If you really want to specify it explicitly, then you should use some macros to distinguish different shards and replicas. (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47928) (comment: 02377_majority_insert_quorum_zookeeper_long.sql) (in query: CREATE TABLE quorum1 (`x` UInt32, `y` Date) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/test_02377/quorum', '1') PARTITION BY y ORDER BY x SETTINGS index_granularity = 41667, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 1866, prefer_fetch_merged_part_size_threshold = 2214803005, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 12615480, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 79488, primary_key_compress_block_size = 48305), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [211]) @ 0x000000003717b697 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::checkQueryValid(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003713502f in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseReplicated.cpp:698: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000003713623c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c23a3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:16.221807 [ 4299 ] {c74a1b6b-5e1e-437b-9d04-1082dff18d69} TCPHandler: Client has gone away. 2026.10.27 19:17:16.221888 [ 2235 ] {55e8aad5-6ea5-470c-9021-8e1cd7d5413c::all_2_2_0_4} virtual bool DB::MutatePlainMergeTreeTask::executeStep(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 17.82 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList const&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&, bool, bool, DB::WriteSettings, DB::MergeTreeIndexGranularity&, void>(std::allocator const&, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList const&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&&, DB::WriteSettings&&, DB::MergeTreeIndexGranularity&) @ 0x000000003d6e183e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::MutateAllPartColumnsTask::prepare() @ 0x000000003d6dc7e3 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:1246: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6d5110 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:1754: DB::MutateTask::execute() @ 0x000000003d6852d2 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MutatePlainMergeTreeTask.cpp:0: DB::MutatePlainMergeTreeTask::executeStep() @ 0x000000003dabb8bd in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:16.222316 [ 7034 ] {b9af7ac3-7faa-4300-9238-1063b6937386} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:49024). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:16.222371 [ 2240 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 17.61 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::WriteBufferFromTemporaryFile::WriteBufferFromTemporaryFile(std::unique_ptr>&&) @ 0x0000000037253f84 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::TemporaryDataOnDisk::createRawStream(unsigned long) @ 0x000000003a63c2f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:296: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cda7825 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:16.222328 [ 1848 ] {6310ea5c-37a5-48c7-959b-9fa3d6e4b4eb} TCPHandler: Code: 241. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1242095 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::allocate_shared[abi:v15000], DB::WriteBuffer&, std::shared_ptr, void>(std::allocator const&, DB::WriteBuffer&, std::shared_ptr&&) @ 0x000000003e0dfb87 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TCPHandler::initBlockOutput(DB::Block const&) @ 0x000000003e0b91c6 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2009: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b06b4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a879a in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? : While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a79c9a8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000002099cb18 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd5bd3f in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd76bb8 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de3c566 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036aa4c1c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036aa43c2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036aa3bd6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036aa1852 in /usr/bin/clickhouse 2026.10.27 19:17:16.222686 [ 4497 ] {a3579c9f-7a4a-4d9f-ab7a-0a0ea5b1da05} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.10]:9000 -> [::ffff:127.0.0.1]:50170). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:16.222746 [ 7034 ] {b9af7ac3-7faa-4300-9238-1063b6937386} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:49024). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:16.222778 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.08 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ugp/gkrihvjenyhmddxtixladoamflehf, hash key: 190a53f4cbd925541cc5d013d4563108, file_offset_of_buffer_end: 0, read_until_position: 954, internal buffer end: 1437, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2981, file segment info: File segment: [0, 1436], key: 190a53f4cbd925541cc5d013d4563108, state: DOWNLOADING, downloaded size: 0, reserved size: 1437, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2981, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2981, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:16.228717 [ 7033 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:52224). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:16.229370 [ 7026 ] {428d408e-dc33-4cbe-8566-ca397fc687ef} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:33304). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:16.229404 [ 7032 ] {3b36e77f-c38c-42b0-903d-8b742b9cff3d} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:50790). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:16.229587 [ 7026 ] {428d408e-dc33-4cbe-8566-ca397fc687ef} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:33304). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b0eea in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a9945 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:16.229711 [ 7032 ] {3b36e77f-c38c-42b0-903d-8b742b9cff3d} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:50790). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProgress() @ 0x000000003e0aacc7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0aa06f in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:16.233452 [ 7027 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:41970). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:16.234458 [ 4497 ] {a3579c9f-7a4a-4d9f-ab7a-0a0ea5b1da05} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.10]:9000 -> [::ffff:127.0.0.1]:50170). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProgress() @ 0x000000003e0aacc7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0aa06f in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:16.238254 [ 5712 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 17.45 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:16.239416 [ 3070 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:50168). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:16.240621 [ 4137 ] {af7f3d05-b63c-4135-9c4c-bb361c44cd11} TCPHandler: Code: 80. DB::Exception: Explicit zookeeper_path and replica_name are specified in ReplicatedMergeTree arguments. If you really want to specify it explicitly, then you should use some macros to distinguish different shards and replicas. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [211]) @ 0x000000003717b697 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::checkQueryValid(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003713502f in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseReplicated.cpp:698: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000003713623c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c23a3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:16.240745 [ 6153 ] {233389ca-ac61-4415-aae4-2081e0ec1d23} TCPHandler: Client has gone away. 2026.10.27 19:17:16.240797 [ 4303 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:47684). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:16.242957 [ 7032 ] {3b36e77f-c38c-42b0-903d-8b742b9cff3d} TCPHandler: Client has gone away. 2026.10.27 19:17:16.243021 [ 1850 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:50774). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:16.246975 [ 4287 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:45368). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:16.253936 [ 6121 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:33292). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:16.257881 [ 5705 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:49008). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:16.264424 [ 4340 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:41968). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:16.267439 [ 5708 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:52216). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:16.271521 [ 7034 ] {b9af7ac3-7faa-4300-9238-1063b6937386} TCPHandler: Client has gone away. 2026.10.27 19:17:16.275763 [ 7026 ] {428d408e-dc33-4cbe-8566-ca397fc687ef} TCPHandler: Client has gone away. 2026.10.27 19:17:16.276194 [ 4497 ] {a3579c9f-7a4a-4d9f-ab7a-0a0ea5b1da05} TCPHandler: Client has gone away. 2026.10.27 19:17:17.052194 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.11 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ziq/jehilysnaytneeztgvafmvfcplxfo, hash key: 38d9b039a2f30399d5d1097a08d4cd57, file_offset_of_buffer_end: 1347, read_until_position: 1445, internal buffer end: 1445, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2724, file segment info: File segment: [0, 1444], key: 38d9b039a2f30399d5d1097a08d4cd57, state: DOWNLOADING, downloaded size: 0, reserved size: 1445, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2724, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2724, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:17.746964 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.32 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/dzz/ztpoztkoeduokdnpgyvatfzopdmac, hash key: 60b123fc3642a5ff54051e7f008a56ed, file_offset_of_buffer_end: 15778, read_until_position: 17723, internal buffer end: 18211, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2983, file segment info: File segment: [0, 18210], key: 60b123fc3642a5ff54051e7f008a56ed, state: DOWNLOADING, downloaded size: 0, reserved size: 17328, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2983, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2983, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:21.069159 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.95 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/gaf/xnngygdbthilrifxrvpbkznkmmuwn, hash key: db0dc59f0412750acc9ba2421d0d9510, file_offset_of_buffer_end: 21122, read_until_position: 23554, internal buffer end: 24042, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2936, file segment info: File segment: [0, 24041], key: db0dc59f0412750acc9ba2421d0d9510, state: DOWNLOADING, downloaded size: 0, reserved size: 24042, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2936, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2936, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:21.069252 [ 4488 ] {b0fe434b-e257-426d-9175-09cc4d695b45} executeQuery: Code: 6. DB::Exception: Cannot parse string 'some_string' as Int32: syntax error at begin of string. Note: there are toInt32OrZero and toInt32OrNull functions, which returns zero/NULL instead of throwing exception.: While processing _CAST('some_string' AS Value_tmp_alter12761783971601301191, 'Int32') AS Value: default expression and column type are incompatible. (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01522_validate_alter_default.sql) (in query: /* ddl_entry=query-0000000022 */ ALTER TABLE test_11.table2 MODIFY COLUMN `Value` DEFAULT 'some_string'), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000941cd1b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000941b894 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000987bc9c in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009846435 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000983f722 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000983e022 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093a377a in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000944c6c9 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 15. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 18. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 19. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 20. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x0000000037cc4718 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x0000000037cc5633 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/ColumnsDescription.cpp:847: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003b956691 in /usr/bin/clickhouse 2026.10.27 19:17:21.069402 [ 5712 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.55 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:26.399293 [ 2289 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::MetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.55 GiB (attempt to allocate chunk of 4276919 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IMergeTreeDataPart.cpp:138: DB::IMergeTreeDataPart::MinMaxIndex::store(std::vector> const&, std::vector, std::allocator>> const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003cc2a292 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::IMergeTreeDataPart::MinMaxIndex::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003cc28e2e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64f047 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:28.055660 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 4409853 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:0: DB::PODArray, 63ul, 64ul>::PODArray(char8_t const*, char8_t const*) @ 0x000000002089414a in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnString.cpp:0: DB::ColumnString::ColumnString(DB::ColumnString const&) @ 0x000000003b1a4448 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: COWHelper::clone() const @ 0x000000003b1c2342 in /usr/bin/clickhouse 10. DB::IColumn::mutate(COW::immutable_ptr) @ 0x000000000a9ad52a in /usr/bin/clickhouse 11. ./build_docker/./src/Core/Block.cpp:0: DB::Block::mutateColumns() @ 0x000000003627dffd in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:169: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d1043eb in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a4a9253 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a4a6542 in /usr/bin/clickhouse 27. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c31ce7 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c31bbf in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 31. ? @ 0x00007fc6eb378a83 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:28.055785 [ 4309 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:28.055950 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.32 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ugp/gkrihvjenyhmddxtixladoamflehf, hash key: 190a53f4cbd925541cc5d013d4563108, file_offset_of_buffer_end: 954, read_until_position: 1437, internal buffer end: 1437, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2692, file segment info: File segment: [0, 1436], key: 190a53f4cbd925541cc5d013d4563108, state: DOWNLOADING, downloaded size: 0, reserved size: 1437, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2692, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2692, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:28.056596 [ 2350 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::AsynchronousMetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 5206604 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3b72d3 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3b47b2 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c23847 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:28.056641 [ 4488 ] {b0fe434b-e257-426d-9175-09cc4d695b45} executeQuery: Code: 6. DB::Exception: Cannot parse string 'some_string' as Int32: syntax error at begin of string. Note: there are toInt32OrZero and toInt32OrNull functions, which returns zero/NULL instead of throwing exception.: While processing _CAST('some_string' AS Value_tmp_alter12761783971601301191, 'Int32') AS Value: default expression and column type are incompatible. (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50674) (comment: 01522_validate_alter_default.sql) (in query: ALTER TABLE table2 MODIFY COLUMN `Value` DEFAULT 'some_string';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000941cd1b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000941b894 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000987bc9c in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009846435 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000983f722 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000983e022 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093a377a in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000944c6c9 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 15. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 18. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 19. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 20. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x0000000037cc4718 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x0000000037cc5633 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/ColumnsDescription.cpp:847: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003b956691 in /usr/bin/clickhouse 2026.10.27 19:17:30.276851 [ 2292 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::PartLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 5234237 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a401a53 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3fed42 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c27d07 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:30.277057 [ 2296 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::QueryLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 4823112 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:30.277107 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 5114425 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:32.787664 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 4235262 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a483e53 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a481142 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2fca7 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:32.787737 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 4204989 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:34.142452 [ 3020 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:34.142681 [ 4399 ] {ca2a090c-2e5c-424d-becd-fb7762270412} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 1306624 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column PredLastVisit): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_7_7_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 74075): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:52020) (comment: 00020_distinct_order_by_distributed.sql) (in query: SELECT DISTINCT `PredLastVisit` AS `x` FROM `test`.`visits` ORDER BY `VisitID` ASC), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000095087c7 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f7eac6 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:34.142810 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.87 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/dzz/ztpoztkoeduokdnpgyvatfzopdmac, hash key: 60b123fc3642a5ff54051e7f008a56ed, file_offset_of_buffer_end: 14471, read_until_position: 16300, internal buffer end: 18211, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2921, file segment info: File segment: [0, 18210], key: 60b123fc3642a5ff54051e7f008a56ed, state: DOWNLOADING, downloaded size: 0, reserved size: 17328, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2921, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2921, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:34.142741 [ 2856 ] {0101ef18-dce9-45d4-b905-aec52dd2419e} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.52 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50740) (comment: 01415_sticking_mutations.sh) (in query: OPTIMIZE TABLE sticking_mutations FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:289: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d651ad1 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePart(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d649640 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::MergeTask::MergeProjectionsStage::finalizeProjectionsAndWholeMerge() const @ 0x000000003cdcaadc in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cddedbf in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::MergeProjectionsStage::execute() @ 0x000000003cdcaeae in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.h:104: DB::StorageMergeTree::merge(bool, String const&, bool, bool, std::vector> const&, bool, std::shared_ptr const&, String&, bool) @ 0x000000003da2690f in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/StorageMergeTree.cpp:1520: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000003da3ade7 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039ad3694 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 2026.10.27 19:17:34.142675 [ 4488 ] {b0fe434b-e257-426d-9175-09cc4d695b45} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'some_string' as Int32: syntax error at begin of string. Note: there are toInt32OrZero and toInt32OrNull functions, which returns zero/NULL instead of throwing exception.: While processing _CAST('some_string' AS Value_tmp_alter12761783971601301191, 'Int32') AS Value: default expression and column type are incompatible. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000941cd1b in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000941b894 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000987bc9c in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000009846435 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000983f722 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000983e022 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000093a377a in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000944c6c9 in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 15. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 18. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 19. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 20. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x0000000037cc4718 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x0000000037cc5633 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/ColumnsDescription.cpp:847: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003b956691 in /usr/bin/clickhouse 2026.10.27 19:17:34.143118 [ 2235 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.52 GiB (attempt to allocate chunk of 1050750 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:72: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d12504a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 15. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:35.561315 [ 2243 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} TemporaryFileOnDisk: Temporary path 'tmp03697c9d-ee31-42f7-9a55-d1b3daecc553' does not exist in '/var/lib/clickhouse/tmp/' 2026.10.27 19:17:36.022304 [ 2350 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::AsynchronousMetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.50 GiB (attempt to allocate chunk of 5116492 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3b72d3 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3b47b2 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c23847 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:36.022299 [ 4137 ] {2086ade2-f463-4ce8-9108-30639312d13c} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 1278416 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (avg_value_size_hint = 12.1270263671875, avg_chars_size = 4.952431640625001, limit = 32768): (while reading column MobilePhoneModel): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 204 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50650) (comment: 00159_parallel_formatting_csv_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c Format CSVWithNames), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff78e6 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:37.287904 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.52 GiB (attempt to allocate chunk of 4513532 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:37.288352 [ 6123 ] {e9af995f-34e2-4306-9377-83d66dab202d} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.52 GiB (attempt to allocate chunk of 1835176 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column URLCategories): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 48 with max_rows_to_read = 84825): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47952) (comment: 00030_array_enumerate_uniq.sql) (in query: SELECT max(arrayJoin(arrayEnumerateUniq(arrayMap(x -> intDiv(x, 10), URLCategories)))) FROM test.hits ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:222: DB::(anonymous namespace)::arrayOffsetsToSizes(DB::IColumn const&) @ 0x0000000036ebe606 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/SerializationArray.cpp:0: DB::SerializationArray::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036ec2f52 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:38.442590 [ 6799 ] {3475dc3b-65c7-4aed-b7ad-6791cd79ed03} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.48 GiB (attempt to allocate chunk of 1114301 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45670) (comment: 01275_alter_rename_column_default_expr.sql) (in query: INSERT INTO table_for_rename (date, key, value4, value5) SELECT toDate('2019-10-01') + number % 3, number, toString(number), toString(number + 1) from numbers(10, 10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 14. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1de0ed in /usr/bin/clickhouse 2026.10.27 19:17:39.209959 [ 4455 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.50 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:39.209964 [ 4305 ] {f1db250f-501f-4608-aa6c-4e374d697865} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.48 GiB (attempt to allocate chunk of 1048704 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column MobilePhoneModel): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 136 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50634) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b72 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:39.210176 [ 4399 ] {ca2a090c-2e5c-424d-becd-fb7762270412} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 1306624 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column PredLastVisit): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_7_7_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 74075): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000095087c7 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f7eac6 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:39.210192 [ 2856 ] {0101ef18-dce9-45d4-b905-aec52dd2419e} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.52 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:289: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d651ad1 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePart(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d649640 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::MergeTask::MergeProjectionsStage::finalizeProjectionsAndWholeMerge() const @ 0x000000003cdcaadc in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cddedbf in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::MergeProjectionsStage::execute() @ 0x000000003cdcaeae in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.h:104: DB::StorageMergeTree::merge(bool, String const&, bool, bool, std::vector> const&, bool, std::shared_ptr const&, String&, bool) @ 0x000000003da2690f in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/StorageMergeTree.cpp:1520: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000003da3ade7 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039ad3694 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 2026.10.27 19:17:39.210419 [ 4309 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.52 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:39.210323 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.11 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/gaf/xnngygdbthilrifxrvpbkznkmmuwn, hash key: db0dc59f0412750acc9ba2421d0d9510, file_offset_of_buffer_end: 19368, read_until_position: 21840, internal buffer end: 24042, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3327, file segment info: File segment: [0, 24041], key: db0dc59f0412750acc9ba2421d0d9510, state: DOWNLOADING, downloaded size: 0, reserved size: 24042, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3327, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3327, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:39.210525 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.49 GiB (attempt to allocate chunk of 5026721 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:39.210502 [ 2289 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::MetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.51 GiB (attempt to allocate chunk of 4194556 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:39.210737 [ 6799 ] {3475dc3b-65c7-4aed-b7ad-6791cd79ed03} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.48 GiB (attempt to allocate chunk of 1114301 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 14. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1de0ed in /usr/bin/clickhouse 2026.10.27 19:17:39.210693 [ 6123 ] {e9af995f-34e2-4306-9377-83d66dab202d} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.52 GiB (attempt to allocate chunk of 1835176 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column URLCategories): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 48 with max_rows_to_read = 84825): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:222: DB::(anonymous namespace)::arrayOffsetsToSizes(DB::IColumn const&) @ 0x0000000036ebe606 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/SerializationArray.cpp:0: DB::SerializationArray::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036ec2f52 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:39.210692 [ 4137 ] {2086ade2-f463-4ce8-9108-30639312d13c} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 1278416 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (avg_value_size_hint = 12.1270263671875, avg_chars_size = 4.952431640625001, limit = 32768): (while reading column MobilePhoneModel): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 204 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff78e6 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:40.996954 [ 4279 ] {963dbdb0-2b5f-4295-9194-3a0fd54d5ecc} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.53 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column ClientIP6): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50622) (comment: 00167_read_bytes_from_fs.sql) (in query: SELECT sum(cityHash64(*)) FROM test.hits SETTINGS max_threads=40;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:45: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770de9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 21. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:0: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d493acf in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 2026.10.27 19:17:40.997133 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.03 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ugp/gkrihvjenyhmddxtixladoamflehf, hash key: 190a53f4cbd925541cc5d013d4563108, file_offset_of_buffer_end: 954, read_until_position: 1437, internal buffer end: 1437, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2923, file segment info: File segment: [0, 1436], key: 190a53f4cbd925541cc5d013d4563108, state: DOWNLOADING, downloaded size: 0, reserved size: 1437, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2923, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2923, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:40.997308 [ 2243 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.49 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::WriteBufferFromTemporaryFile::WriteBufferFromTemporaryFile(std::unique_ptr>&&) @ 0x0000000037253f84 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::TemporaryDataOnDisk::createRawStream(unsigned long) @ 0x000000003a63c2f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:296: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cda7825 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:40.997618 [ 6137 ] {4af46424-c77c-4ee3-94c0-06098fd5ce08} executeQuery: Code: 241. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 1306624 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column PredLastVisit): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_7_7_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 74075): While executing MergeTreeThread. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000095087c7 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f7eac6 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? : While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50686) (comment: 00020_distinct_order_by_distributed.sql) (in query: SELECT count() FROM (SELECT DISTINCT PredLastVisit AS x FROM remote('127.0.0.{1,2}', test, visits) ORDER BY VisitID);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a79c9a8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000002099cb18 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd5bd3f in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd76bb8 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de3c566 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036aa4c1c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036aa43c2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036aa3bd6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036aa1852 in /usr/bin/clickhouse 2026.10.27 19:17:42.680268 [ 4305 ] {f1db250f-501f-4608-aa6c-4e374d697865} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.48 GiB (attempt to allocate chunk of 1048704 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column MobilePhoneModel): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 136 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b72 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:42.680292 [ 6137 ] {4af46424-c77c-4ee3-94c0-06098fd5ce08} TCPHandler: Code: 241. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 1306624 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column PredLastVisit): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_7_7_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 74075): While executing MergeTreeThread. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000095087c7 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f7eac6 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? : While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a79c9a8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000002099cb18 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd5bd3f in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd76bb8 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de3c566 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036aa4c1c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036aa43c2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036aa3bd6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036aa1852 in /usr/bin/clickhouse 2026.10.27 19:17:42.680491 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.29 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/zrb/nzykrebrjlwksuxjnchhfzbcktfig, hash key: bdb115688dc9762b9744e5546a026ea7, file_offset_of_buffer_end: 67506522, read_until_position: 75083625, internal buffer end: 68157440, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3390, file segment info: File segment: [67108864, 71303167], key: bdb115688dc9762b9744e5546a026ea7, state: DOWNLOADING, downloaded size: 0, reserved size: 397658, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3390, current write offset: 67108864, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3390, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:42.683936 [ 4488 ] {64d15790-d39c-4b0a-8601-22886fabfb8c} executeQuery: Code: 36. DB::Exception: Data type have to be specified for column `Value2` to add. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01522_validate_alter_default.sql) (in query: /* ddl_entry=query-0000000023 */ ALTER TABLE test_11.table2 ADD COLUMN `Value2` DEFAULT 'some_string'), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1089: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b9145a5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e02c5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 10. ./build_docker/./src/Databases/DatabaseReplicatedWorker.cpp:288: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x00000000371b9fe1 in /usr/bin/clickhouse 11. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x00000000371371dd in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395db03d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:42.754301 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.03 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/dzz/ztpoztkoeduokdnpgyvatfzopdmac, hash key: 60b123fc3642a5ff54051e7f008a56ed, file_offset_of_buffer_end: 13128, read_until_position: 14471, internal buffer end: 18211, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3352, file segment info: File segment: [0, 18210], key: 60b123fc3642a5ff54051e7f008a56ed, state: DOWNLOADING, downloaded size: 0, reserved size: 17328, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3352, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3352, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:42.794259 [ 4488 ] {64d15790-d39c-4b0a-8601-22886fabfb8c} executeQuery: Code: 36. DB::Exception: Data type have to be specified for column `Value2` to add. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50674) (comment: 01522_validate_alter_default.sql) (in query: ALTER TABLE table2 ADD COLUMN `Value2` DEFAULT 'some_string';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1089: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b9145a5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e02c5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 10. ./build_docker/./src/Databases/DatabaseReplicatedWorker.cpp:288: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x00000000371b9fe1 in /usr/bin/clickhouse 11. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x00000000371371dd in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395db03d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:42.795917 [ 4488 ] {64d15790-d39c-4b0a-8601-22886fabfb8c} TCPHandler: Code: 36. DB::Exception: Data type have to be specified for column `Value2` to add. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1089: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b9145a5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e02c5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 10. ./build_docker/./src/Databases/DatabaseReplicatedWorker.cpp:288: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x00000000371b9fe1 in /usr/bin/clickhouse 11. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x00000000371371dd in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395db03d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:42.819809 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.87 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/gaf/xnngygdbthilrifxrvpbkznkmmuwn, hash key: db0dc59f0412750acc9ba2421d0d9510, file_offset_of_buffer_end: 17902, read_until_position: 19368, internal buffer end: 24042, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2937, file segment info: File segment: [0, 24041], key: db0dc59f0412750acc9ba2421d0d9510, state: DOWNLOADING, downloaded size: 0, reserved size: 23192, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2937, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2937, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:42.822370 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.12 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ugp/gkrihvjenyhmddxtixladoamflehf, hash key: 190a53f4cbd925541cc5d013d4563108, file_offset_of_buffer_end: 954, read_until_position: 1437, internal buffer end: 1437, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3348, file segment info: File segment: [0, 1436], key: 190a53f4cbd925541cc5d013d4563108, state: DOWNLOADING, downloaded size: 0, reserved size: 1437, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3348, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3348, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:42.911620 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.10 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/dzz/ztpoztkoeduokdnpgyvatfzopdmac, hash key: 60b123fc3642a5ff54051e7f008a56ed, file_offset_of_buffer_end: 12100, read_until_position: 13530, internal buffer end: 18211, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3402, file segment info: File segment: [0, 18210], key: 60b123fc3642a5ff54051e7f008a56ed, state: DOWNLOADING, downloaded size: 0, reserved size: 17328, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3402, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3402, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:42.937466 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.62 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/gaf/xnngygdbthilrifxrvpbkznkmmuwn, hash key: db0dc59f0412750acc9ba2421d0d9510, file_offset_of_buffer_end: 16353, read_until_position: 18408, internal buffer end: 24042, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3274, file segment info: File segment: [0, 24041], key: db0dc59f0412750acc9ba2421d0d9510, state: DOWNLOADING, downloaded size: 0, reserved size: 24042, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3274, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3274, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:42.939079 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ugp/gkrihvjenyhmddxtixladoamflehf, hash key: 190a53f4cbd925541cc5d013d4563108, file_offset_of_buffer_end: 954, read_until_position: 1437, internal buffer end: 1437, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2694, file segment info: File segment: [0, 1436], key: 190a53f4cbd925541cc5d013d4563108, state: DOWNLOADING, downloaded size: 0, reserved size: 954, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2694, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2694, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:46.117860 [ 5925 ] {6ae500df-c9b1-4df2-8674-b124b35bbda9} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 27. DB::ParsingException: Cannot parse input: expected '\t' before: 'number\tname\n1\tClickHouse\n2\tHello\n3\tHedhehog\n': Row 1: Column 0, name: c1, type: UInt64, ERROR: text "numbernam" is not like UInt64 : (in file/uri http://localhost:11111/test/tsv_with_header.tsv): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x00000000209d7ff9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x0000000020990c57 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:0: DB::TabSeparatedFormatReader::skipFieldDelimiter() @ 0x000000003ea39237 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e478012 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3aa92c in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:0: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000003e7371e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000003e73313e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e7396a3 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:46.118482 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.14 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/dzz/ztpoztkoeduokdnpgyvatfzopdmac, hash key: 60b123fc3642a5ff54051e7f008a56ed, file_offset_of_buffer_end: 9203, read_until_position: 11008, internal buffer end: 18211, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2986, file segment info: File segment: [0, 18210], key: 60b123fc3642a5ff54051e7f008a56ed, state: DOWNLOADING, downloaded size: 0, reserved size: 17328, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2986, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2986, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:46.157629 [ 6769 ] {6ae500df-c9b1-4df2-8674-b124b35bbda9} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '\t' before: 'number\tname\n1\tClickHouse\n2\tHello\n3\tHedhehog\n': Row 1: Column 0, name: c1, type: UInt64, ERROR: text "numbernam" is not like UInt64 : While executing ParallelParsingBlockInputFormat: While executing URL: (in file/uri http://localhost:11111/test/tsv_with_header.tsv): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52238) (comment: 02270_errors_in_files_s3.sh) (in query: SELECT * FROM url('http://localhost:11111/test/{a,tsv_with_header}.tsv', 'TSV', 'c1 UInt64, c2 UInt64, c3 UInt64')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x00000000209d7ff9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x0000000020990c57 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:0: DB::TabSeparatedFormatReader::skipFieldDelimiter() @ 0x000000003ea39237 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e478012 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3aa92c in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:0: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000003e7371e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000003e73313e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e7396a3 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:46.183208 [ 6769 ] {6ae500df-c9b1-4df2-8674-b124b35bbda9} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '\t' before: 'number\tname\n1\tClickHouse\n2\tHello\n3\tHedhehog\n': Row 1: Column 0, name: c1, type: UInt64, ERROR: text "numbernam" is not like UInt64 : While executing ParallelParsingBlockInputFormat: While executing URL: (in file/uri http://localhost:11111/test/tsv_with_header.tsv): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x00000000209d7ff9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x0000000020990c57 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:0: DB::TabSeparatedFormatReader::skipFieldDelimiter() @ 0x000000003ea39237 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e478012 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3aa92c in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:0: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000003e7371e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000003e73313e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e7396a3 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:46.216309 [ 6769 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:52238). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:46.266450 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.08 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/gaf/xnngygdbthilrifxrvpbkznkmmuwn, hash key: db0dc59f0412750acc9ba2421d0d9510, file_offset_of_buffer_end: 11247, read_until_position: 14697, internal buffer end: 24042, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2908, file segment info: File segment: [0, 24041], key: db0dc59f0412750acc9ba2421d0d9510, state: DOWNLOADING, downloaded size: 0, reserved size: 24042, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2908, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2908, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:46.281165 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.66 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ugp/gkrihvjenyhmddxtixladoamflehf, hash key: 190a53f4cbd925541cc5d013d4563108, file_offset_of_buffer_end: 0, read_until_position: 954, internal buffer end: 1437, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2731, file segment info: File segment: [0, 1436], key: 190a53f4cbd925541cc5d013d4563108, state: DOWNLOADING, downloaded size: 0, reserved size: 1437, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2731, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2731, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:46.669786 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.57 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/dzz/ztpoztkoeduokdnpgyvatfzopdmac, hash key: 60b123fc3642a5ff54051e7f008a56ed, file_offset_of_buffer_end: 7700, read_until_position: 9203, internal buffer end: 18211, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3420, file segment info: File segment: [0, 18210], key: 60b123fc3642a5ff54051e7f008a56ed, state: DOWNLOADING, downloaded size: 0, reserved size: 18211, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3420, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3420, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:46.745729 [ 4279 ] {963dbdb0-2b5f-4295-9194-3a0fd54d5ecc} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.53 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column ClientIP6): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:45: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770de9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 21. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:0: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d493acf in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 2026.10.27 19:17:46.854909 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.12 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/gaf/xnngygdbthilrifxrvpbkznkmmuwn, hash key: db0dc59f0412750acc9ba2421d0d9510, file_offset_of_buffer_end: 9079, read_until_position: 11247, internal buffer end: 24042, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3275, file segment info: File segment: [0, 24041], key: db0dc59f0412750acc9ba2421d0d9510, state: DOWNLOADING, downloaded size: 0, reserved size: 24042, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3275, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3275, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:46.883298 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.92 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ugp/gkrihvjenyhmddxtixladoamflehf, hash key: 190a53f4cbd925541cc5d013d4563108, file_offset_of_buffer_end: 0, read_until_position: 954, internal buffer end: 1437, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3382, file segment info: File segment: [0, 1436], key: 190a53f4cbd925541cc5d013d4563108, state: DOWNLOADING, downloaded size: 0, reserved size: 1437, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3382, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3382, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:47.248905 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.65 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/dzz/ztpoztkoeduokdnpgyvatfzopdmac, hash key: 60b123fc3642a5ff54051e7f008a56ed, file_offset_of_buffer_end: 6114, read_until_position: 8088, internal buffer end: 18211, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2611, file segment info: File segment: [0, 18210], key: 60b123fc3642a5ff54051e7f008a56ed, state: DOWNLOADING, downloaded size: 0, reserved size: 18211, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2611, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2611, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:47.345935 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.87 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/gaf/xnngygdbthilrifxrvpbkznkmmuwn, hash key: db0dc59f0412750acc9ba2421d0d9510, file_offset_of_buffer_end: 7011, read_until_position: 9602, internal buffer end: 24042, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2941, file segment info: File segment: [0, 24041], key: db0dc59f0412750acc9ba2421d0d9510, state: DOWNLOADING, downloaded size: 0, reserved size: 23192, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2941, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2941, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:47.360386 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.02 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ugp/gkrihvjenyhmddxtixladoamflehf, hash key: 190a53f4cbd925541cc5d013d4563108, file_offset_of_buffer_end: 0, read_until_position: 954, internal buffer end: 1437, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2941, file segment info: File segment: [0, 1436], key: 190a53f4cbd925541cc5d013d4563108, state: DOWNLOADING, downloaded size: 0, reserved size: 1437, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2941, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2941, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:47.685989 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.81 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/jzx/fbmiqrufcxkhyypjeopdewuqfrhqp, hash key: 1a326bc55caeaca4762275f53f2ad407, file_offset_of_buffer_end: 0, read_until_position: 808, internal buffer end: 808, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3339, file segment info: File segment: [0, 807], key: 1a326bc55caeaca4762275f53f2ad407, state: DOWNLOADING, downloaded size: 0, reserved size: 808, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3339, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3339, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:47.698525 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.87 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ypc/ibmlatxbdzocqjwhufkrxmftruacy, hash key: 5169fb550acb07c48d5f3bbc369ea718, file_offset_of_buffer_end: 0, read_until_position: 7427, internal buffer end: 7427, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2928, file segment info: File segment: [0, 7426], key: 5169fb550acb07c48d5f3bbc369ea718, state: DOWNLOADING, downloaded size: 0, reserved size: 7427, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2928, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2928, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:47.728136 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/dzz/ztpoztkoeduokdnpgyvatfzopdmac, hash key: 60b123fc3642a5ff54051e7f008a56ed, file_offset_of_buffer_end: 17328, read_until_position: 18211, internal buffer end: 18211, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2517, file segment info: File segment: [0, 18210], key: 60b123fc3642a5ff54051e7f008a56ed, state: DOWNLOADING, downloaded size: 0, reserved size: 17328, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2517, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2517, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:47.844507 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/gaf/xnngygdbthilrifxrvpbkznkmmuwn, hash key: db0dc59f0412750acc9ba2421d0d9510, file_offset_of_buffer_end: 23192, read_until_position: 24042, internal buffer end: 24042, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3388, file segment info: File segment: [0, 24041], key: db0dc59f0412750acc9ba2421d0d9510, state: DOWNLOADING, downloaded size: 0, reserved size: 23192, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3388, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3388, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:47.869002 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/hid/upzqbfthfelalzwifwwkbvhjaxavv, hash key: 88c6e031a1a8bc4b9ded00a0bdff4028, file_offset_of_buffer_end: 25195, read_until_position: 37171, internal buffer end: 37171, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3431, file segment info: File segment: [0, 37170], key: 88c6e031a1a8bc4b9ded00a0bdff4028, state: DOWNLOADING, downloaded size: 0, reserved size: 25195, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3431, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3431, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:47.906052 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.10 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ugp/gkrihvjenyhmddxtixladoamflehf, hash key: 190a53f4cbd925541cc5d013d4563108, file_offset_of_buffer_end: 954, read_until_position: 1437, internal buffer end: 1437, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3389, file segment info: File segment: [0, 1436], key: 190a53f4cbd925541cc5d013d4563108, state: DOWNLOADING, downloaded size: 0, reserved size: 1437, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3389, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3389, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:48.372926 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.08 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/dzz/ztpoztkoeduokdnpgyvatfzopdmac, hash key: 60b123fc3642a5ff54051e7f008a56ed, file_offset_of_buffer_end: 2873, read_until_position: 4811, internal buffer end: 18211, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2972, file segment info: File segment: [0, 18210], key: 60b123fc3642a5ff54051e7f008a56ed, state: DOWNLOADING, downloaded size: 0, reserved size: 17328, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2972, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2972, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:48.622439 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.03 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/gaf/xnngygdbthilrifxrvpbkznkmmuwn, hash key: db0dc59f0412750acc9ba2421d0d9510, file_offset_of_buffer_end: 3282, read_until_position: 5445, internal buffer end: 24042, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2364, file segment info: File segment: [0, 24041], key: db0dc59f0412750acc9ba2421d0d9510, state: DOWNLOADING, downloaded size: 0, reserved size: 24042, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2364, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2364, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:48.629025 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.87 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ugp/gkrihvjenyhmddxtixladoamflehf, hash key: 190a53f4cbd925541cc5d013d4563108, file_offset_of_buffer_end: 0, read_until_position: 954, internal buffer end: 1437, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2716, file segment info: File segment: [0, 1436], key: 190a53f4cbd925541cc5d013d4563108, state: DOWNLOADING, downloaded size: 0, reserved size: 1437, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2716, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2716, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:48.935991 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.53 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ugp/gkrihvjenyhmddxtixladoamflehf, hash key: 190a53f4cbd925541cc5d013d4563108, file_offset_of_buffer_end: 0, read_until_position: 954, internal buffer end: 1437, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2955, file segment info: File segment: [0, 1436], key: 190a53f4cbd925541cc5d013d4563108, state: DOWNLOADING, downloaded size: 0, reserved size: 1437, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2955, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2955, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:49.286078 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.87 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/jzx/fbmiqrufcxkhyypjeopdewuqfrhqp, hash key: 1a326bc55caeaca4762275f53f2ad407, file_offset_of_buffer_end: 0, read_until_position: 808, internal buffer end: 808, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3325, file segment info: File segment: [0, 807], key: 1a326bc55caeaca4762275f53f2ad407, state: DOWNLOADING, downloaded size: 0, reserved size: 808, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3325, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3325, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:49.300847 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.82 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ypc/ibmlatxbdzocqjwhufkrxmftruacy, hash key: 5169fb550acb07c48d5f3bbc369ea718, file_offset_of_buffer_end: 0, read_until_position: 7427, internal buffer end: 7427, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3439, file segment info: File segment: [0, 7426], key: 5169fb550acb07c48d5f3bbc369ea718, state: DOWNLOADING, downloaded size: 0, reserved size: 7427, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3439, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3439, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:49.319050 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.08 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/dzz/ztpoztkoeduokdnpgyvatfzopdmac, hash key: 60b123fc3642a5ff54051e7f008a56ed, file_offset_of_buffer_end: 4273, read_until_position: 6114, internal buffer end: 18211, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2689, file segment info: File segment: [0, 18210], key: 60b123fc3642a5ff54051e7f008a56ed, state: DOWNLOADING, downloaded size: 0, reserved size: 17328, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2689, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2689, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:49.444295 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.27 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/gaf/xnngygdbthilrifxrvpbkznkmmuwn, hash key: db0dc59f0412750acc9ba2421d0d9510, file_offset_of_buffer_end: 4913, read_until_position: 7011, internal buffer end: 24042, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2467, file segment info: File segment: [0, 24041], key: db0dc59f0412750acc9ba2421d0d9510, state: DOWNLOADING, downloaded size: 0, reserved size: 24042, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2467, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2467, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:49.490196 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.08 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ugp/gkrihvjenyhmddxtixladoamflehf, hash key: 190a53f4cbd925541cc5d013d4563108, file_offset_of_buffer_end: 0, read_until_position: 954, internal buffer end: 1437, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3432, file segment info: File segment: [0, 1436], key: 190a53f4cbd925541cc5d013d4563108, state: DOWNLOADING, downloaded size: 0, reserved size: 1437, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3432, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3432, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:50.195459 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.02 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ziq/jehilysnaytneeztgvafmvfcplxfo, hash key: 38d9b039a2f30399d5d1097a08d4cd57, file_offset_of_buffer_end: 678, read_until_position: 1445, internal buffer end: 1445, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3341, file segment info: File segment: [0, 1444], key: 38d9b039a2f30399d5d1097a08d4cd57, state: DOWNLOADING, downloaded size: 0, reserved size: 1445, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3341, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3341, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:50.332168 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.52 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ziq/jehilysnaytneeztgvafmvfcplxfo, hash key: 38d9b039a2f30399d5d1097a08d4cd57, file_offset_of_buffer_end: 678, read_until_position: 1347, internal buffer end: 1445, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2686, file segment info: File segment: [0, 1444], key: 38d9b039a2f30399d5d1097a08d4cd57, state: DOWNLOADING, downloaded size: 0, reserved size: 1445, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2686, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2686, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:51.397223 [ 6790 ] {5e701090-5b38-40ea-8435-b55706209772} executeQuery: Code: 241. DB::Exception: Memory tracker (for thread): fault injected (at specific point). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51690) (comment: 02260_alter_compact_part_drop_nested_column.gen.sql) (in query: -- force columns creation OPTIMIZE TABLE compact_alter_100000 FINAL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, char const*&&) @ 0x000000002087620c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:184: MemoryTracker::injectFault() const @ 0x000000002087177d in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:129: CurrentMemoryTracker::injectFault() @ 0x000000002078f7bf in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ThreadFuzzer.cpp:242: DB::ThreadFuzzer::maybeInjectMemoryLimitException() @ 0x00000000209251b6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::finish() @ 0x000000003dab496f in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.h:104: DB::StorageMergeTree::merge(bool, String const&, bool, bool, std::vector> const&, bool, std::shared_ptr const&, String&, bool) @ 0x000000003da2690f in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:1520: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000003da3ade7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039ad3694 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:51.397275 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/xza/hrtbdcwcbvxsavyfobgvlckccuoyn, hash key: f5042385795cddc554e5e82cd81b5132, file_offset_of_buffer_end: 429330, read_until_position: 484618, internal buffer end: 601454, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3179, file segment info: File segment: [0, 601453], key: f5042385795cddc554e5e82cd81b5132, state: DOWNLOADING, downloaded size: 0, reserved size: 429330, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3179, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3179, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:51.398535 [ 6790 ] {5e701090-5b38-40ea-8435-b55706209772} TCPHandler: Code: 241. DB::Exception: Memory tracker (for thread): fault injected (at specific point). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, char const*&&) @ 0x000000002087620c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:184: MemoryTracker::injectFault() const @ 0x000000002087177d in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:129: CurrentMemoryTracker::injectFault() @ 0x000000002078f7bf in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ThreadFuzzer.cpp:242: DB::ThreadFuzzer::maybeInjectMemoryLimitException() @ 0x00000000209251b6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::finish() @ 0x000000003dab496f in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.h:104: DB::StorageMergeTree::merge(bool, String const&, bool, bool, std::vector> const&, bool, std::shared_ptr const&, String&, bool) @ 0x000000003da2690f in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:1520: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000003da3ade7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039ad3694 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:51.409287 [ 5919 ] {a26be417-7d4d-4f4a-aa46-ce3a599774b5} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 27. DB::ParsingException: Cannot parse input: expected '\t' before: 'number\tname\n1\tClickHouse\n2\tHello\n3\tHedhehog\n': Row 1: Column 0, name: c1, type: UInt64, ERROR: text "numbernam" is not like UInt64 : (in file/uri tsv_with_header.tsv): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x00000000209d7ff9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x0000000020990c57 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:0: DB::TabSeparatedFormatReader::skipFieldDelimiter() @ 0x000000003ea39237 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e478012 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3aa92c in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:0: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000003e7371e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000003e73313e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e7396a3 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:51.414965 [ 4374 ] {a26be417-7d4d-4f4a-aa46-ce3a599774b5} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '\t' before: 'number\tname\n1\tClickHouse\n2\tHello\n3\tHedhehog\n': Row 1: Column 0, name: c1, type: UInt64, ERROR: text "numbernam" is not like UInt64 : While executing ParallelParsingBlockInputFormat: While executing S3: (in file/uri tsv_with_header.tsv): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51692) (comment: 02270_errors_in_files_s3.sh) (in query: SELECT * FROM s3('http://localhost:11111/test/{a,tsv_with_header}.tsv', 'TSV', 'c1 UInt64, c2 UInt64, c3 UInt64')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x00000000209d7ff9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x0000000020990c57 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:0: DB::TabSeparatedFormatReader::skipFieldDelimiter() @ 0x000000003ea39237 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e478012 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3aa92c in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:0: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000003e7371e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000003e73313e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e7396a3 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:51.426289 [ 4374 ] {a26be417-7d4d-4f4a-aa46-ce3a599774b5} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '\t' before: 'number\tname\n1\tClickHouse\n2\tHello\n3\tHedhehog\n': Row 1: Column 0, name: c1, type: UInt64, ERROR: text "numbernam" is not like UInt64 : While executing ParallelParsingBlockInputFormat: While executing S3: (in file/uri tsv_with_header.tsv): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x00000000209d7ff9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x0000000020990c57 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:0: DB::TabSeparatedFormatReader::skipFieldDelimiter() @ 0x000000003ea39237 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e478012 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3aa92c in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:0: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000003e7371e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000003e73313e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e7396a3 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:51.442624 [ 4374 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:51692). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:51.510444 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.89 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ziq/jehilysnaytneeztgvafmvfcplxfo, hash key: 38d9b039a2f30399d5d1097a08d4cd57, file_offset_of_buffer_end: 678, read_until_position: 1347, internal buffer end: 1445, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2673, file segment info: File segment: [0, 1444], key: 38d9b039a2f30399d5d1097a08d4cd57, state: DOWNLOADING, downloaded size: 0, reserved size: 1445, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2673, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2673, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:51.515647 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/axf/wxtzjanypdmerxxcippwabcmdcayi, hash key: b410f2539c02b9b003595d77dba3025a, file_offset_of_buffer_end: 2795, read_until_position: 6167, internal buffer end: 7142, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2607, file segment info: File segment: [0, 7141], key: b410f2539c02b9b003595d77dba3025a, state: DOWNLOADING, downloaded size: 0, reserved size: 2795, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2607, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2607, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:51.528451 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ebr/cqinjfxpnytposkbexqcapfdfwvov, hash key: a47f967dbb7ac94000ad685f5cd5e7bb, file_offset_of_buffer_end: 856277, read_until_position: 934050, internal buffer end: 1048576, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2932, file segment info: File segment: [0, 1114253], key: a47f967dbb7ac94000ad685f5cd5e7bb, state: DOWNLOADING, downloaded size: 0, reserved size: 856277, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2932, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2932, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:51.636598 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ouh/qcrjauvhhxcnlhbrfezicovdxgihi, hash key: afdd71bb96375dff1917d4732ce417a9, file_offset_of_buffer_end: 458764, read_until_position: 519691, internal buffer end: 641310, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3364, file segment info: File segment: [0, 641309], key: afdd71bb96375dff1917d4732ce417a9, state: DOWNLOADING, downloaded size: 0, reserved size: 458764, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3364, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3364, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:51.914485 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.08 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ziq/jehilysnaytneeztgvafmvfcplxfo, hash key: 38d9b039a2f30399d5d1097a08d4cd57, file_offset_of_buffer_end: 678, read_until_position: 1347, internal buffer end: 1445, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3377, file segment info: File segment: [0, 1444], key: 38d9b039a2f30399d5d1097a08d4cd57, state: DOWNLOADING, downloaded size: 0, reserved size: 1445, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3377, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3377, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:52.205090 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.77 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ziq/jehilysnaytneeztgvafmvfcplxfo, hash key: 38d9b039a2f30399d5d1097a08d4cd57, file_offset_of_buffer_end: 678, read_until_position: 1347, internal buffer end: 1445, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2925, file segment info: File segment: [0, 1444], key: 38d9b039a2f30399d5d1097a08d4cd57, state: DOWNLOADING, downloaded size: 0, reserved size: 1445, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2925, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2925, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:52.369295 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.80 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/uil/pgpetjpjkmwclplybieshqovyuuyo, hash key: 89a4ea8153680a3b5f0d887baa395bad, file_offset_of_buffer_end: 14838, read_until_position: 35425, internal buffer end: 42394, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3375, file segment info: File segment: [0, 42393], key: 89a4ea8153680a3b5f0d887baa395bad, state: DOWNLOADING, downloaded size: 0, reserved size: 14838, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3375, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3375, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:52.370357 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.81 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/sjr/burcykdxbzbkrosngjojhzpizhmwv, hash key: 678f00c8256ed218a1fbee692d7e350c, file_offset_of_buffer_end: 14736, read_until_position: 33767, internal buffer end: 39426, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3397, file segment info: File segment: [0, 39425], key: 678f00c8256ed218a1fbee692d7e350c, state: DOWNLOADING, downloaded size: 0, reserved size: 14736, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3397, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3397, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:52.371390 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.87 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ziq/jehilysnaytneeztgvafmvfcplxfo, hash key: 38d9b039a2f30399d5d1097a08d4cd57, file_offset_of_buffer_end: 678, read_until_position: 1347, internal buffer end: 1445, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3378, file segment info: File segment: [0, 1444], key: 38d9b039a2f30399d5d1097a08d4cd57, state: DOWNLOADING, downloaded size: 0, reserved size: 1445, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3378, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3378, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:53.195762 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.33 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ziq/jehilysnaytneeztgvafmvfcplxfo, hash key: 38d9b039a2f30399d5d1097a08d4cd57, file_offset_of_buffer_end: 0, read_until_position: 678, internal buffer end: 1445, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3426, file segment info: File segment: [0, 1444], key: 38d9b039a2f30399d5d1097a08d4cd57, state: DOWNLOADING, downloaded size: 0, reserved size: 1445, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3426, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3426, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:53.717969 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.90 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ziq/jehilysnaytneeztgvafmvfcplxfo, hash key: 38d9b039a2f30399d5d1097a08d4cd57, file_offset_of_buffer_end: 0, read_until_position: 678, internal buffer end: 1445, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3179, file segment info: File segment: [0, 1444], key: 38d9b039a2f30399d5d1097a08d4cd57, state: DOWNLOADING, downloaded size: 0, reserved size: 1445, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3179, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3179, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:53.927349 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.81 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/mpe/eaqgbeefphajwkauwqbwwbknkgdnz, hash key: f961b04af5a73271c01afa048cdba52e, file_offset_of_buffer_end: 5667, read_until_position: 8221, internal buffer end: 25115, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2904, file segment info: File segment: [0, 25114], key: f961b04af5a73271c01afa048cdba52e, state: DOWNLOADING, downloaded size: 0, reserved size: 5667, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2904, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2904, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:53.939797 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.80 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/xms/padynpaibcbhyivsnoaatboxoybgi, hash key: 71b1aeeaaddedc9530268ff6bec7ab11, file_offset_of_buffer_end: 6672, read_until_position: 9254, internal buffer end: 28948, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3392, file segment info: File segment: [0, 28947], key: 71b1aeeaaddedc9530268ff6bec7ab11, state: DOWNLOADING, downloaded size: 0, reserved size: 6672, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3392, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3392, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:53.941750 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.77 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ziq/jehilysnaytneeztgvafmvfcplxfo, hash key: 38d9b039a2f30399d5d1097a08d4cd57, file_offset_of_buffer_end: 0, read_until_position: 678, internal buffer end: 1445, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3339, file segment info: File segment: [0, 1444], key: 38d9b039a2f30399d5d1097a08d4cd57, state: DOWNLOADING, downloaded size: 0, reserved size: 1445, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3339, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3339, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:54.440366 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.80 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ccj/mikmrjrvukxrjlnylrtcvoyhvbwhp, hash key: 12b5cb729b7091b54e0a8f85a0ce13d2, file_offset_of_buffer_end: 36909, read_until_position: 49965, internal buffer end: 302507, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3277, file segment info: File segment: [0, 302506], key: 12b5cb729b7091b54e0a8f85a0ce13d2, state: DOWNLOADING, downloaded size: 0, reserved size: 36909, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3277, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3277, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:54.446046 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.80 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ziq/jehilysnaytneeztgvafmvfcplxfo, hash key: 38d9b039a2f30399d5d1097a08d4cd57, file_offset_of_buffer_end: 0, read_until_position: 678, internal buffer end: 1445, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3406, file segment info: File segment: [0, 1444], key: 38d9b039a2f30399d5d1097a08d4cd57, state: DOWNLOADING, downloaded size: 0, reserved size: 1445, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3406, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3406, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:54.473099 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.29 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/dvv/nhxevtkxikpamazefxfchyreafdhj, hash key: 2ee61450a59d01fbd0e145944236ad13, file_offset_of_buffer_end: 8562564, read_until_position: 13895654, internal buffer end: 5242880, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3411, file segment info: File segment: [4194304, 12582911], key: 2ee61450a59d01fbd0e145944236ad13, state: DOWNLOADING, downloaded size: 0, reserved size: 1048576, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3411, current write offset: 4194304, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3411, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:54.498816 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.87 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/mpe/eaqgbeefphajwkauwqbwwbknkgdnz, hash key: f961b04af5a73271c01afa048cdba52e, file_offset_of_buffer_end: 2312, read_until_position: 4485, internal buffer end: 25115, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2622, file segment info: File segment: [0, 25114], key: f961b04af5a73271c01afa048cdba52e, state: DOWNLOADING, downloaded size: 0, reserved size: 5667, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2622, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2622, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:54.527551 [ 4455 ] {fb8b81fd-f028-4201-9f87-fb267f41e676} executeQuery: Code: 10. DB::Exception: Not found column CounterID in block. There are only columns: k, quantileBFloat16(0.5)(ResolutionWidth): While executing Remote. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52222) (comment: 00164_quantileBfloat16.sql) (in query: SELECT CounterID AS k, quantileBFloat16(0.5)(ResolutionWidth) FROM remote('127.0.0.{1,2}', test.hits) GROUP BY k ORDER BY count() DESC, CounterID LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfb3eb5 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/Block.cpp:315: DB::Block::getByName(String const&, bool) const @ 0x0000000036279def in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:215: DB::adaptBlockStructure(DB::Block const&, DB::Block const&) @ 0x0000000036a76486 in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:112: DB::RemoteQueryExecutor::processPacket(DB::Packet) @ 0x0000000036a6ed7c in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:390: DB::RemoteQueryExecutor::readAsync() @ 0x0000000036a73627 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:123: DB::RemoteSource::tryGenerate() @ 0x000000003ee22072 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:54.535496 [ 4340 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:55902). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:54.535659 [ 4455 ] {fb8b81fd-f028-4201-9f87-fb267f41e676} TCPHandler: Code: 10. DB::Exception: Not found column CounterID in block. There are only columns: k, quantileBFloat16(0.5)(ResolutionWidth): While executing Remote. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfb3eb5 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/Block.cpp:315: DB::Block::getByName(String const&, bool) const @ 0x0000000036279def in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:215: DB::adaptBlockStructure(DB::Block const&, DB::Block const&) @ 0x0000000036a76486 in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:112: DB::RemoteQueryExecutor::processPacket(DB::Packet) @ 0x0000000036a6ed7c in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:390: DB::RemoteQueryExecutor::readAsync() @ 0x0000000036a73627 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:123: DB::RemoteSource::tryGenerate() @ 0x000000003ee22072 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:54.565821 [ 4303 ] {31d8ef62-e887-49c4-bd98-e2b75a4478dd} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:38114). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:38114) (comment: 00164_quantileBfloat16.sql) (in query: SELECT `CounterID` AS `k`, quantileBFloat16(0.5)(`ResolutionWidth`) FROM `test`.`hits` GROUP BY `k` ORDER BY count() DESC, `CounterID` ASC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProgress() @ 0x000000003e0aacc7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0aa06f in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:54.567098 [ 4303 ] {31d8ef62-e887-49c4-bd98-e2b75a4478dd} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:38114). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:54.567258 [ 4303 ] {31d8ef62-e887-49c4-bd98-e2b75a4478dd} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:38114). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProgress() @ 0x000000003e0aacc7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0aa06f in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:17:54.567767 [ 4303 ] {31d8ef62-e887-49c4-bd98-e2b75a4478dd} TCPHandler: Client has gone away. 2026.10.27 19:17:54.615665 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.87 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/xms/padynpaibcbhyivsnoaatboxoybgi, hash key: 71b1aeeaaddedc9530268ff6bec7ab11, file_offset_of_buffer_end: 2673, read_until_position: 5282, internal buffer end: 28948, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2954, file segment info: File segment: [0, 28947], key: 71b1aeeaaddedc9530268ff6bec7ab11, state: DOWNLOADING, downloaded size: 0, reserved size: 6672, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2954, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2954, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:54.718510 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.75 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ziq/jehilysnaytneeztgvafmvfcplxfo, hash key: 38d9b039a2f30399d5d1097a08d4cd57, file_offset_of_buffer_end: 0, read_until_position: 678, internal buffer end: 1445, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3406, file segment info: File segment: [0, 1444], key: 38d9b039a2f30399d5d1097a08d4cd57, state: DOWNLOADING, downloaded size: 0, reserved size: 1445, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3406, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3406, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:54.895014 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.64 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ziq/jehilysnaytneeztgvafmvfcplxfo, hash key: 38d9b039a2f30399d5d1097a08d4cd57, file_offset_of_buffer_end: 0, read_until_position: 678, internal buffer end: 1445, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3362, file segment info: File segment: [0, 1444], key: 38d9b039a2f30399d5d1097a08d4cd57, state: DOWNLOADING, downloaded size: 0, reserved size: 1445, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3362, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3362, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:54.987287 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.14 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ziq/jehilysnaytneeztgvafmvfcplxfo, hash key: 38d9b039a2f30399d5d1097a08d4cd57, file_offset_of_buffer_end: 0, read_until_position: 678, internal buffer end: 1445, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2907, file segment info: File segment: [0, 1444], key: 38d9b039a2f30399d5d1097a08d4cd57, state: DOWNLOADING, downloaded size: 0, reserved size: 1445, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2907, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2907, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:55.089642 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.02 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/zmu/zrrbbxauoxfpefqsxxbodkuxhzkpj, hash key: b619ff571f09a149606da2333e26b267, file_offset_of_buffer_end: 0, read_until_position: 37737, internal buffer end: 37737, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2905, file segment info: File segment: [0, 37736], key: b619ff571f09a149606da2333e26b267, state: DOWNLOADING, downloaded size: 0, reserved size: 37737, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2905, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2905, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:55.341464 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.28 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/vew/rctdpcknrcgefvucvjlhihxxtrdvl, hash key: c91c907b87e97e0cb3baaa194ab87d35, file_offset_of_buffer_end: 58899583, read_until_position: 66022860, internal buffer end: 59768832, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2954, file segment info: File segment: [58720256, 62914559], key: c91c907b87e97e0cb3baaa194ab87d35, state: DOWNLOADING, downloaded size: 0, reserved size: 179327, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2954, current write offset: 58720256, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2954, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:55.346222 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.11 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/zmu/zrrbbxauoxfpefqsxxbodkuxhzkpj, hash key: b619ff571f09a149606da2333e26b267, file_offset_of_buffer_end: 0, read_until_position: 37737, internal buffer end: 37737, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3372, file segment info: File segment: [0, 37736], key: b619ff571f09a149606da2333e26b267, state: DOWNLOADING, downloaded size: 0, reserved size: 37737, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3372, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3372, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:55.610766 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/zmu/zrrbbxauoxfpefqsxxbodkuxhzkpj, hash key: b619ff571f09a149606da2333e26b267, file_offset_of_buffer_end: 0, read_until_position: 37737, internal buffer end: 37737, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2690, file segment info: File segment: [0, 37736], key: b619ff571f09a149606da2333e26b267, state: DOWNLOADING, downloaded size: 0, reserved size: 37737, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2690, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2690, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:56.669589 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.08 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/zmu/zrrbbxauoxfpefqsxxbodkuxhzkpj, hash key: b619ff571f09a149606da2333e26b267, file_offset_of_buffer_end: 0, read_until_position: 37737, internal buffer end: 37737, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3414, file segment info: File segment: [0, 37736], key: b619ff571f09a149606da2333e26b267, state: DOWNLOADING, downloaded size: 0, reserved size: 37737, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3414, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3414, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:57.230400 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.83 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/zmu/zrrbbxauoxfpefqsxxbodkuxhzkpj, hash key: b619ff571f09a149606da2333e26b267, file_offset_of_buffer_end: 0, read_until_position: 37737, internal buffer end: 37737, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3338, file segment info: File segment: [0, 37736], key: b619ff571f09a149606da2333e26b267, state: DOWNLOADING, downloaded size: 0, reserved size: 37737, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3338, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3338, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:57.331641 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.33 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/zmu/zrrbbxauoxfpefqsxxbodkuxhzkpj, hash key: b619ff571f09a149606da2333e26b267, file_offset_of_buffer_end: 0, read_until_position: 37737, internal buffer end: 37737, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2521, file segment info: File segment: [0, 37736], key: b619ff571f09a149606da2333e26b267, state: DOWNLOADING, downloaded size: 0, reserved size: 37737, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2521, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2521, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:57.612977 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.89 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/zmu/zrrbbxauoxfpefqsxxbodkuxhzkpj, hash key: b619ff571f09a149606da2333e26b267, file_offset_of_buffer_end: 0, read_until_position: 37737, internal buffer end: 37737, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2616, file segment info: File segment: [0, 37736], key: b619ff571f09a149606da2333e26b267, state: DOWNLOADING, downloaded size: 0, reserved size: 37737, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2616, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2616, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:57.975121 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.14 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/zmu/zrrbbxauoxfpefqsxxbodkuxhzkpj, hash key: b619ff571f09a149606da2333e26b267, file_offset_of_buffer_end: 0, read_until_position: 37737, internal buffer end: 37737, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2937, file segment info: File segment: [0, 37736], key: b619ff571f09a149606da2333e26b267, state: DOWNLOADING, downloaded size: 0, reserved size: 37737, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2937, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2937, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:57.976566 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.88 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/vkq/xlvsrvnbbbbkbhgzpmvkgxnssmsra, hash key: 701c110e228d69ddfc20aa3a6fe48edd, file_offset_of_buffer_end: 8115, read_until_position: 18019, internal buffer end: 106946, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3402, file segment info: File segment: [0, 106945], key: 701c110e228d69ddfc20aa3a6fe48edd, state: DOWNLOADING, downloaded size: 0, reserved size: 8115, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3402, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3402, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:58.117843 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.88 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/grq/mdslftgyehuursyumkhjxumzqjytn, hash key: f954eec77304fa68b4ed0a260030c546, file_offset_of_buffer_end: 0, read_until_position: 98, internal buffer end: 98, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2607, file segment info: File segment: [0, 97], key: f954eec77304fa68b4ed0a260030c546, state: DOWNLOADING, downloaded size: 0, reserved size: 98, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2607, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2607, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:58.121351 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 18.88 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/kbl/trxiamioqvnmiapbgfrzkzwaumhnr, hash key: d2f5539d510859e1edb6b4bcd2c452dc, file_offset_of_buffer_end: 0, read_until_position: 37, internal buffer end: 37, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2965, file segment info: File segment: [0, 36], key: d2f5539d510859e1edb6b4bcd2c452dc, state: DOWNLOADING, downloaded size: 0, reserved size: 37, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2965, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2965, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:58.224853 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/vwc/rbkjzvyzkicekizocybpouxhotgqy, hash key: b3f915af7becc3aa050c64e975ba0878, file_offset_of_buffer_end: 98351, read_until_position: 196781, internal buffer end: 1048576, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3399, file segment info: File segment: [0, 1255276], key: b3f915af7becc3aa050c64e975ba0878, state: DOWNLOADING, downloaded size: 0, reserved size: 98351, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3399, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:3399, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:58.610953 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 19.04 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/zmu/zrrbbxauoxfpefqsxxbodkuxhzkpj, hash key: b619ff571f09a149606da2333e26b267, file_offset_of_buffer_end: 0, read_until_position: 37737, internal buffer end: 37737, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2909, file segment info: File segment: [0, 37736], key: b619ff571f09a149606da2333e26b267, state: DOWNLOADING, downloaded size: 0, reserved size: 37737, downloader id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2909, current write offset: 0, caller id: 2a3d3270-4998-41af-932c-5cbe5f0fc6d6:2909, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:17:58.664871 [ 4272 ] {2a3d3270-4998-41af-932c-5cbe5f0fc6d6} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1245100 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: (while reading column SilverlightVersion3): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 21. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 22. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:0: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d493acf in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 2026.10.27 19:18:05.826824 [ 5708 ] {559e03d8-8f21-4acb-865a-ee8e39eacd28} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 9.32 MiB (attempt to allocate chunk of 1069231 bytes), maximum: 9.31 GiB: While executing AggregatingInOrderTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35536) (comment: 00047_bar.sql) (in query: SELECT CounterID, count() AS c, bar(c, 0, 523264) FROM test.hits GROUP BY CounterID ORDER BY c DESC, CounterID ASC LIMIT 100;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x000000000941592d in /usr/bin/clickhouse 8. ./build_docker/./src/Common/PODArray.h:322: DB::Aggregator::addSingleKeyToAggregateColumns(DB::AggregatedDataVariants&, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) const @ 0x0000000037de0fbd in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingInOrderTransform.cpp:0: DB::AggregatingInOrderTransform::consume(DB::Chunk) @ 0x000000003f03a6a1 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/AggregatingInOrderTransform.cpp:0: DB::AggregatingInOrderTransform::work() @ 0x000000003f03f7de in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 15. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:06.129194 [ 5708 ] {559e03d8-8f21-4acb-865a-ee8e39eacd28} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 9.32 MiB (attempt to allocate chunk of 1069231 bytes), maximum: 9.31 GiB: While executing AggregatingInOrderTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x000000000941592d in /usr/bin/clickhouse 8. ./build_docker/./src/Common/PODArray.h:322: DB::Aggregator::addSingleKeyToAggregateColumns(DB::AggregatedDataVariants&, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) const @ 0x0000000037de0fbd in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingInOrderTransform.cpp:0: DB::AggregatingInOrderTransform::consume(DB::Chunk) @ 0x000000003f03a6a1 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/AggregatingInOrderTransform.cpp:0: DB::AggregatingInOrderTransform::work() @ 0x000000003f03f7de in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 15. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:06.891603 [ 4455 ] {5920cd29-b680-43b1-b387-0b4c490bb3bb} executeQuery: Code: 80. DB::Exception: DETACH TABLE is not allowed for Replicated databases. Use DETACH TABLE PERMANENTLY or SYSTEM RESTART REPLICA or set database_replicated_always_detach_permanently to 1. (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35532) (comment: 00625_arrays_in_nested.sql) (in query: DETACH TABLE nested;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [167]) @ 0x000000003717ba37 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseReplicated.cpp:679: DB::DatabaseReplicated::checkQueryValid(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000037134ea4 in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseReplicated.cpp:698: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000003713623c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000003962e49b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000003962ae47 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039629240 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:06.894009 [ 4455 ] {5920cd29-b680-43b1-b387-0b4c490bb3bb} TCPHandler: Code: 80. DB::Exception: DETACH TABLE is not allowed for Replicated databases. Use DETACH TABLE PERMANENTLY or SYSTEM RESTART REPLICA or set database_replicated_always_detach_permanently to 1. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [167]) @ 0x000000003717ba37 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseReplicated.cpp:679: DB::DatabaseReplicated::checkQueryValid(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000037134ea4 in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseReplicated.cpp:698: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000003713623c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000003962e49b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000003962ae47 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039629240 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:16.951295 [ 4278 ] {c5ff7317-af93-41a0-a381-b908f2d09ad5} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery7: While processing 1 = ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery7). (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33326) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4ea34 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5a94a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dfc3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d01f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a6eed7e 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) const @ 0x000000003a6de8f4 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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 2026.10.27 19:18:16.959116 [ 4278 ] {c5ff7317-af93-41a0-a381-b908f2d09ad5} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery7: While processing 1 = ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery7). (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4ea34 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5a94a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dfc3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d01f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a6eed7e 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) const @ 0x000000003a6de8f4 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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 2026.10.27 19:18:18.894521 [ 4278 ] {374bcb97-80ed-41a4-bd86-e2b30651962a} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33326) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:18.899733 [ 4278 ] {374bcb97-80ed-41a4-bd86-e2b30651962a} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:19.557983 [ 4278 ] {49b8e704-dbe5-4d96-bfae-007c44db1ecd} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 15.00 million, current rows: 17.75 million: While executing MergeTreeThread. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33326) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:19.629273 [ 4278 ] {49b8e704-dbe5-4d96-bfae-007c44db1ecd} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 15.00 million, current rows: 17.75 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:20.731956 [ 4278 ] {15288896-e450-4dee-adf8-76f3844399f3} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery10: While processing CounterID > ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery10). (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33326) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4ea34 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5a94a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dfc3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a6eed7e 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) const @ 0x000000003a6de8f4 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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 2026.10.27 19:18:21.186332 [ 4299 ] {c3ad5c36-2c46-46dc-bb17-79908d3afc36} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:46184). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46184) (comment: 01002_alter_nullable_adaptive_granularity_long.sh) (in query: INSERT INTO test SELECT rand() FROM numbers(1000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000003e0ba501 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e376 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:21.186343 [ 4278 ] {15288896-e450-4dee-adf8-76f3844399f3} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery10: While processing CounterID > ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery10). (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4ea34 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5a94a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dfc3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a6eed7e 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) const @ 0x000000003a6de8f4 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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 2026.10.27 19:18:21.234541 [ 4299 ] {c3ad5c36-2c46-46dc-bb17-79908d3afc36} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:46184). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:18:21.234729 [ 4299 ] {c3ad5c36-2c46-46dc-bb17-79908d3afc36} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:46184). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000003e0ba501 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e376 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:21.252388 [ 4299 ] {c3ad5c36-2c46-46dc-bb17-79908d3afc36} TCPHandler: Client has gone away. 2026.10.27 19:18:22.078223 [ 4278 ] {8ef7ed6a-1ad1-4790-9d40-e45c16c4cf9d} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 10.00 million, current rows: 13.11 million: While executing MergeTreeThread. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33326) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:22.123441 [ 4278 ] {8ef7ed6a-1ad1-4790-9d40-e45c16c4cf9d} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 10.00 million, current rows: 13.11 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:31.863210 [ 5705 ] {8e542b81-061f-4c37-8eb4-633f75fca49c} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 53.97 MiB (attempt to allocate chunk of 33554432 bytes), maximum: 47.68 MiB.: While executing JoiningTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33062) (comment: 01062_pm_all_join_with_block_continuation.sql) (in query: SELECT count(1) FROM ( SELECT materialize(1) as k, n FROM numbers(10) nums JOIN (SELECT materialize(1) AS k, number n FROM numbers(1000000)) j USING k);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad5ff in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnVector.cpp:493: DB::ColumnVector::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x000000003b2b0586 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::MergeJoin::allInnerJoin(DB::MergeJoinCursor&, DB::Block const&, DB::MergeJoin::RightBlockInfo&, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long&) @ 0x0000000039e8a079 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/MergeJoin.cpp:831: void DB::MergeJoin::joinSortedBlock(DB::Block&, std::shared_ptr&) @ 0x0000000039e92ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/MergeJoin.cpp:726: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x0000000039e87f1e in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:223: DB::JoiningTransform::readExecute(DB::Chunk&) @ 0x000000003eba7c2b in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:0: DB::JoiningTransform::transform(DB::Chunk&) @ 0x000000003eba55e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:0: DB::JoiningTransform::work() @ 0x000000003eba3d8d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:31.875915 [ 5705 ] {8e542b81-061f-4c37-8eb4-633f75fca49c} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 53.97 MiB (attempt to allocate chunk of 33554432 bytes), maximum: 47.68 MiB.: While executing JoiningTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad5ff in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnVector.cpp:493: DB::ColumnVector::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x000000003b2b0586 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::MergeJoin::allInnerJoin(DB::MergeJoinCursor&, DB::Block const&, DB::MergeJoin::RightBlockInfo&, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long&) @ 0x0000000039e8a079 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/MergeJoin.cpp:831: void DB::MergeJoin::joinSortedBlock(DB::Block&, std::shared_ptr&) @ 0x0000000039e92ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/MergeJoin.cpp:726: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x0000000039e87f1e in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:223: DB::JoiningTransform::readExecute(DB::Chunk&) @ 0x000000003eba7c2b in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:0: DB::JoiningTransform::transform(DB::Chunk&) @ 0x000000003eba55e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:0: DB::JoiningTransform::work() @ 0x000000003eba3d8d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:32.296206 [ 5705 ] {e9ea337f-a134-48b9-9d5f-df882676f717} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 52.02 MiB (attempt to allocate chunk of 33554432 bytes), maximum: 47.68 MiB.: While executing JoiningTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33062) (comment: 01062_pm_all_join_with_block_continuation.sql) (in query: SELECT count(1) FROM ( SELECT materialize(1) as k, n FROM numbers(1000) nums JOIN (SELECT materialize(1) AS k, number n FROM numbers(10000)) j USING k);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad5ff in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnVector.cpp:493: DB::ColumnVector::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x000000003b2b0586 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::MergeJoin::allInnerJoin(DB::MergeJoinCursor&, DB::Block const&, DB::MergeJoin::RightBlockInfo&, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long&) @ 0x0000000039e8a079 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/MergeJoin.cpp:831: void DB::MergeJoin::joinSortedBlock(DB::Block&, std::shared_ptr&) @ 0x0000000039e92ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/MergeJoin.cpp:726: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x0000000039e87f1e in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:223: DB::JoiningTransform::readExecute(DB::Chunk&) @ 0x000000003eba7c2b in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:0: DB::JoiningTransform::transform(DB::Chunk&) @ 0x000000003eba55e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:0: DB::JoiningTransform::work() @ 0x000000003eba3d8d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:32.340358 [ 5705 ] {e9ea337f-a134-48b9-9d5f-df882676f717} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 52.02 MiB (attempt to allocate chunk of 33554432 bytes), maximum: 47.68 MiB.: While executing JoiningTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad5ff in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnVector.cpp:493: DB::ColumnVector::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x000000003b2b0586 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::MergeJoin::allInnerJoin(DB::MergeJoinCursor&, DB::Block const&, DB::MergeJoin::RightBlockInfo&, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long&) @ 0x0000000039e8a079 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/MergeJoin.cpp:831: void DB::MergeJoin::joinSortedBlock(DB::Block&, std::shared_ptr&) @ 0x0000000039e92ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/MergeJoin.cpp:726: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x0000000039e87f1e in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:223: DB::JoiningTransform::readExecute(DB::Chunk&) @ 0x000000003eba7c2b in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:0: DB::JoiningTransform::transform(DB::Chunk&) @ 0x000000003eba55e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:0: DB::JoiningTransform::work() @ 0x000000003eba3d8d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:33.745550 [ 4305 ] {cb893990-4a14-4d9a-a31b-4af6c156c672} DatabaseReplicated (test_11): It's not recommended to explicitly specify zookeeper_path and replica_name in ReplicatedMergeTree arguments 2026.10.27 19:18:33.865553 [ 4305 ] {cb893990-4a14-4d9a-a31b-4af6c156c672} executeQuery: Code: 80. DB::Exception: Explicit zookeeper_path and replica_name are specified in ReplicatedMergeTree arguments. If you really want to specify it explicitly, then you should use some macros to distinguish different shards and replicas. (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47030) (comment: 01181_db_atomic_drop_on_cluster.sql) (in query: CREATE TABLE test_repl ON CLUSTER test_shard_localhost (`n` UInt64) ENGINE = ReplicatedMergeTree('/clickhouse/test_01181/{database}/test_repl', 'r1') ORDER BY tuple() SETTINGS index_granularity = 10596, min_bytes_for_wide_part = 196529406, ratio_of_defaults_for_sparse_serialization = 0.23534029722213745, merge_max_block_size = 18677, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 4504430, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 53502, primary_key_compress_block_size = 78282), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [211]) @ 0x000000003717b697 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::checkQueryValid(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003713502f in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseReplicated.cpp:698: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000003713623c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c23a3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:33.871514 [ 4305 ] {cb893990-4a14-4d9a-a31b-4af6c156c672} TCPHandler: Code: 80. DB::Exception: Explicit zookeeper_path and replica_name are specified in ReplicatedMergeTree arguments. If you really want to specify it explicitly, then you should use some macros to distinguish different shards and replicas. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [211]) @ 0x000000003717b697 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::checkQueryValid(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003713502f in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseReplicated.cpp:698: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000003713623c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c23a3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:41.556394 [ 1850 ] {db48704c-4371-42ff-8297-4c2c428588b0} executeQuery: Code: 60. DB::Exception: Table test.hits_dst does not exist. Maybe you meant hits_s3?. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51706) (comment: 00061_storage_buffer.sql) (in query: SELECT count() FROM test.hits_dst;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000945c47e in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000371e7313 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ab8ee2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037acb963 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e50b18 in /usr/bin/clickhouse 7. ./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) @ 0x0000000039b09f73 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 11. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:41.561827 [ 1850 ] {db48704c-4371-42ff-8297-4c2c428588b0} TCPHandler: Code: 60. DB::Exception: Table test.hits_dst does not exist. Maybe you meant hits_s3?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000945c47e in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000371e7313 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ab8ee2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037acb963 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e50b18 in /usr/bin/clickhouse 7. ./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) @ 0x0000000039b09f73 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 11. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:46.342747 [ 5953 ] {426db8eb-be17-4a2a-ba4f-a74473b0b445} WriteBufferFromS3: WriteBufferFromS3 was neither finished nor aborted, try to abort upload in destructor. Details: bucket test, key test/lqp/xouthqyowqvernkpnvkksijykzjpn, total size 50331648, count 50331648, hidden_size 0, offset 0, with pool: true, prefinalized false, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LjkzMGIzZjJmLTU4ZTctNGVkOC04NjU1LTVjMGJjMjdlY2I1OHgxNzkzMTI1MTIzMzc5Nzc1MjUy, upload has finished false. 2026.10.27 19:18:46.343758 [ 5953 ] {426db8eb-be17-4a2a-ba4f-a74473b0b445} WriteBufferFromS3: Abort multipart upload. Details: bucket test, key test/lqp/xouthqyowqvernkpnvkksijykzjpn, total size 50331648, count 50331648, hidden_size 0, offset 0, with pool: true, prefinalized false, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LjkzMGIzZjJmLTU4ZTctNGVkOC04NjU1LTVjMGJjMjdlY2I1OHgxNzkzMTI1MTIzMzc5Nzc1MjUy, upload has finished false 2026.10.27 19:18:46.400276 [ 5953 ] {426db8eb-be17-4a2a-ba4f-a74473b0b445} WriteBufferFromS3: Multipart upload has aborted successfully. Details: bucket test, key test/lqp/xouthqyowqvernkpnvkksijykzjpn, total size 50331648, count 50331648, hidden_size 0, offset 0, with pool: true, prefinalized false, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LjkzMGIzZjJmLTU4ZTctNGVkOC04NjU1LTVjMGJjMjdlY2I1OHgxNzkzMTI1MTIzMzc5Nzc1MjUy, upload has finished false 2026.10.27 19:18:47.883782 [ 2671 ] {426db8eb-be17-4a2a-ba4f-a74473b0b445} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 413.59 MiB (attempt to allocate chunk of 1179648 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46282) (comment: 00162_mmap_compression_none.sql) (in query: INSERT INTO hits_none SELECT Title FROM test.hits;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnString.cpp:0: COW::immutable_ptr DB::ColumnString::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b1c8d44 in /usr/bin/clickhouse 9. ./build_docker/./src/Columns/ColumnsCommon.h:129: COW::immutable_ptr DB::selectIndexImpl(DB::ColumnString const&, DB::IColumn const&, unsigned long) @ 0x000000003b1ace69 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnString.cpp:267: DB::ColumnString::index(DB::IColumn const&, unsigned long) const @ 0x000000003b1a7d8e in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/SerializationSparse.cpp:227: DB::SerializationSparse::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000036fed3fa in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:147: DB::MergeTreeDataPartWriterCompact::writeDataBlock(DB::Block const&, std::vector> const&) @ 0x000000003d108a37 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:186: DB::MergeTreeDataPartWriterCompact::writeDataBlockPrimaryIndexAndSkipIndices(DB::Block const&, std::vector> const&) @ 0x000000003d106cb0 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.h:128: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d104d1d in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1de0ed in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:47.908692 [ 2671 ] {426db8eb-be17-4a2a-ba4f-a74473b0b445} WriteBufferFromS3: WriteBufferFromS3 was neither finished nor aborted, try to abort upload in destructor. Details: bucket test, key test/kxc/kelpvlwxeqcmsgpzjmyqvzadbiyel, total size 102696749, count 102696749, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LjVjYTczYjA5LWZhODItNGU2MC1iNDkxLWQ4MTgxMGQ0ZDRlOHgxNzkzMTI1MTEyODY3NDc3MzU1, upload has finished false. 2026.10.27 19:18:47.910811 [ 2671 ] {426db8eb-be17-4a2a-ba4f-a74473b0b445} WriteBufferFromS3: Abort multipart upload. Details: bucket test, key test/kxc/kelpvlwxeqcmsgpzjmyqvzadbiyel, total size 102696749, count 102696749, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LjVjYTczYjA5LWZhODItNGU2MC1iNDkxLWQ4MTgxMGQ0ZDRlOHgxNzkzMTI1MTEyODY3NDc3MzU1, upload has finished false 2026.10.27 19:18:47.962622 [ 2671 ] {426db8eb-be17-4a2a-ba4f-a74473b0b445} WriteBufferFromS3: Multipart upload has aborted successfully. Details: bucket test, key test/kxc/kelpvlwxeqcmsgpzjmyqvzadbiyel, total size 102696749, count 102696749, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LjVjYTczYjA5LWZhODItNGU2MC1iNDkxLWQ4MTgxMGQ0ZDRlOHgxNzkzMTI1MTEyODY3NDc3MzU1, upload has finished false 2026.10.27 19:18:48.081189 [ 2671 ] {426db8eb-be17-4a2a-ba4f-a74473b0b445} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 413.59 MiB (attempt to allocate chunk of 1179648 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnString.cpp:0: COW::immutable_ptr DB::ColumnString::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b1c8d44 in /usr/bin/clickhouse 9. ./build_docker/./src/Columns/ColumnsCommon.h:129: COW::immutable_ptr DB::selectIndexImpl(DB::ColumnString const&, DB::IColumn const&, unsigned long) @ 0x000000003b1ace69 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnString.cpp:267: DB::ColumnString::index(DB::IColumn const&, unsigned long) const @ 0x000000003b1a7d8e in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/SerializationSparse.cpp:227: DB::SerializationSparse::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000036fed3fa in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:147: DB::MergeTreeDataPartWriterCompact::writeDataBlock(DB::Block const&, std::vector> const&) @ 0x000000003d108a37 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:186: DB::MergeTreeDataPartWriterCompact::writeDataBlockPrimaryIndexAndSkipIndices(DB::Block const&, std::vector> const&) @ 0x000000003d106cb0 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.h:128: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d104d1d in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1de0ed in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:55.586292 [ 4272 ] {24e77808-bda3-4a98-acce-2ee8c611606c} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 73.90 MiB (attempt to allocate chunk of 1052672 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45726) (comment: 00141_transform.sql) (in query: SELECT transform(SearchEngineID, [2, 3], ['Яндек�', 'Google'], 'О�тальные') AS title, count() AS c FROM test.hits WHERE SearchEngineID != 0 GROUP BY title HAVING c > 0 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002078b7b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/HashTable/HashTable.h:521: HashTable, StringHashTableHash, StringHashTableGrower<8ul>, Allocator>::alloc(StringHashTableGrower<8ul> const&) @ 0x00000000381b1eeb in /usr/bin/clickhouse 8. ./build_docker/./src/Common/HashTable/StringHashTable.h:228: StringHashTable>>::StringHashTable() @ 0x00000000381b1625 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/TwoLevelStringHashTable.h:43: TwoLevelStringHashTable>, StringHashMap>, 8ul>::TwoLevelStringHashTable>>(StringHashMap> const&) @ 0x00000000381afb49 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/TwoLevelStringHashMap.h:0: DB::AggregatedDataVariants::convertToTwoLevel() @ 0x0000000037d9d6e4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd02f1 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 18. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:18:57.103945 [ 4272 ] {24e77808-bda3-4a98-acce-2ee8c611606c} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 73.90 MiB (attempt to allocate chunk of 1052672 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002078b7b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/HashTable/HashTable.h:521: HashTable, StringHashTableHash, StringHashTableGrower<8ul>, Allocator>::alloc(StringHashTableGrower<8ul> const&) @ 0x00000000381b1eeb in /usr/bin/clickhouse 8. ./build_docker/./src/Common/HashTable/StringHashTable.h:228: StringHashTable>>::StringHashTable() @ 0x00000000381b1625 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/TwoLevelStringHashTable.h:43: TwoLevelStringHashTable>, StringHashMap>, 8ul>::TwoLevelStringHashTable>>(StringHashMap> const&) @ 0x00000000381afb49 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/TwoLevelStringHashMap.h:0: DB::AggregatedDataVariants::convertToTwoLevel() @ 0x0000000037d9d6e4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd02f1 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 18. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:00.020399 [ 6799 ] {eaca3873-21ac-4610-836b-3624338365db} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.099856967 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58928) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:00.151756 [ 6799 ] {eaca3873-21ac-4610-836b-3624338365db} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.099856967 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:00.595742 [ 6792 ] {6a60ea41-4aa8-4550-8069-708bd6af0f66} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.172012574 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36534) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:00.737384 [ 3020 ] {3ec9f5aa-4a9b-4f0c-9664-cce05674150d} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.360014592 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:52782) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:01.917283 [ 3020 ] {3ec9f5aa-4a9b-4f0c-9664-cce05674150d} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.360014592 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:01.917438 [ 6792 ] {6a60ea41-4aa8-4550-8069-708bd6af0f66} 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]:36534). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:01.918292 [ 6792 ] {6a60ea41-4aa8-4550-8069-708bd6af0f66} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.172012574 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:01.918737 [ 3020 ] {3ec9f5aa-4a9b-4f0c-9664-cce05674150d} TCPHandler: Client has gone away. 2026.10.27 19:19:01.918819 [ 6792 ] {6a60ea41-4aa8-4550-8069-708bd6af0f66} TCPHandler: Client has gone away. 2026.10.27 19:19:01.918187 [ 5708 ] {6b0f4dab-17b6-40f3-ae1f-092e45b0a793} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.01 MiB (attempt to allocate chunk of 2098176 bytes), maximum: 3.81 MiB.: while executing 'FUNCTION repeat('aa' :: 1, number :: 0) -> repeat('aa', number) String : 2'. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58886) (comment: 01656_test_query_log_factories_info.sql) (in query: SELECT repeat('aa', number) FROM numbers(10e3) SETTINGS max_memory_usage=4e6, max_block_size=100 FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 8. DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001cc8633d in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eb883db in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:01.922312 [ 5708 ] {6b0f4dab-17b6-40f3-ae1f-092e45b0a793} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.01 MiB (attempt to allocate chunk of 2098176 bytes), maximum: 3.81 MiB.: while executing 'FUNCTION repeat('aa' :: 1, number :: 0) -> repeat('aa', number) String : 2'. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 8. DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001cc8633d in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eb883db in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:03.196127 [ 4287 ] {8659132a-9f42-40ce-ba4c-16c245f4f03e} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.133720279 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36542) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:03.202332 [ 6799 ] {a76ce817-c0c8-4976-806e-83e6c954fd32} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.531522854 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58962) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:03.202602 [ 4287 ] {8659132a-9f42-40ce-ba4c-16c245f4f03e} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.133720279 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:03.291135 [ 4287 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:36542). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:05.974512 [ 6799 ] {a76ce817-c0c8-4976-806e-83e6c954fd32} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.531522854 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:05.974634 [ 4317 ] {21ca6a61-9e22-4708-bda5-d794109abbaa} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.036011119 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:52784) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:05.974708 [ 3071 ] {41f73f78-cd2a-4ed4-9fb3-1e5f8c52d71c} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.060022112 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:52564) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:05.975020 [ 3020 ] {feec4463-bcc4-4a7e-9b2d-4d60e887c196} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58984) (comment: 00846_join_using_tuple_crash.sql) (in query: SELECT * FROM (SELECT dummy as a, (toUInt8(0), toUInt8(0)) AS tup FROM system.one) js1 GLOBAL ANY FULL OUTER JOIN (SELECT dummy as a, (toUInt8(0), toUInt8(0)) AS tup FROM system.one) js2 USING (a, tup);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x0000000037cf406d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x0000000037caaf24 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x0000000037ca0c4c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037cca9cf in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 8. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 12. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:05.986295 [ 3020 ] {feec4463-bcc4-4a7e-9b2d-4d60e887c196} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x0000000037cf406d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x0000000037caaf24 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x0000000037ca0c4c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037cca9cf in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 8. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 12. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:06.360750 [ 3071 ] {41f73f78-cd2a-4ed4-9fb3-1e5f8c52d71c} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.060022112 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:06.395065 [ 3071 ] {41f73f78-cd2a-4ed4-9fb3-1e5f8c52d71c} TCPHandler: Client has gone away. 2026.10.27 19:19:06.419600 [ 4317 ] {21ca6a61-9e22-4708-bda5-d794109abbaa} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.036011119 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:06.427523 [ 4317 ] {21ca6a61-9e22-4708-bda5-d794109abbaa} TCPHandler: Client has gone away. 2026.10.27 19:19:07.512428 [ 3020 ] {390d4a42-e452-486f-8f85-dc2128308735} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.077464623 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52954) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:07.642275 [ 3020 ] {390d4a42-e452-486f-8f85-dc2128308735} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.077464623 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:12.087442 [ 6121 ] {dde0edc1-c33b-47b8-9e3d-49fb2d2a1aa9} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.072022261 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60012) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:12.105982 [ 3071 ] {7d5b8868-88ac-4e0b-83ff-adffd225e79a} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.85601994 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54220) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:12.223032 [ 4317 ] {ab1678c9-c1b4-4bae-ba7e-429dd5b6563d} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.976021229 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:57966) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:12.435486 [ 6141 ] {c4ecadfb-99eb-4877-b436-2ab52ef62ebd} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.700018265 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:47896) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:15.009818 [ 2461 ] {3d3eed93-edb6-4bfe-90d7-a25fd1298e15} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.384014874 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:57980) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:15.852470 [ 5712 ] {1c5a1fc0-511b-4051-8098-d119ac6f6c6f} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 23.93 MiB (attempt to allocate chunk of 1202464 bytes), maximum: 9.31 GiB: (while reading column SearchPhrase): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_8_16_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 363 with max_rows_to_read = 63562): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60028) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 9. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:59: DB::ReadBufferFromRemoteFSGather::ReadBufferFromRemoteFSGather(std::function> (String const&, unsigned long)>&&, std::vector> const&, DB::ReadSettings const&, std::shared_ptr, bool) @ 0x000000003577a27d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]> const&, DB::ReadSettings const&, std::optional, std::optional) const::$_0, std::vector> const&, DB::ReadSettings&, std::shared_ptr, bool>(DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const::$_0&&, std::vector> const&, DB::ReadSettings&, std::shared_ptr&&, bool&&) @ 0x000000003729da77 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729ca91 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/SerializationSparse.cpp:0: DB::SerializationSparse::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036feb0d1 in /usr/bin/clickhouse 21. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 22. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:0: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d493acf in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 2026.10.27 19:19:15.852513 [ 1850 ] {526447fd-42c1-4f5f-b163-b48dac90720b} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.616017367 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54236) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:15.852531 [ 6137 ] {ad71ec92-6ce4-443b-96c7-8ff0be8aaf6f} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.540016552 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:43886) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:15.852673 [ 4279 ] {7558f1b4-8daf-47a0-9133-3be8848a4751} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.676018012 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:47900) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:16.498711 [ 6121 ] {dde0edc1-c33b-47b8-9e3d-49fb2d2a1aa9} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.072022261 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:16.499630 [ 6121 ] {dde0edc1-c33b-47b8-9e3d-49fb2d2a1aa9} TCPHandler: Client has gone away. 2026.10.27 19:19:16.571813 [ 5712 ] {1c5a1fc0-511b-4051-8098-d119ac6f6c6f} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 23.93 MiB (attempt to allocate chunk of 1202464 bytes), maximum: 9.31 GiB: (while reading column SearchPhrase): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_8_16_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 363 with max_rows_to_read = 63562): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 9. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:59: DB::ReadBufferFromRemoteFSGather::ReadBufferFromRemoteFSGather(std::function> (String const&, unsigned long)>&&, std::vector> const&, DB::ReadSettings const&, std::shared_ptr, bool) @ 0x000000003577a27d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]> const&, DB::ReadSettings const&, std::optional, std::optional) const::$_0, std::vector> const&, DB::ReadSettings&, std::shared_ptr, bool>(DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const::$_0&&, std::vector> const&, DB::ReadSettings&, std::shared_ptr&&, bool&&) @ 0x000000003729da77 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729ca91 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/SerializationSparse.cpp:0: DB::SerializationSparse::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036feb0d1 in /usr/bin/clickhouse 21. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 22. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:0: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d493acf in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 2026.10.27 19:19:16.583395 [ 4137 ] {edd54f29-b402-4355-a391-5799e82786cc} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 8.428796506 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52982) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:16.584288 [ 4317 ] {ab1678c9-c1b4-4bae-ba7e-429dd5b6563d} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.976021229 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:16.585079 [ 4317 ] {ab1678c9-c1b4-4bae-ba7e-429dd5b6563d} TCPHandler: Client has gone away. 2026.10.27 19:19:16.594404 [ 6141 ] {c4ecadfb-99eb-4877-b436-2ab52ef62ebd} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.700018265 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:16.595560 [ 6141 ] {c4ecadfb-99eb-4877-b436-2ab52ef62ebd} TCPHandler: Client has gone away. 2026.10.27 19:19:16.600670 [ 5712 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:60028). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:16.606449 [ 4137 ] {edd54f29-b402-4355-a391-5799e82786cc} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 8.428796506 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:16.677054 [ 3071 ] {7d5b8868-88ac-4e0b-83ff-adffd225e79a} 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]:54220). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:16.677361 [ 3071 ] {7d5b8868-88ac-4e0b-83ff-adffd225e79a} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.85601994 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:16.677943 [ 3071 ] {7d5b8868-88ac-4e0b-83ff-adffd225e79a} TCPHandler: Client has gone away. 2026.10.27 19:19:16.734124 [ 1850 ] {526447fd-42c1-4f5f-b163-b48dac90720b} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.616017367 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:16.734876 [ 1850 ] {526447fd-42c1-4f5f-b163-b48dac90720b} TCPHandler: Client has gone away. 2026.10.27 19:19:16.793552 [ 6137 ] {ad71ec92-6ce4-443b-96c7-8ff0be8aaf6f} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.540016552 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:16.794489 [ 6137 ] {ad71ec92-6ce4-443b-96c7-8ff0be8aaf6f} TCPHandler: Client has gone away. 2026.10.27 19:19:16.829341 [ 4279 ] {7558f1b4-8daf-47a0-9133-3be8848a4751} 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]:47900). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:16.829609 [ 4279 ] {7558f1b4-8daf-47a0-9133-3be8848a4751} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.676018012 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:16.830102 [ 4279 ] {7558f1b4-8daf-47a0-9133-3be8848a4751} TCPHandler: Client has gone away. 2026.10.27 19:19:16.993073 [ 2461 ] {3d3eed93-edb6-4bfe-90d7-a25fd1298e15} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.384014874 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:17.013462 [ 2461 ] {3d3eed93-edb6-4bfe-90d7-a25fd1298e15} TCPHandler: Client has gone away. 2026.10.27 19:19:18.521606 [ 4317 ] {5a02df71-9810-4073-a246-c39d11b55d3c} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.232494178 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48836) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:18.521964 [ 3071 ] {6c259b2b-35fd-4bfd-a80c-d2b48991b345} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toModifiedJulianDayOrNull('\0'), ''): While processing (SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '')) AS n: While processing tryBase64Decode((SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '')) AS n, (SELECT regionIn('l. ')) AS srocpnuv). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48844) (comment: 01602_modified_julian_day_msan.sql) (in query: SELECT tryBase64Decode(( SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '') ) AS n, ( SELECT regionIn('l. ') ) AS srocpnuv);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000eda997f in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352af12f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x0000000039f5db35 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5bfb9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4e3e9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 2026.10.27 19:19:18.532971 [ 3071 ] {6c259b2b-35fd-4bfd-a80c-d2b48991b345} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toModifiedJulianDayOrNull('\0'), ''): While processing (SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '')) AS n: While processing tryBase64Decode((SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '')) AS n, (SELECT regionIn('l. ')) AS srocpnuv). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000eda997f in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352af12f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x0000000039f5db35 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5bfb9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4e3e9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 2026.10.27 19:19:19.810964 [ 4317 ] {5a02df71-9810-4073-a246-c39d11b55d3c} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.232494178 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:19.885643 [ 4137 ] {00f4cb9c-3941-4feb-9173-82c9b4c4883e} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.444015541 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:44450) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:19.885611 [ 3071 ] {a175fd96-fa87-474b-a44a-664b1e0cddf3} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toModifiedJulianDayOrNull('\0'), ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48844) (comment: 01602_modified_julian_day_msan.sql) (in query: SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000eda997f in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352af12f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:19:19.885670 [ 5712 ] {5e27a37f-3844-4684-b1b8-37be9386dbe7} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.432015411 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:42646) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:19.885952 [ 6790 ] {656e6d2a-bf51-47f0-8368-31110c52991c} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.512016275 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:42138) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:19.885761 [ 1850 ] {387399a1-606e-4dbf-b8e3-8ecd71fa3b61} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.032011106 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56138) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:19.885689 [ 4287 ] {cd6f429d-c082-4fe9-a1fe-4f5e457212cb} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.116012011 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:44744) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:19.892274 [ 2461 ] {09ef853a-c72c-4a2d-bd15-8aa7f52d6704} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.448015585 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:34616) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:20.867056 [ 3071 ] {a175fd96-fa87-474b-a44a-664b1e0cddf3} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toModifiedJulianDayOrNull('\0'), ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000eda997f in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352af12f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:19:20.872745 [ 5687 ] {cancel_http_readonly_queries_on_client_close} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:59314) (comment: 00834_cancel_http_readonly_queries_on_client_close.sh) (in query: SELECT count() FROM system.numbers ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a702117 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88797 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1dd07d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9965b5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df68bed in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df75e8e in /usr/bin/clickhouse 10. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f3061 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:20.894768 [ 5687 ] {cancel_http_readonly_queries_on_client_close} DynamicQueryHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a702117 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88797 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1dd07d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9965b5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df68bed in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df75e8e in /usr/bin/clickhouse 10. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f3061 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:20.896655 [ 3071 ] {de78e44c-4fea-4674-ba2d-f78694a9ed7c} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toInt32OrNull('123qwe123'), ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48844) (comment: 01602_modified_julian_day_msan.sql) (in query: SELECT countSubstrings(toInt32OrNull('123qwe123'), '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000eda997f in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352af12f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:19:20.899560 [ 3071 ] {de78e44c-4fea-4674-ba2d-f78694a9ed7c} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toInt32OrNull('123qwe123'), ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000eda997f in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352af12f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:19:21.326075 [ 5712 ] {5e27a37f-3844-4684-b1b8-37be9386dbe7} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.432015411 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:21.326129 [ 6790 ] {656e6d2a-bf51-47f0-8368-31110c52991c} 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]:42138). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:21.326467 [ 6790 ] {656e6d2a-bf51-47f0-8368-31110c52991c} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.512016275 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:21.330116 [ 5687 ] {cancel_http_readonly_queries_on_client_close} DynamicQueryHandler: Cannot send exception to client: Code: 24. DB::Exception: Cannot write to ostream at offset 122. (CANNOT_WRITE_TO_OSTREAM), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000ed55a18 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromOStream.cpp:22: DB::WriteBufferFromOStream::nextImpl() @ 0x0000000020d598cd in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000003e105467 in /usr/bin/clickhouse 5. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000003df7127e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:290: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df78dd6 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f3061 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:21.345642 [ 6790 ] {656e6d2a-bf51-47f0-8368-31110c52991c} TCPHandler: Client has gone away. 2026.10.27 19:19:21.357950 [ 5712 ] {5e27a37f-3844-4684-b1b8-37be9386dbe7} TCPHandler: Client has gone away. 2026.10.27 19:19:22.146255 [ 4287 ] {cd6f429d-c082-4fe9-a1fe-4f5e457212cb} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:44744). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:22.148575 [ 4137 ] {00f4cb9c-3941-4feb-9173-82c9b4c4883e} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.444015541 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:22.152533 [ 2461 ] {09ef853a-c72c-4a2d-bd15-8aa7f52d6704} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.448015585 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:22.152564 [ 4287 ] {cd6f429d-c082-4fe9-a1fe-4f5e457212cb} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.116012011 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:22.157172 [ 2461 ] {09ef853a-c72c-4a2d-bd15-8aa7f52d6704} TCPHandler: Client has gone away. 2026.10.27 19:19:22.157370 [ 5687 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a07040e in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049bf7dda in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x0000000049bfb3ef in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x0000000049c0af32 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x0000000049c05c0e in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x0000000049ba47bc in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:0: Poco::Net::HTTPChunkedStreamBuf::writeToDevice(char const*, long) @ 0x0000000049b5edd9 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/include/Poco/BufferedStreamBuf.h:0: Poco::BasicBufferedStreamBuf, Poco::BufferAllocator>::sync() @ 0x0000000049aaae55 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:55: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x0000000049b60c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000003e0ffe20 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000003e0f4498 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/atomic:958: DB::HTTPServerConnection::run() @ 0x000000003e0f32e0 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:22.188749 [ 4137 ] {00f4cb9c-3941-4feb-9173-82c9b4c4883e} TCPHandler: Client has gone away. 2026.10.27 19:19:22.189050 [ 4287 ] {cd6f429d-c082-4fe9-a1fe-4f5e457212cb} TCPHandler: Client has gone away. 2026.10.27 19:19:22.533032 [ 6137 ] {b6ec8c59-d2c6-45bf-8401-cabc9b795e4e} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.19347976 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48888) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:22.840417 [ 6137 ] {b6ec8c59-d2c6-45bf-8401-cabc9b795e4e} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.19347976 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:24.035147 [ 2671 ] {ab6d37b4-4b8c-417c-986d-033f4cba664f} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.652017794 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:38738) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:24.587999 [ 6137 ] {72aac277-35cc-43c7-b9b3-4c0217244c23} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.230128323 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48920) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:24.631137 [ 3817 ] {9f64211c-6bfb-4b32-aa80-5f9d55960537} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.868020119 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56140) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:24.649339 [ 4272 ] {754bc832-92eb-41e3-a0c3-d08f640fc107} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.684018138 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:44758) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:24.721052 [ 4488 ] {7190db56-d340-4522-bfe0-dfe78743ed8c} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.528016456 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:45624) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:24.732157 [ 1850 ] {387399a1-606e-4dbf-b8e3-8ecd71fa3b61} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.032011106 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:24.772787 [ 6792 ] {d971363f-e3cb-4685-9ff4-d2452fb06a3a} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.00001077 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:42658) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:24.780613 [ 3071 ] {7749fb55-0276-4224-8035-509c669b3564} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:45636). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:45636) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProgress() @ 0x000000003e0aacc7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0aa06f in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:24.856812 [ 2671 ] {ab6d37b4-4b8c-417c-986d-033f4cba664f} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.652017794 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:24.895207 [ 3071 ] {7749fb55-0276-4224-8035-509c669b3564} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:45636). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:24.895487 [ 3071 ] {7749fb55-0276-4224-8035-509c669b3564} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:45636). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProgress() @ 0x000000003e0aacc7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0aa06f in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:24.800022 [ 1850 ] {387399a1-606e-4dbf-b8e3-8ecd71fa3b61} TCPHandler: Client has gone away. 2026.10.27 19:19:24.914930 [ 2671 ] {ab6d37b4-4b8c-417c-986d-033f4cba664f} TCPHandler: Client has gone away. 2026.10.27 19:19:24.951623 [ 3071 ] {7749fb55-0276-4224-8035-509c669b3564} TCPHandler: Client has gone away. 2026.10.27 19:19:24.979630 [ 6137 ] {72aac277-35cc-43c7-b9b3-4c0217244c23} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.230128323 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:24.980244 [ 4309 ] {1614b569-7b24-49ac-b380-d8e90ad544e5} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.044011243 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:44452) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:25.373805 [ 3020 ] {070fe51e-0f69-44e2-9088-ea1f2630f73c} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.008010856 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:34618) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:25.379677 [ 3817 ] {9f64211c-6bfb-4b32-aa80-5f9d55960537} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.868020119 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:25.444708 [ 3817 ] {9f64211c-6bfb-4b32-aa80-5f9d55960537} TCPHandler: Client has gone away. 2026.10.27 19:19:25.502283 [ 4272 ] {754bc832-92eb-41e3-a0c3-d08f640fc107} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.684018138 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:25.526935 [ 4272 ] {754bc832-92eb-41e3-a0c3-d08f640fc107} TCPHandler: Client has gone away. 2026.10.27 19:19:25.529522 [ 4317 ] {4eeb8338-58f8-4b82-8079-b5ed9daa83a1} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.992021461 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60548) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:25.631474 [ 6792 ] {d971363f-e3cb-4685-9ff4-d2452fb06a3a} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.00001077 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:25.667067 [ 6792 ] {d971363f-e3cb-4685-9ff4-d2452fb06a3a} TCPHandler: Client has gone away. 2026.10.27 19:19:25.713410 [ 4309 ] {1614b569-7b24-49ac-b380-d8e90ad544e5} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.044011243 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:25.742643 [ 4488 ] {7190db56-d340-4522-bfe0-dfe78743ed8c} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.528016456 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:25.751323 [ 4309 ] {1614b569-7b24-49ac-b380-d8e90ad544e5} TCPHandler: Client has gone away. 2026.10.27 19:19:25.769352 [ 4488 ] {7190db56-d340-4522-bfe0-dfe78743ed8c} TCPHandler: Client has gone away. 2026.10.27 19:19:26.193710 [ 4399 ] {0cffa407-b513-4a83-9ffa-968643efc487} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.912020603 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:34626) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:26.328503 [ 4374 ] {6239d52b-ae71-4ad9-9e5f-539b45fa70af} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.22002392 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:46286) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:26.729792 [ 4303 ] {b7a19dc6-2cac-4aed-a373-2db19d3830af} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.444026336 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56142) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.432055 [ 6141 ] {c64054a3-5bf7-4fb0-915d-63da25d1e5a2} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.256024307 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:38746) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.434803 [ 4340 ] {70fb3a65-6e5d-47ed-a4ad-fffce0c432b9} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.564027626 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:44774) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.436296 [ 4287 ] {0be5d847-a57a-4617-922c-223221e856c9} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.296013962 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:42664) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.483679 [ 4272 ] {1faedd16-6194-4d3c-8bcb-34865159ac26} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.372928929 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:42678) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.485878 [ 5712 ] {83fe52b7-c61a-4783-9256-a003043d732d} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.583308364 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:44466) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.490017 [ 4272 ] {1faedd16-6194-4d3c-8bcb-34865159ac26} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.372928929 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.490134 [ 5687 ] {41111ed7-4d3d-4796-ac76-391b511603c3} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.686103435 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:45646) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.491951 [ 5712 ] {83fe52b7-c61a-4783-9256-a003043d732d} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.583308364 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.495151 [ 1850 ] {971404a3-4ea3-4c94-ae78-383fff2ba497} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.689526343 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56144) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.496741 [ 4305 ] {9b173c5e-c373-4912-8a5c-381162d70d73} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.627853143 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:44786) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.496851 [ 4137 ] {bf63d6cf-4644-4055-b141-8fc9eb257586} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.539528104 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:34640) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.498604 [ 5687 ] {41111ed7-4d3d-4796-ac76-391b511603c3} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.686103435 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.500379 [ 2461 ] {fc107670-3ae7-42a0-b989-cecb64b57c40} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.674563785 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:38752) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.501108 [ 3817 ] {04a856b9-a9d7-4fb1-a6d6-2ee003d46080} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.607476625 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:59208) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.524426 [ 9140 ] {249e204b-bbe6-4a75-a066-28f2a53568cb} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.533349664 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55814) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.566918 [ 3071 ] {de3512cd-869a-4b8e-8330-d54922098335} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.723117559 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60556) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.586591 [ 6790 ] {74169383-e8ff-40c7-920d-f0df29bdc43a} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.684460286 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60502) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.596951 [ 3817 ] {04a856b9-a9d7-4fb1-a6d6-2ee003d46080} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.607476625 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.603115 [ 6790 ] {74169383-e8ff-40c7-920d-f0df29bdc43a} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.684460286 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.603283 [ 1850 ] {971404a3-4ea3-4c94-ae78-383fff2ba497} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.689526343 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.603813 [ 9140 ] {249e204b-bbe6-4a75-a066-28f2a53568cb} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.533349664 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.604502 [ 4137 ] {bf63d6cf-4644-4055-b141-8fc9eb257586} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.539528104 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.606634 [ 4305 ] {9b173c5e-c373-4912-8a5c-381162d70d73} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.627853143 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.607272 [ 2461 ] {fc107670-3ae7-42a0-b989-cecb64b57c40} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.674563785 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.607618 [ 3071 ] {de3512cd-869a-4b8e-8330-d54922098335} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.723117559 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.615085 [ 6137 ] {81d06a10-ddab-4349-a11d-ef583eb98f6e} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.149302679 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48934) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.648561 [ 9140 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:55814). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:27.655834 [ 6137 ] {81d06a10-ddab-4349-a11d-ef583eb98f6e} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.149302679 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.658223 [ 6790 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:60502). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:27.675747 [ 2671 ] {1a48b114-13f5-4e65-b8ba-7f67bde1aa33} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.131943735 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48942) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.683907 [ 4317 ] {4eeb8338-58f8-4b82-8079-b5ed9daa83a1} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.992021461 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.776518 [ 4305 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:44786). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:27.696012 [ 4317 ] {4eeb8338-58f8-4b82-8079-b5ed9daa83a1} TCPHandler: Client has gone away. 2026.10.27 19:19:27.805186 [ 5712 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:44466). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:27.816609 [ 2461 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:38752). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:27.818191 [ 2671 ] {1a48b114-13f5-4e65-b8ba-7f67bde1aa33} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.131943735 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.838675 [ 4303 ] {b7a19dc6-2cac-4aed-a373-2db19d3830af} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.444026336 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.840626 [ 4303 ] {b7a19dc6-2cac-4aed-a373-2db19d3830af} TCPHandler: Client has gone away. 2026.10.27 19:19:27.878425 [ 3020 ] {070fe51e-0f69-44e2-9088-ea1f2630f73c} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.008010856 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:27.880479 [ 3020 ] {070fe51e-0f69-44e2-9088-ea1f2630f73c} TCPHandler: Client has gone away. 2026.10.27 19:19:28.114773 [ 4399 ] {0cffa407-b513-4a83-9ffa-968643efc487} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.912020603 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:28.115744 [ 4399 ] {0cffa407-b513-4a83-9ffa-968643efc487} TCPHandler: Client has gone away. 2026.10.27 19:19:28.148696 [ 6141 ] {c64054a3-5bf7-4fb0-915d-63da25d1e5a2} 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]:38746). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:28.148956 [ 6141 ] {c64054a3-5bf7-4fb0-915d-63da25d1e5a2} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.256024307 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:28.149718 [ 6141 ] {c64054a3-5bf7-4fb0-915d-63da25d1e5a2} TCPHandler: Client has gone away. 2026.10.27 19:19:28.232477 [ 4374 ] {6239d52b-ae71-4ad9-9e5f-539b45fa70af} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.22002392 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:28.234410 [ 4374 ] {6239d52b-ae71-4ad9-9e5f-539b45fa70af} TCPHandler: Client has gone away. 2026.10.27 19:19:28.385028 [ 4340 ] {70fb3a65-6e5d-47ed-a4ad-fffce0c432b9} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.564027626 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:28.387128 [ 4287 ] {0be5d847-a57a-4617-922c-223221e856c9} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.296013962 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:28.400258 [ 4340 ] {70fb3a65-6e5d-47ed-a4ad-fffce0c432b9} TCPHandler: Client has gone away. 2026.10.27 19:19:28.433939 [ 4287 ] {0be5d847-a57a-4617-922c-223221e856c9} TCPHandler: Client has gone away. 2026.10.27 19:19:29.276184 [ 3071 ] {0bc0a872-23eb-4c01-8ee8-3fd15c3347cb} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.188112695 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57612) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:29.433830 [ 3071 ] {0bc0a872-23eb-4c01-8ee8-3fd15c3347cb} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.188112695 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:29.629933 [ 2461 ] {e0b5eade-d69b-4a4b-bddb-0f82618208bc} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.344727698 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57624) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:32.385855 [ 2461 ] {e0b5eade-d69b-4a4b-bddb-0f82618208bc} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.344727698 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:32.386075 [ 6141 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.49 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:32.386139 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.53 GiB (attempt to allocate chunk of 4226558 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a483e53 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a481142 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2fca7 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:34.594764 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.60 GiB (attempt to allocate chunk of 5022140 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:34.595208 [ 4278 ] {7f11e261-15ff-4781-b3a7-526783c25407} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.49 GiB (attempt to allocate chunk of 2359296 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergeSortingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58968) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactEachRowWithNames), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/memcpySmall.h:40: DB::ColumnFixedString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b06a248 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:113: DB::Chunk DB::MergeSorter::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003ed117f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003ec34cf3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergeSorter::read() @ 0x000000003ec1cfa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/MergeSortingTransform.cpp:236: DB::MergeSortingTransform::generate() @ 0x000000003ebf1521 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:354: DB::SortingTransform::work() @ 0x000000003ec2d564 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:35.258756 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 4573629 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.259002 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 5167425 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.259487 [ 2232 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_1_31_6}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.67 GiB (attempt to allocate chunk of 1209247 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.260973 [ 2239 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_21_4}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.49 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.263022 [ 4137 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.58 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.261314 [ 2240 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} void DB::CachedOnDiskWriteBufferFromFile::cacheData(char *, size_t, bool): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.41 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/IO/CachedOnDiskWriteBufferFromFile.cpp:0: DB::FileSegmentRangeWriter::write(char const*, unsigned long, unsigned long, DB::FileSegmentKind) @ 0x000000003584391f in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskWriteBufferFromFile.cpp:257: DB::CachedOnDiskWriteBufferFromFile::cacheData(char*, unsigned long, bool) @ 0x00000000358480b8 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskWriteBufferFromFile.cpp:217: DB::CachedOnDiskWriteBufferFromFile::nextImpl() @ 0x0000000035847322 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/WriteBuffer.h:60: DB::WriteBufferFromFileDecorator::nextImpl() @ 0x000000003584b666 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HashingWriteBuffer::nextImpl() @ 0x000000003cb90e85 in /usr/bin/clickhouse 19. DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000941dcac in /usr/bin/clickhouse 20. ./build_docker/./src/Compression/CompressedWriteBuffer.cpp:58: DB::CompressedWriteBuffer::nextImpl() @ 0x0000000036895c79 in /usr/bin/clickhouse 21. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HashingWriteBuffer::nextImpl() @ 0x000000003cb90e85 in /usr/bin/clickhouse 22. ./build_docker/./src/IO/WriteBuffer.h:60: void std::__function::__policy_invoker::__call_impl, std::allocator>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d158779 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::getCurrentMarksForColumn(DB::NameAndTypePair const&, std::set, std::allocator>&) @ 0x000000003d14d4d0 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::writeColumn(DB::NameAndTypePair const&, DB::IColumn const&, std::set, std::allocator>&, std::vector> const&) @ 0x000000003d148dd2 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:251: DB::MergeTreeDataPartWriterWide::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d14255b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedColumnOnlyOutputStream.cpp:56: DB::MergedColumnOnlyOutputStream::write(DB::Block const&) @ 0x000000003d65f249 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::VerticalMergeStage::executeVerticalMergeForOneColumn() const @ 0x000000003cdc2b98 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:842: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde698 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::VerticalMergeStage::execute() @ 0x000000003cdcadee in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.270494 [ 4287 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.60 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.272007 [ 4279 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.67 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.278545 [ 4374 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.41 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.283469 [ 4399 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.41 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.304489 [ 9245 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.41 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.328588 [ 9250 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.41 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.340521 [ 9255 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.41 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.350404 [ 9259 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.354991 [ 6141 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.369111 [ 9266 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.378715 [ 9270 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.394991 [ 9274 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.410198 [ 9278 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.424289 [ 9282 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.427969 [ 9286 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.437256 [ 9290 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.441063 [ 9294 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.447766 [ 9298 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.451501 [ 9302 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.455986 [ 9306 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.559408 [ 3071 ] {d5b86989-9efb-4497-923b-eda4a775506e} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.928053166 seconds, maximum: 1: While executing Remote. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57646) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:35.694637 [ 6137 ] {f703381c-fd20-4b53-a4e6-55bf75376134} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.160012508 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60526) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:35.700936 [ 3071 ] {d5b86989-9efb-4497-923b-eda4a775506e} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 4.928053166 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:35.717355 [ 6790 ] {1a2c8b94-9ed8-4982-a459-3997041aec73} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.260013587 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:59932) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:35.773772 [ 4309 ] {30c941b9-4835-4385-b6fa-0fd7d7965f34} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.140012292 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54664) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:35.822671 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 4196094 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a483e53 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a481142 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2fca7 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:35.864706 [ 2671 ] {b319f216-8f43-47bb-9dcf-b7463f055f1d} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.244013414 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55840) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:35.864706 [ 3020 ] {916e88b8-5e66-46d1-b833-026d452c13a5} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.064011473 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36114) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:35.864989 [ 4272 ] {6c142642-39d0-414b-ba3b-ae851589cee5} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.028011083 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:47104) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:35.872571 [ 5687 ] {91cab2fb-c81b-4e24-b08a-0427c85fc506} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.116012033 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:59924) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:35.891822 [ 4305 ] {07ac0ebe-aa70-4537-8fa1-c95f2c9e5883} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.080011646 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:43214) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:36.640519 [ 2671 ] {b319f216-8f43-47bb-9dcf-b7463f055f1d} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.244013414 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:36.684822 [ 4309 ] {30c941b9-4835-4385-b6fa-0fd7d7965f34} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:54664). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:36.700174 [ 4309 ] {30c941b9-4835-4385-b6fa-0fd7d7965f34} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.140012292 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:36.710439 [ 6137 ] {f703381c-fd20-4b53-a4e6-55bf75376134} 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]:60526). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:36.710663 [ 6137 ] {f703381c-fd20-4b53-a4e6-55bf75376134} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.160012508 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:36.746442 [ 3020 ] {916e88b8-5e66-46d1-b833-026d452c13a5} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.064011473 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:36.752883 [ 2671 ] {b319f216-8f43-47bb-9dcf-b7463f055f1d} TCPHandler: Client has gone away. 2026.10.27 19:19:36.754520 [ 4309 ] {30c941b9-4835-4385-b6fa-0fd7d7965f34} TCPHandler: Client has gone away. 2026.10.27 19:19:36.761263 [ 6137 ] {f703381c-fd20-4b53-a4e6-55bf75376134} TCPHandler: Client has gone away. 2026.10.27 19:19:36.801360 [ 3020 ] {916e88b8-5e66-46d1-b833-026d452c13a5} TCPHandler: Client has gone away. 2026.10.27 19:19:36.813452 [ 6790 ] {1a2c8b94-9ed8-4982-a459-3997041aec73} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:59932). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:36.813697 [ 6790 ] {1a2c8b94-9ed8-4982-a459-3997041aec73} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.260013587 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:36.859996 [ 6790 ] {1a2c8b94-9ed8-4982-a459-3997041aec73} TCPHandler: Client has gone away. 2026.10.27 19:19:36.907044 [ 4305 ] {07ac0ebe-aa70-4537-8fa1-c95f2c9e5883} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:43214). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:36.907456 [ 4305 ] {07ac0ebe-aa70-4537-8fa1-c95f2c9e5883} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.080011646 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:36.908634 [ 4305 ] {07ac0ebe-aa70-4537-8fa1-c95f2c9e5883} TCPHandler: Client has gone away. 2026.10.27 19:19:37.316454 [ 5687 ] {91cab2fb-c81b-4e24-b08a-0427c85fc506} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:59924). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:37.316728 [ 5687 ] {91cab2fb-c81b-4e24-b08a-0427c85fc506} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.116012033 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:37.322494 [ 4272 ] {6c142642-39d0-414b-ba3b-ae851589cee5} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.028011083 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:37.372236 [ 5687 ] {91cab2fb-c81b-4e24-b08a-0427c85fc506} TCPHandler: Client has gone away. 2026.10.27 19:19:37.381090 [ 4272 ] {6c142642-39d0-414b-ba3b-ae851589cee5} TCPHandler: Client has gone away. 2026.10.27 19:19:37.644532 [ 4374 ] {fb1b344a-d64f-443d-81b3-56d843cba188} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.289515898 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59188) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:37.812710 [ 6121 ] {8e13a3ec-7a3b-441a-9d6f-f26caf1b5d75} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:58468). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:58468) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProgress() @ 0x000000003e0aacc7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0aa06f in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:37.834369 [ 4374 ] {fb1b344a-d64f-443d-81b3-56d843cba188} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.289515898 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:37.877608 [ 3817 ] {c4b24dfa-155a-4934-9fc0-26db23a2e9a9} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.068011516 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:39228) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:37.884070 [ 6121 ] {8e13a3ec-7a3b-441a-9d6f-f26caf1b5d75} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:58468). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:37.884295 [ 6121 ] {8e13a3ec-7a3b-441a-9d6f-f26caf1b5d75} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:58468). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProgress() @ 0x000000003e0aacc7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0aa06f in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:37.937012 [ 6121 ] {8e13a3ec-7a3b-441a-9d6f-f26caf1b5d75} TCPHandler: Client has gone away. 2026.10.27 19:19:37.939787 [ 4488 ] {1a5b7cdd-3f44-4db7-8f82-7743adb22349} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.048011299 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:57130) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:37.951910 [ 6792 ] {2bb12cd0-00ea-48db-ab53-a84555892756} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 7.136076975 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35434) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:37.991837 [ 1850 ] {048b89e5-f77f-4785-9161-4363ec831bda} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.000010781 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60512) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:38.042067 [ 5712 ] {1bd88230-f807-44c5-a8b6-426a2a44ffd7} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.016010954 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55824) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:38.613619 [ 4340 ] {c7367853-ed07-4d70-9607-e24b5950e44a} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.2320133 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:43218) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:38.621758 [ 1848 ] {b3378dbc-36e8-4b1f-ac20-a29ba2db22f9} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.208013041 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60534) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:38.689253 [ 4488 ] {1a5b7cdd-3f44-4db7-8f82-7743adb22349} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.048011299 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:38.709615 [ 4303 ] {5912b8eb-2c41-45b3-9a41-9824e56c511b} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.024011055 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55844) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:38.745772 [ 4488 ] {1a5b7cdd-3f44-4db7-8f82-7743adb22349} TCPHandler: Client has gone away. 2026.10.27 19:19:38.816923 [ 3817 ] {c4b24dfa-155a-4934-9fc0-26db23a2e9a9} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.068011516 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:38.853435 [ 3817 ] {c4b24dfa-155a-4934-9fc0-26db23a2e9a9} TCPHandler: Client has gone away. 2026.10.27 19:19:38.977383 [ 4317 ] {b4b68d73-59e4-4eb8-9b93-8c37d0dad60b} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.48402682 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:59948) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:39.093112 [ 6792 ] {2bb12cd0-00ea-48db-ab53-a84555892756} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 7.136076975 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:39.174540 [ 6792 ] {2bb12cd0-00ea-48db-ab53-a84555892756} TCPHandler: Client has gone away. 2026.10.27 19:19:39.701578 [ 2461 ] {03858fe0-278e-4f42-9641-2143fed74012} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.144012352 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36154) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:39.861639 [ 9274 ] {362822ab-3a9c-4ba6-9d78-255ad619259b} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.058719555 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36170) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:39.869682 [ 9274 ] {362822ab-3a9c-4ba6-9d78-255ad619259b} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.058719555 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:40.044511 [ 9250 ] {78e159b9-ad08-4c6a-8a88-d01825b85719} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.658088977 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59202) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:40.236298 [ 4137 ] {305d953c-1894-4e99-8c67-b1bad0ac6028} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.088011748 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36834) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:40.381372 [ 5712 ] {1bd88230-f807-44c5-a8b6-426a2a44ffd7} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.016010954 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:40.425549 [ 6141 ] {985deebd-4536-4b59-b767-5ff22f6dfcc5} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.124012135 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54156) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:40.438996 [ 5712 ] {1bd88230-f807-44c5-a8b6-426a2a44ffd7} TCPHandler: Client has gone away. 2026.10.27 19:19:40.442330 [ 4279 ] {c20c41e8-c436-4e78-8aaf-091688d24ad6} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.084011704 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:59634) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:40.451364 [ 9274 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:36170). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:40.477068 [ 9250 ] {78e159b9-ad08-4c6a-8a88-d01825b85719} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.658088977 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:40.541742 [ 4278 ] {7f11e261-15ff-4781-b3a7-526783c25407} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.49 GiB (attempt to allocate chunk of 2359296 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergeSortingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/memcpySmall.h:40: DB::ColumnFixedString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b06a248 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:113: DB::Chunk DB::MergeSorter::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003ed117f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003ec34cf3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergeSorter::read() @ 0x000000003ec1cfa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/MergeSortingTransform.cpp:236: DB::MergeSortingTransform::generate() @ 0x000000003ebf1521 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:354: DB::SortingTransform::work() @ 0x000000003ec2d564 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:40.652737 [ 9282 ] {73408ce9-78ba-429d-a5af-4a601f931da4} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery14: While processing 1 = ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery14). (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59210) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4ea34 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5a94a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dfc3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d01f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a6eed7e 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) const @ 0x000000003a6de8f4 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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 2026.10.27 19:19:40.666127 [ 9282 ] {73408ce9-78ba-429d-a5af-4a601f931da4} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery14: While processing 1 = ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery14). (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4ea34 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5a94a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dfc3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d01f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a6eed7e 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) const @ 0x000000003a6de8f4 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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 2026.10.27 19:19:40.782047 [ 9282 ] {68bcc256-e2b4-4a06-a2dd-af2f21db7325} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59210) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:40.790952 [ 9282 ] {68bcc256-e2b4-4a06-a2dd-af2f21db7325} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:42.196591 [ 9266 ] {21543a20-6a1d-4e9e-a8d4-59f9a01284a4} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.088011751 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36850) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:42.197819 [ 9259 ] {3d98d107-b1d3-4e90-b3f8-b397be92b6ab} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.028011104 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:45426) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:42.205539 [ 9255 ] {4dc3132b-5055-412e-9b1e-fa4a7cfaa6be} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.224013221 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54166) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:42.206892 [ 9270 ] {16778033-d5c2-49f9-bbbc-b03382b629dc} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.02401106 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:58470) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:42.251786 [ 1850 ] {048b89e5-f77f-4785-9161-4363ec831bda} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.000010781 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:42.260402 [ 1850 ] {048b89e5-f77f-4785-9161-4363ec831bda} TCPHandler: Client has gone away. 2026.10.27 19:19:42.297357 [ 4303 ] {5912b8eb-2c41-45b3-9a41-9824e56c511b} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:55844). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:42.298564 [ 4303 ] {5912b8eb-2c41-45b3-9a41-9824e56c511b} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.024011055 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:42.300813 [ 9250 ] {ca019074-b2a1-4362-b3c5-756b59439c8f} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.275628193 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59212) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:42.307220 [ 4303 ] {5912b8eb-2c41-45b3-9a41-9824e56c511b} TCPHandler: Client has gone away. 2026.10.27 19:19:42.341680 [ 1848 ] {b3378dbc-36e8-4b1f-ac20-a29ba2db22f9} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:60534). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:42.342167 [ 1848 ] {b3378dbc-36e8-4b1f-ac20-a29ba2db22f9} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.208013041 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:42.345355 [ 1848 ] {b3378dbc-36e8-4b1f-ac20-a29ba2db22f9} TCPHandler: Client has gone away. 2026.10.27 19:19:42.358772 [ 9250 ] {ca019074-b2a1-4362-b3c5-756b59439c8f} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.275628193 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:42.960766 [ 4317 ] {b4b68d73-59e4-4eb8-9b93-8c37d0dad60b} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:59948). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:42.965101 [ 4317 ] {b4b68d73-59e4-4eb8-9b93-8c37d0dad60b} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.48402682 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:42.997322 [ 4317 ] {b4b68d73-59e4-4eb8-9b93-8c37d0dad60b} TCPHandler: Client has gone away. 2026.10.27 19:19:43.105173 [ 4279 ] {c20c41e8-c436-4e78-8aaf-091688d24ad6} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.084011704 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:43.109581 [ 4279 ] {c20c41e8-c436-4e78-8aaf-091688d24ad6} TCPHandler: Client has gone away. 2026.10.27 19:19:43.520517 [ 9270 ] {16778033-d5c2-49f9-bbbc-b03382b629dc} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.02401106 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:43.558670 [ 9259 ] {3d98d107-b1d3-4e90-b3f8-b397be92b6ab} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.028011104 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:43.604892 [ 9259 ] {3d98d107-b1d3-4e90-b3f8-b397be92b6ab} TCPHandler: Client has gone away. 2026.10.27 19:19:43.613588 [ 9270 ] {16778033-d5c2-49f9-bbbc-b03382b629dc} TCPHandler: Client has gone away. 2026.10.27 19:19:43.680671 [ 9255 ] {4dc3132b-5055-412e-9b1e-fa4a7cfaa6be} 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]:54166). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:43.680935 [ 9255 ] {4dc3132b-5055-412e-9b1e-fa4a7cfaa6be} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.224013221 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:43.683626 [ 9255 ] {4dc3132b-5055-412e-9b1e-fa4a7cfaa6be} TCPHandler: Client has gone away. 2026.10.27 19:19:43.850645 [ 9266 ] {21543a20-6a1d-4e9e-a8d4-59f9a01284a4} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:36850). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:43.879126 [ 9266 ] {21543a20-6a1d-4e9e-a8d4-59f9a01284a4} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.088011751 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:43.919619 [ 9266 ] {21543a20-6a1d-4e9e-a8d4-59f9a01284a4} TCPHandler: Client has gone away. 2026.10.27 19:19:44.920249 [ 9306 ] {2f6ba715-95eb-420c-8857-254e002b3aec} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.225412305 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36538) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:44.932516 [ 9306 ] {2f6ba715-95eb-420c-8857-254e002b3aec} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.225412305 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:45.080355 [ 9302 ] {b6fbcac8-1592-45b8-aee9-0b708cb6de84} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.249393003 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:45432) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:45.091711 [ 9302 ] {b6fbcac8-1592-45b8-aee9-0b708cb6de84} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.249393003 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:45.116557 [ 9250 ] {e7209236-bbca-4c39-972d-3db0ee47d0f0} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.301181358 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59240) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:45.298802 [ 9302 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:45432). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:45.396737 [ 9250 ] {e7209236-bbca-4c39-972d-3db0ee47d0f0} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.301181358 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:45.473936 [ 9245 ] {16e7c0c8-2b7f-4f0e-9805-f43a2a7a3a1a} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.240013392 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:59650) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:45.602783 [ 9282 ] {ec9e2247-3977-4ad8-8f1f-2c13c126c25a} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 15.00 million, current rows: 17.75 million: While executing MergeTreeThread. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59210) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:45.819148 [ 9282 ] {ec9e2247-3977-4ad8-8f1f-2c13c126c25a} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 15.00 million, current rows: 17.75 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:45.937134 [ 4340 ] {c7367853-ed07-4d70-9607-e24b5950e44a} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:43218). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:45.939364 [ 4340 ] {c7367853-ed07-4d70-9607-e24b5950e44a} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.2320133 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:45.957523 [ 4340 ] {c7367853-ed07-4d70-9607-e24b5950e44a} TCPHandler: Client has gone away. 2026.10.27 19:19:45.965326 [ 9282 ] {1afd13d9-5084-487e-af71-f3dcab20a28d} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery17: While processing CounterID > ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery17). (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59210) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4ea34 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5a94a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dfc3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a6eed7e 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) const @ 0x000000003a6de8f4 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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 2026.10.27 19:19:45.972865 [ 9282 ] {1afd13d9-5084-487e-af71-f3dcab20a28d} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery17: While processing CounterID > ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery17). (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4ea34 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5a94a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dfc3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a6eed7e 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) const @ 0x000000003a6de8f4 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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 2026.10.27 19:19:46.097799 [ 9286 ] {011a9898-f037-4efe-a59e-6ad7e5c6fe46} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.040011242 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:58474) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:46.170854 [ 9294 ] {ab3513b5-3b70-4b8c-a993-eb3f4043258c} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.012010937 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54168) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:46.190366 [ 9278 ] {fd56c180-d00c-4043-9c5d-5c9cdd9ceacc} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.04001124 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36862) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:46.258530 [ 9298 ] {2bf77cd7-2171-4deb-ba34-66907d4d62df} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.14801241 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36178) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:46.330623 [ 4303 ] {40175539-5e29-400e-9321-efafb9dc3b14} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.044011285 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:45004) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:46.518761 [ 9290 ] {5bb7e49a-6f16-4ba5-b6eb-2a5644625435} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.00001081 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:59652) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:46.884251 [ 6141 ] {985deebd-4536-4b59-b767-5ff22f6dfcc5} 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]:54156). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:46.884513 [ 6141 ] {985deebd-4536-4b59-b767-5ff22f6dfcc5} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.124012135 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:46.913873 [ 9282 ] {7e175b7e-403a-4f70-b22e-e5153e796325} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 10.00 million, current rows: 13.11 million: While executing MergeTreeThread. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59210) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:46.978521 [ 6141 ] {985deebd-4536-4b59-b767-5ff22f6dfcc5} TCPHandler: Client has gone away. 2026.10.27 19:19:47.128178 [ 9282 ] {7e175b7e-403a-4f70-b22e-e5153e796325} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 10.00 million, current rows: 13.11 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:47.894155 [ 4374 ] {b4c7044b-b8d6-4892-8edc-4d17483a0e40} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.161676085 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:47774) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:48.008594 [ 9302 ] {12083bda-fd1e-402f-9089-2a1379838c2d} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.231769303 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35562) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:48.137193 [ 4399 ] {5b2a5fed-c0b4-44ea-8c65-ff73c860cd19} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.158702391 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55008) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:49.480822 [ 4399 ] {5b2a5fed-c0b4-44ea-8c65-ff73c860cd19} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.158702391 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:49.488234 [ 4374 ] {b4c7044b-b8d6-4892-8edc-4d17483a0e40} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.161676085 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:49.494804 [ 4287 ] {9c45413f-5e33-4088-a562-55d3e7f626a6} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.116012068 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:50562) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:49.503750 [ 9302 ] {12083bda-fd1e-402f-9089-2a1379838c2d} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.231769303 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:49.536473 [ 4374 ] {b4c7044b-b8d6-4892-8edc-4d17483a0e40} TCPHandler: Client has gone away. 2026.10.27 19:19:49.613115 [ 4137 ] {305d953c-1894-4e99-8c67-b1bad0ac6028} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:36834). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:49.613710 [ 4137 ] {305d953c-1894-4e99-8c67-b1bad0ac6028} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.088011748 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:49.641408 [ 9266 ] {241f5260-848e-4765-a6a5-3802d99f05a1} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.332014405 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:40416) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:49.652261 [ 9302 ] {12083bda-fd1e-402f-9089-2a1379838c2d} TCPHandler: Client has gone away. 2026.10.27 19:19:49.673114 [ 2461 ] {03858fe0-278e-4f42-9641-2143fed74012} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.144012352 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:49.674425 [ 4137 ] {305d953c-1894-4e99-8c67-b1bad0ac6028} TCPHandler: Client has gone away. 2026.10.27 19:19:49.692349 [ 9245 ] {16e7c0c8-2b7f-4f0e-9805-f43a2a7a3a1a} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.240013392 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:49.725159 [ 9245 ] {16e7c0c8-2b7f-4f0e-9805-f43a2a7a3a1a} TCPHandler: Client has gone away. 2026.10.27 19:19:49.725649 [ 2461 ] {03858fe0-278e-4f42-9641-2143fed74012} TCPHandler: Client has gone away. 2026.10.27 19:19:49.725612 [ 9259 ] {0ebcc84f-6541-4424-82b7-1b2713ac8e52} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.096011853 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:33372) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:49.726588 [ 1850 ] {6948d2ff-189d-4a86-8eef-92f0312b059f} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 63.06 KiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55034) (comment: 00015_totals_and_no_aggregate_functions.sql) (in query: SELECT AdvEngineID FROM test.hits GROUP BY AdvEngineID WITH TOTALS ORDER BY AdvEngineID ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:49.740202 [ 1850 ] {6948d2ff-189d-4a86-8eef-92f0312b059f} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 63.06 KiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:49.794589 [ 9306 ] {4fc10535-c7b7-4b32-9729-c30b77498696} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.068011549 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:38242) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:49.808316 [ 9270 ] {ffcd881a-95dc-4d8e-a450-7dab89c5388b} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.036011204 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:45216) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:49.851424 [ 4317 ] {995f3bcf-109b-43a0-9dfd-0d48dc33c63e} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.632017648 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:40106) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:49.851459 [ 9255 ] {5e24c81a-95cb-4bb5-86a0-c9bd8c41d2db} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.372014836 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:57858) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:50.043834 [ 9294 ] {ab3513b5-3b70-4b8c-a993-eb3f4043258c} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.012010937 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:50.056641 [ 9286 ] {011a9898-f037-4efe-a59e-6ad7e5c6fe46} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.040011242 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:50.107633 [ 9286 ] {011a9898-f037-4efe-a59e-6ad7e5c6fe46} TCPHandler: Client has gone away. 2026.10.27 19:19:50.160374 [ 9294 ] {ab3513b5-3b70-4b8c-a993-eb3f4043258c} TCPHandler: Client has gone away. 2026.10.27 19:19:50.194022 [ 4303 ] {40175539-5e29-400e-9321-efafb9dc3b14} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.044011285 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:50.202011 [ 9298 ] {2bf77cd7-2171-4deb-ba34-66907d4d62df} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.14801241 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:50.217295 [ 4303 ] {40175539-5e29-400e-9321-efafb9dc3b14} TCPHandler: Client has gone away. 2026.10.27 19:19:50.244847 [ 9298 ] {2bf77cd7-2171-4deb-ba34-66907d4d62df} TCPHandler: Client has gone away. 2026.10.27 19:19:50.516743 [ 9278 ] {fd56c180-d00c-4043-9c5d-5c9cdd9ceacc} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.04001124 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:50.546200 [ 9278 ] {fd56c180-d00c-4043-9c5d-5c9cdd9ceacc} TCPHandler: Client has gone away. 2026.10.27 19:19:51.082470 [ 9270 ] {ffcd881a-95dc-4d8e-a450-7dab89c5388b} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.036011204 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:51.084225 [ 9270 ] {ffcd881a-95dc-4d8e-a450-7dab89c5388b} TCPHandler: Client has gone away. 2026.10.27 19:19:51.696352 [ 1850 ] {0b61dc58-9aa2-4ec6-bcb9-8ee0fe740f5c} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.0590767 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:45218) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:51.780119 [ 4272 ] {04cea3b1-8121-4d9e-b2a4-2253e5f8ad98} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.131039378 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:40114) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:51.868272 [ 4272 ] {04cea3b1-8121-4d9e-b2a4-2253e5f8ad98} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.131039378 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:51.873875 [ 1850 ] {0b61dc58-9aa2-4ec6-bcb9-8ee0fe740f5c} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.0590767 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:51.881997 [ 4305 ] {13333b75-4aa9-4df2-931c-2db27bd76f9d} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.081523113 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:33382) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:51.892683 [ 4305 ] {13333b75-4aa9-4df2-931c-2db27bd76f9d} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.081523113 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:51.903000 [ 2671 ] {dc9e5ec7-023a-4b4d-bebb-caf9cfd5c586} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.027442975 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:42662) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:51.912501 [ 2671 ] {dc9e5ec7-023a-4b4d-bebb-caf9cfd5c586} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.027442975 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e09b2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fc6eb378a83 in ? 10. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:52.155678 [ 9290 ] {5bb7e49a-6f16-4ba5-b6eb-2a5644625435} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.00001081 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:52.261350 [ 9290 ] {5bb7e49a-6f16-4ba5-b6eb-2a5644625435} TCPHandler: Client has gone away. 2026.10.27 19:19:52.428555 [ 9302 ] {523060a6-dec1-4960-a405-7d7dced955be} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.439771804 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55044) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:52.746973 [ 4305 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:33382). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:52.772746 [ 9302 ] {523060a6-dec1-4960-a405-7d7dced955be} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 2.439771804 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x0000000039f88718 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000003e1e1252 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0b6a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:52.774835 [ 1850 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:45218). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:52.918967 [ 9259 ] {0ebcc84f-6541-4424-82b7-1b2713ac8e52} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:33372). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:52.919353 [ 9259 ] {0ebcc84f-6541-4424-82b7-1b2713ac8e52} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.096011853 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:52.924368 [ 9266 ] {241f5260-848e-4765-a6a5-3802d99f05a1} 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]:40416). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:52.932397 [ 9266 ] {241f5260-848e-4765-a6a5-3802d99f05a1} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.332014405 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:52.948291 [ 9266 ] {241f5260-848e-4765-a6a5-3802d99f05a1} TCPHandler: Client has gone away. 2026.10.27 19:19:52.979265 [ 9259 ] {0ebcc84f-6541-4424-82b7-1b2713ac8e52} TCPHandler: Client has gone away. 2026.10.27 19:19:53.032437 [ 9255 ] {5e24c81a-95cb-4bb5-86a0-c9bd8c41d2db} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.372014836 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:53.045854 [ 9306 ] {4fc10535-c7b7-4b32-9729-c30b77498696} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:38242). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:19:53.046145 [ 9306 ] {4fc10535-c7b7-4b32-9729-c30b77498696} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.068011549 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:53.064116 [ 9255 ] {5e24c81a-95cb-4bb5-86a0-c9bd8c41d2db} TCPHandler: Client has gone away. 2026.10.27 19:19:53.079074 [ 9306 ] {4fc10535-c7b7-4b32-9729-c30b77498696} TCPHandler: Client has gone away. 2026.10.27 19:19:53.595337 [ 4488 ] {11725e3e-fefd-4a41-9f76-84c194e30ac2} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.660017963 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:50568) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:53.724636 [ 3020 ] {18e8099a-2c15-41d6-8068-4a619ddb8d1f} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.3400145 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:57874) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:53.753595 [ 4317 ] {995f3bcf-109b-43a0-9dfd-0d48dc33c63e} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.632017648 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:53.778829 [ 5712 ] {0f1a11e5-ffbf-494c-83e2-504f713346c6} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.680018179 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:40428) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:53.795862 [ 4317 ] {995f3bcf-109b-43a0-9dfd-0d48dc33c63e} TCPHandler: Client has gone away. 2026.10.27 19:19:53.846185 [ 5687 ] {9e7cbecb-f110-41bc-8bf6-dff2d3836785} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.520016448 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:47790) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:53.847075 [ 4287 ] {9c45413f-5e33-4088-a562-55d3e7f626a6} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.116012068 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:53.868953 [ 6137 ] {f807e30f-5d08-4fb6-8007-206adff6569f} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.620017531 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:38258) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:53.894074 [ 4287 ] {9c45413f-5e33-4088-a562-55d3e7f626a6} TCPHandler: Client has gone away. 2026.10.27 19:19:53.913596 [ 6790 ] {14f3e30c-49c4-414c-a8c2-10ec1cb43018} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.536016621 seconds, maximum: 1: While executing MergeTreeThread. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35566) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:56.514944 [ 9250 ] {9fa1b081-7a6e-4d3e-a4b8-7f92d8dd3e05} executeQuery: Code: 47. DB::Exception: Missing columns: 'test_01103.t1_distr.id' while processing query: '_CAST(now(([NULL, NULL, NULL, [-2147483648], [NULL, NULL, NULL, NULL, NULL, NULL, NULL]] AND (1048576 AND NULL) AND (NULL AND 1048575 AND NULL AND -2147483649) AND NULL) IN (test_01103.t1_distr.id)) AS b_tmp_alter8623371071384791067, 'DateTime') AS b, b_tmp_alter8623371071384791067', required columns: 'test_01103.t1_distr.id' 'test_01103.t1_distr.id': default expression and column type are incompatible. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55094) (comment: 02041_test_fuzzy_alter.sql) (in query: ALTER TABLE alter_table MODIFY COLUMN `b` DateTime DEFAULT now(([NULL, NULL, NULL, [-2147483648], [NULL, NULL, NULL, NULL, NULL, NULL, NULL]] AND (1048576 AND NULL) AND (NULL AND 1048575 AND NULL AND -2147483649) AND NULL) IN (test_01103.t1_distr.id));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000941cd1b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6d7877 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1356: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000003a6f409d in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003b956285 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Block.h:25: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b911145 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e02c5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:56.525859 [ 9250 ] {9fa1b081-7a6e-4d3e-a4b8-7f92d8dd3e05} TCPHandler: Code: 47. DB::Exception: Missing columns: 'test_01103.t1_distr.id' while processing query: '_CAST(now(([NULL, NULL, NULL, [-2147483648], [NULL, NULL, NULL, NULL, NULL, NULL, NULL]] AND (1048576 AND NULL) AND (NULL AND 1048575 AND NULL AND -2147483649) AND NULL) IN (test_01103.t1_distr.id)) AS b_tmp_alter8623371071384791067, 'DateTime') AS b, b_tmp_alter8623371071384791067', required columns: 'test_01103.t1_distr.id' 'test_01103.t1_distr.id': default expression and column type are incompatible. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000941cd1b in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000003a6d7877 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1356: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000003a6f409d in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000003b956285 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Block.h:25: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b911145 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e02c5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:57.037400 [ 4488 ] {11725e3e-fefd-4a41-9f76-84c194e30ac2} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.660017963 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:57.107682 [ 4488 ] {11725e3e-fefd-4a41-9f76-84c194e30ac2} TCPHandler: Client has gone away. 2026.10.27 19:19:57.919461 [ 5687 ] {9e7cbecb-f110-41bc-8bf6-dff2d3836785} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.520016448 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:57.992113 [ 5687 ] {9e7cbecb-f110-41bc-8bf6-dff2d3836785} TCPHandler: Client has gone away. 2026.10.27 19:19:58.292984 [ 3020 ] {18e8099a-2c15-41d6-8068-4a619ddb8d1f} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.3400145 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:58.394318 [ 3020 ] {18e8099a-2c15-41d6-8068-4a619ddb8d1f} TCPHandler: Client has gone away. 2026.10.27 19:19:59.255850 [ 6137 ] {f807e30f-5d08-4fb6-8007-206adff6569f} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.620017531 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:19:59.255984 [ 9310 ] {57ed3e01-3d99-40b3-8967-a6e2205200dc} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 59.92 MiB (attempt to allocate chunk of 1048715 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:42670) (comment: 00171_grouping_aggregated_transform_bug.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002078b7b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/HashTable/HashTable.h:521: HashTable, HashTableNoState, PairNoInit>, HashCRC32, TwoLevelHashTableGrower<8ul>, Allocator>::alloc(TwoLevelHashTableGrower<8ul> const&) @ 0x00000000380e766b in /usr/bin/clickhouse 8. ./build_docker/./src/Common/HashTable/TwoLevelHashTable.h:94: TwoLevelHashMapTable, HashTableNoState, PairNoInit>, HashCRC32, TwoLevelHashTableGrower<8ul>, Allocator, HashMapTable>::TwoLevelHashMapTable(unsigned long) @ 0x00000000380e71bf in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:312: auto (anonymous namespace)::constructWithReserveIfPossible, HashTableNoState, PairNoInit>, HashCRC32, TwoLevelHashTableGrower<8ul>, Allocator, HashMapTable>, true, false>>(unsigned long) @ 0x0000000037da5c8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:408: DB::AggregatedDataVariants::init(DB::AggregatedDataVariants::Type, std::optional) @ 0x0000000037da0316 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:251: (anonymous namespace)::initDataVariantsWithSizeHint(DB::AggregatedDataVariants&, DB::AggregatedDataVariants::Type, DB::Aggregator::Params const&) @ 0x0000000037dc29de in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:1534: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dcf30c in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:02.979096 [ 9278 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.53 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:04.698120 [ 6790 ] {14f3e30c-49c4-414c-a8c2-10ec1cb43018} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.536016621 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:04.699784 [ 6137 ] {f807e30f-5d08-4fb6-8007-206adff6569f} TCPHandler: Client has gone away. 2026.10.27 19:20:05.302343 [ 2236 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} WriteBufferFromS3: WriteBufferFromS3 was neither finished nor aborted, try to abort upload in destructor. Details: bucket test, key common/xun/dgzuxwdjcfjmpilunpkewaicyhvnu, total size 122841576, count 122841576, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LjQ3YzhiNzdmLWFlZGQtNDVmNC1iZjIyLTYzMWE0M2JhYzU5M3gxNzkzMTI1MTEwNTAyNDE1Njc0, upload has finished false. 2026.10.27 19:20:05.317754 [ 2236 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} WriteBufferFromS3: Abort multipart upload. Details: bucket test, key common/xun/dgzuxwdjcfjmpilunpkewaicyhvnu, total size 122841576, count 122841576, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LjQ3YzhiNzdmLWFlZGQtNDVmNC1iZjIyLTYzMWE0M2JhYzU5M3gxNzkzMTI1MTEwNTAyNDE1Njc0, upload has finished false 2026.10.27 19:20:05.405017 [ 2236 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} WriteBufferFromS3: Multipart upload has aborted successfully. Details: bucket test, key common/xun/dgzuxwdjcfjmpilunpkewaicyhvnu, total size 122841576, count 122841576, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LjQ3YzhiNzdmLWFlZGQtNDVmNC1iZjIyLTYzMWE0M2JhYzU5M3gxNzkzMTI1MTEwNTAyNDE1Njc0, upload has finished false 2026.10.27 19:20:05.411541 [ 2236 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} WriteBufferFromS3: WriteBufferFromS3 was neither finished nor aborted, try to abort upload in destructor. Details: bucket test, key common/gqs/yoztunqduosrvtrelbowqdstujwwd, total size 44069185, count 44069185, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0Ljg4ZGQ0NGE2LWI0ZDAtNDBhMC04NTdhLTExYWU2NzJjYjdkYngxNzkzMTI1MTU3OTU5NjA2MzUx, upload has finished false. 2026.10.27 19:20:05.411680 [ 2236 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} WriteBufferFromS3: Abort multipart upload. Details: bucket test, key common/gqs/yoztunqduosrvtrelbowqdstujwwd, total size 44069185, count 44069185, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0Ljg4ZGQ0NGE2LWI0ZDAtNDBhMC04NTdhLTExYWU2NzJjYjdkYngxNzkzMTI1MTU3OTU5NjA2MzUx, upload has finished false 2026.10.27 19:20:05.415829 [ 2236 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} WriteBufferFromS3: Multipart upload has aborted successfully. Details: bucket test, key common/gqs/yoztunqduosrvtrelbowqdstujwwd, total size 44069185, count 44069185, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0Ljg4ZGQ0NGE2LWI0ZDAtNDBhMC04NTdhLTExYWU2NzJjYjdkYngxNzkzMTI1MTU3OTU5NjA2MzUx, upload has finished false 2026.10.27 19:20:05.662157 [ 5712 ] {0f1a11e5-ffbf-494c-83e2-504f713346c6} 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]:40428). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:05.663826 [ 5712 ] {0f1a11e5-ffbf-494c-83e2-504f713346c6} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.680018179 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036a5bd2c in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/ExecutionSpeedLimits.cpp:110: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000036a5af8c in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:50: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a5801c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:05.664332 [ 2350 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::AsynchronousMetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.49 GiB (attempt to allocate chunk of 5146549 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3b72d3 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3b47b2 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c23847 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:05.663965 [ 9310 ] {57ed3e01-3d99-40b3-8967-a6e2205200dc} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 59.92 MiB (attempt to allocate chunk of 1048715 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002078b7b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/HashTable/HashTable.h:521: HashTable, HashTableNoState, PairNoInit>, HashCRC32, TwoLevelHashTableGrower<8ul>, Allocator>::alloc(TwoLevelHashTableGrower<8ul> const&) @ 0x00000000380e766b in /usr/bin/clickhouse 8. ./build_docker/./src/Common/HashTable/TwoLevelHashTable.h:94: TwoLevelHashMapTable, HashTableNoState, PairNoInit>, HashCRC32, TwoLevelHashTableGrower<8ul>, Allocator, HashMapTable>::TwoLevelHashMapTable(unsigned long) @ 0x00000000380e71bf in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:312: auto (anonymous namespace)::constructWithReserveIfPossible, HashTableNoState, PairNoInit>, HashCRC32, TwoLevelHashTableGrower<8ul>, Allocator, HashMapTable>, true, false>>(unsigned long) @ 0x0000000037da5c8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:408: DB::AggregatedDataVariants::init(DB::AggregatedDataVariants::Type, std::optional) @ 0x0000000037da0316 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:251: (anonymous namespace)::initDataVariantsWithSizeHint(DB::AggregatedDataVariants&, DB::AggregatedDataVariants::Type, DB::Aggregator::Params const&) @ 0x0000000037dc29de in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:1534: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dcf30c in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:05.664649 [ 2296 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::QueryLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.49 GiB (attempt to allocate chunk of 5046140 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:05.665040 [ 9250 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.53 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:05.668966 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.53 GiB (attempt to allocate chunk of 4213029 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:05.669107 [ 4309 ] {51975425-80af-461b-b819-20c9c9cc1219} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 49.17 MiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:40442) (comment: 00171_grouping_aggregated_transform_bug.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:05.669298 [ 3817 ] {b1330af7-fae9-4e03-a1d2-aad4c237c7f3} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 78.44 MiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:45226) (comment: 00171_grouping_aggregated_transform_bug.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:05.686147 [ 2231 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_1_39_5}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (while reading column message): (while reading from part /var/lib/clickhouse/disks/s3/store/29b/29baccac-732e-4d30-9f86-41a1af37e650/202610_1_23_4/ in table system.text_log (29baccac-732e-4d30-9f86-41a1af37e650) located on disk s3 of type s3, from mark 0 with max_rows_to_read = 8192): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:45: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770de9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 19. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c526 in /usr/bin/clickhouse 20. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:05.686151 [ 1848 ] {126461fa-05d4-4acf-a0a9-1581deaedb33} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 71.21 MiB (attempt to allocate chunk of 1052163 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:57882) (comment: 00171_grouping_aggregated_transform_bug.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002078b7b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/HashTable/HashTable.h:521: HashTable, HashTableNoState, PairNoInit>, HashCRC32, TwoLevelHashTableGrower<8ul>, Allocator>::alloc(TwoLevelHashTableGrower<8ul> const&) @ 0x00000000380e766b in /usr/bin/clickhouse 8. ./build_docker/./src/Common/HashTable/TwoLevelHashTable.h:94: TwoLevelHashMapTable, HashTableNoState, PairNoInit>, HashCRC32, TwoLevelHashTableGrower<8ul>, Allocator, HashMapTable>::TwoLevelHashMapTable(unsigned long) @ 0x00000000380e71bf in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:312: auto (anonymous namespace)::constructWithReserveIfPossible, HashTableNoState, PairNoInit>, HashCRC32, TwoLevelHashTableGrower<8ul>, Allocator, HashMapTable>, true, false>>(unsigned long) @ 0x0000000037da5c8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:408: DB::AggregatedDataVariants::init(DB::AggregatedDataVariants::Type, std::optional) @ 0x0000000037da0316 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:251: (anonymous namespace)::initDataVariantsWithSizeHint(DB::AggregatedDataVariants&, DB::AggregatedDataVariants::Type, DB::Aggregator::Params const&) @ 0x0000000037dc29de in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:1534: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dcf30c in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:05.693737 [ 5712 ] {0f1a11e5-ffbf-494c-83e2-504f713346c6} TCPHandler: Client has gone away. 2026.10.27 19:20:05.693927 [ 6790 ] {14f3e30c-49c4-414c-a8c2-10ec1cb43018} TCPHandler: Client has gone away. 2026.10.27 19:20:05.709908 [ 9274 ] {0783f061-f39f-4776-9d71-075c2616cd7a} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.58 GiB (attempt to allocate chunk of 1114112 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergeSortingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59226) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactStringsEachRowWithNames), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x000000000a70408d in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:0: DB::ColumnString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b1c2e91 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:113: DB::Chunk DB::MergeSorter::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003ed117f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003ec34cf3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergeSorter::read() @ 0x000000003ec1cfa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/MergeSortingTransform.cpp:236: DB::MergeSortingTransform::generate() @ 0x000000003ebf1521 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:354: DB::SortingTransform::work() @ 0x000000003ec2d564 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:06.719149 [ 2236 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.53 GiB (attempt to allocate chunk of 1114112 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (while reading column EndURL): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_1_1_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 32 with max_rows_to_read = 6682): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b72 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:612: DB::MergeTask::VerticalMergeStage::executeVerticalMergeForOneColumn() const @ 0x000000003cdc2b1f in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:842: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde698 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::VerticalMergeStage::execute() @ 0x000000003cdcadee in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 30. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.719514 [ 9286 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.70 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.720364 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.55 GiB (attempt to allocate chunk of 4209146 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:257: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d6503a5 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a483e53 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.722323 [ 9290 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.68 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.722584 [ 9294 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.64 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.725945 [ 9298 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.49 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.726170 [ 4303 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.49 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.729952 [ 4137 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.49 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.731860 [ 2461 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.48 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.732523 [ 6799 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.46 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.733581 [ 9255 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.46 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.734645 [ 9259 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.735826 [ 9266 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.739209 [ 9270 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.740519 [ 9302 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.740841 [ 9306 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.41 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.742062 [ 4317 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.41 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.742416 [ 4287 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.41 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.742713 [ 4279 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.40 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.742945 [ 4374 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.39 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.746877 [ 3071 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.41 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.748083 [ 1850 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.40 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.749467 [ 5687 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.40 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.750559 [ 4488 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.51 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.752191 [ 3020 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.756392 [ 9140 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.53 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.756646 [ 9278 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.51 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.758560 [ 6137 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.761759 [ 9708 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.764097 [ 9712 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:06.764766 [ 9250 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:07.048241 [ 3817 ] {b1330af7-fae9-4e03-a1d2-aad4c237c7f3} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 78.44 MiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:07.049016 [ 4309 ] {51975425-80af-461b-b819-20c9c9cc1219} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 49.17 MiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:07.188215 [ 1848 ] {126461fa-05d4-4acf-a0a9-1581deaedb33} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 71.21 MiB (attempt to allocate chunk of 1052163 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002078b7b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/HashTable/HashTable.h:521: HashTable, HashTableNoState, PairNoInit>, HashCRC32, TwoLevelHashTableGrower<8ul>, Allocator>::alloc(TwoLevelHashTableGrower<8ul> const&) @ 0x00000000380e766b in /usr/bin/clickhouse 8. ./build_docker/./src/Common/HashTable/TwoLevelHashTable.h:94: TwoLevelHashMapTable, HashTableNoState, PairNoInit>, HashCRC32, TwoLevelHashTableGrower<8ul>, Allocator, HashMapTable>::TwoLevelHashMapTable(unsigned long) @ 0x00000000380e71bf in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:312: auto (anonymous namespace)::constructWithReserveIfPossible, HashTableNoState, PairNoInit>, HashCRC32, TwoLevelHashTableGrower<8ul>, Allocator, HashMapTable>, true, false>>(unsigned long) @ 0x0000000037da5c8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:408: DB::AggregatedDataVariants::init(DB::AggregatedDataVariants::Type, std::optional) @ 0x0000000037da0316 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:251: (anonymous namespace)::initDataVariantsWithSizeHint(DB::AggregatedDataVariants&, DB::AggregatedDataVariants::Type, DB::Aggregator::Params const&) @ 0x0000000037dc29de in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:1534: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dcf30c in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:07.210272 [ 4272 ] {673b9fe8-864c-4b91-a6ac-8ffa1a024217} executeQuery: Code: 241. DB::Exception: Received from 127.0.0.10:9000. DB::Exception: Memory tracker (for query): fault injected. Would use 59.92 MiB (attempt to allocate chunk of 1048715 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002078b7b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/HashTable/HashTable.h:521: HashTable, HashTableNoState, PairNoInit>, HashCRC32, TwoLevelHashTableGrower<8ul>, Allocator>::alloc(TwoLevelHashTableGrower<8ul> const&) @ 0x00000000380e766b in /usr/bin/clickhouse 8. ./build_docker/./src/Common/HashTable/TwoLevelHashTable.h:94: TwoLevelHashMapTable, HashTableNoState, PairNoInit>, HashCRC32, TwoLevelHashTableGrower<8ul>, Allocator, HashMapTable>::TwoLevelHashMapTable(unsigned long) @ 0x00000000380e71bf in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:312: auto (anonymous namespace)::constructWithReserveIfPossible, HashTableNoState, PairNoInit>, HashCRC32, TwoLevelHashTableGrower<8ul>, Allocator, HashMapTable>, true, false>>(unsigned long) @ 0x0000000037da5c8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:408: DB::AggregatedDataVariants::init(DB::AggregatedDataVariants::Type, std::optional) @ 0x0000000037da0316 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:251: (anonymous namespace)::initDataVariantsWithSizeHint(DB::AggregatedDataVariants&, DB::AggregatedDataVariants::Type, DB::Aggregator::Params const&) @ 0x0000000037dc29de in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:1534: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dcf30c in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? : While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55060) (comment: 00171_grouping_aggregated_transform_bug.sql) (in query: SELECT sum(cityHash64(*)) FROM (SELECT CounterID, quantileTiming(0.5)(SendTiming), count() FROM remote('127.0.0.{1,2,3,4,5,6,7,8,9,10}', test.hits) WHERE SendTiming != -1 GROUP BY CounterID) SETTINGS max_block_size = 63169;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a79c9a8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000002099cb18 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd5bd3f in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd76bb8 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de3c566 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036aa4c1c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036aa43c2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036aa3bd6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036aa1852 in /usr/bin/clickhouse 2026.10.27 19:20:07.608970 [ 4299 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:47794). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:07.609018 [ 9245 ] {d5790473-b399-4a7d-bf32-27ff94b4eb3d} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:40116). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:40116) (comment: 00171_grouping_aggregated_transform_bug.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b0eea in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a907a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:07.609040 [ 4272 ] {673b9fe8-864c-4b91-a6ac-8ffa1a024217} TCPHandler: Code: 241. DB::Exception: Received from 127.0.0.10:9000. DB::Exception: Memory tracker (for query): fault injected. Would use 59.92 MiB (attempt to allocate chunk of 1048715 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002078b7b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/HashTable/HashTable.h:521: HashTable, HashTableNoState, PairNoInit>, HashCRC32, TwoLevelHashTableGrower<8ul>, Allocator>::alloc(TwoLevelHashTableGrower<8ul> const&) @ 0x00000000380e766b in /usr/bin/clickhouse 8. ./build_docker/./src/Common/HashTable/TwoLevelHashTable.h:94: TwoLevelHashMapTable, HashTableNoState, PairNoInit>, HashCRC32, TwoLevelHashTableGrower<8ul>, Allocator, HashMapTable>::TwoLevelHashMapTable(unsigned long) @ 0x00000000380e71bf in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:312: auto (anonymous namespace)::constructWithReserveIfPossible, HashTableNoState, PairNoInit>, HashCRC32, TwoLevelHashTableGrower<8ul>, Allocator, HashMapTable>, true, false>>(unsigned long) @ 0x0000000037da5c8b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:408: DB::AggregatedDataVariants::init(DB::AggregatedDataVariants::Type, std::optional) @ 0x0000000037da0316 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:251: (anonymous namespace)::initDataVariantsWithSizeHint(DB::AggregatedDataVariants&, DB::AggregatedDataVariants::Type, DB::Aggregator::Params const&) @ 0x0000000037dc29de in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:1534: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dcf30c in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? : While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a79c9a8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000002099cb18 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd5bd3f in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd76bb8 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de3c566 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036aa4c1c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036aa43c2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036aa3bd6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036aa1852 in /usr/bin/clickhouse 2026.10.27 19:20:07.609365 [ 4278 ] {70ba0c4f-682a-4e1d-b1af-2428a1c117f7} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:38274). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:38274) (comment: 00171_grouping_aggregated_transform_bug.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b0eea in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a907a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:07.609416 [ 6141 ] {49f93930-8205-46d8-8b7d-fe4d6c31667e} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:35576). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35576) (comment: 00171_grouping_aggregated_transform_bug.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b0eea in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a907a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:07.609517 [ 1848 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:57882). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:07.610201 [ 6792 ] {25b0c03a-1b83-497a-ab68-ad44add86b5e} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:50574). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:50574) (comment: 00171_grouping_aggregated_transform_bug.sql) (in query: SELECT `CounterID`, quantileTiming(0.5)(`SendTiming`), count() FROM `test`.`hits` WHERE `SendTiming` != -1 GROUP BY `CounterID`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b0eea in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a907a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:07.612573 [ 4399 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:33384). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:07.616615 [ 3817 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:45226). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:07.784077 [ 6141 ] {49f93930-8205-46d8-8b7d-fe4d6c31667e} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:35576). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:07.784319 [ 6141 ] {49f93930-8205-46d8-8b7d-fe4d6c31667e} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:35576). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b0eea in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a907a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:07.784921 [ 6141 ] {49f93930-8205-46d8-8b7d-fe4d6c31667e} TCPHandler: Client has gone away. 2026.10.27 19:20:07.870332 [ 4278 ] {70ba0c4f-682a-4e1d-b1af-2428a1c117f7} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:38274). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:07.870581 [ 4278 ] {70ba0c4f-682a-4e1d-b1af-2428a1c117f7} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:38274). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b0eea in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a907a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:07.871336 [ 4278 ] {70ba0c4f-682a-4e1d-b1af-2428a1c117f7} TCPHandler: Client has gone away. 2026.10.27 19:20:08.027175 [ 9274 ] {0783f061-f39f-4776-9d71-075c2616cd7a} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.58 GiB (attempt to allocate chunk of 1114112 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergeSortingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x000000000a70408d in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:0: DB::ColumnString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b1c2e91 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:113: DB::Chunk DB::MergeSorter::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003ed117f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003ec34cf3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergeSorter::read() @ 0x000000003ec1cfa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/MergeSortingTransform.cpp:236: DB::MergeSortingTransform::generate() @ 0x000000003ebf1521 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:354: DB::SortingTransform::work() @ 0x000000003ec2d564 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:08.055395 [ 6792 ] {25b0c03a-1b83-497a-ab68-ad44add86b5e} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:50574). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:08.055641 [ 6792 ] {25b0c03a-1b83-497a-ab68-ad44add86b5e} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:50574). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b0eea in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a907a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:08.065261 [ 9245 ] {d5790473-b399-4a7d-bf32-27ff94b4eb3d} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:40116). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:08.065477 [ 9245 ] {d5790473-b399-4a7d-bf32-27ff94b4eb3d} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:40116). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b0eea in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a907a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:08.065926 [ 9245 ] {d5790473-b399-4a7d-bf32-27ff94b4eb3d} TCPHandler: Client has gone away. 2026.10.27 19:20:08.156349 [ 6792 ] {25b0c03a-1b83-497a-ab68-ad44add86b5e} TCPHandler: Client has gone away. 2026.10.27 19:20:13.870953 [ 9255 ] {2ec638bc-4a5b-4ec3-a71e-485b1f639bf1} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 57.69 MiB (attempt to allocate chunk of 1518114 bytes), maximum: 9.31 GiB: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 288 with max_rows_to_read = 15182): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36868) (comment: 00163_column_oriented_formats.sh) (in query: INSERT INTO 00163_column_oriented SELECT ClientEventTime, MobilePhoneModel, ClientIP6 FROM test.hits ORDER BY ClientEventTime, MobilePhoneModel, ClientIP6 LIMIT 100), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 9. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:59: DB::ReadBufferFromRemoteFSGather::ReadBufferFromRemoteFSGather(std::function> (String const&, unsigned long)>&&, std::vector> const&, DB::ReadSettings const&, std::shared_ptr, bool) @ 0x000000003577a27d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]> const&, DB::ReadSettings const&, std::optional, std::optional) const::$_0, std::vector> const&, DB::ReadSettings&, std::shared_ptr, bool>(DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const::$_0&&, std::vector> const&, DB::ReadSettings&, std::shared_ptr&&, bool&&) @ 0x000000003729da77 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729ca91 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 21. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:0: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d493acf in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 2026.10.27 19:20:14.550455 [ 9255 ] {2ec638bc-4a5b-4ec3-a71e-485b1f639bf1} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 57.69 MiB (attempt to allocate chunk of 1518114 bytes), maximum: 9.31 GiB: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 288 with max_rows_to_read = 15182): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 9. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:59: DB::ReadBufferFromRemoteFSGather::ReadBufferFromRemoteFSGather(std::function> (String const&, unsigned long)>&&, std::vector> const&, DB::ReadSettings const&, std::shared_ptr, bool) @ 0x000000003577a27d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]> const&, DB::ReadSettings const&, std::optional, std::optional) const::$_0, std::vector> const&, DB::ReadSettings&, std::shared_ptr, bool>(DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const::$_0&&, std::vector> const&, DB::ReadSettings&, std::shared_ptr&&, bool&&) @ 0x000000003729da77 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729ca91 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 21. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:0: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d493acf in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 2026.10.27 19:20:20.059595 [ 9266 ] {573cb4e5-3d9a-4493-bcfd-6bbc32b2b62a} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.63 GiB (attempt to allocate chunk of 1507328 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36840) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactStringsEachRowWithNames), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/memcpySmall.h:40: DB::ColumnFixedString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b06a248 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:44: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003efbe15d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eed0553 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8e96 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:22.909723 [ 9270 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.61 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:22.909739 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.62 GiB (attempt to allocate chunk of 5170497 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:26.914936 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.57 GiB (attempt to allocate chunk of 5021436 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:26.914984 [ 9255 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.62 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:26.914984 [ 9266 ] {573cb4e5-3d9a-4493-bcfd-6bbc32b2b62a} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.63 GiB (attempt to allocate chunk of 1507328 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/memcpySmall.h:40: DB::ColumnFixedString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b06a248 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:44: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003efbe15d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eed0553 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8e96 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:26.915329 [ 2350 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::AsynchronousMetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 4217970 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3b72d3 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3b47b2 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c23847 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:26.915417 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 4196150 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3ef053 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3ec532 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c26a87 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:26.915549 [ 2237 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_26_5}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.60 GiB (attempt to allocate chunk of 1054909 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:37: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d102291 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:29.517348 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 4254143 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d102e0d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a483e53 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a481142 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2fca7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c2fb7f in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:29.517483 [ 4317 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.61 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:29.517856 [ 2236 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_1_45_5}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.59 GiB (attempt to allocate chunk of 1110623 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:87: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13f899 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:29.517922 [ 2296 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::QueryLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 4198899 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnString.cpp:0: COW::immutable_ptr DB::ColumnString::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b1c8d44 in /usr/bin/clickhouse 9. ./build_docker/./src/Columns/ColumnString.cpp:212: DB::ColumnString::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b1a78a6 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/IMergeTreeDataPartWriter.cpp:0: DB::permuteBlockIfNeeded(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d11b4c2 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:166: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d10410d in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a414433 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a411722 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c28f87 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c28e5f in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:29.517946 [ 2289 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::MetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 4194307 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long const*, unsigned long const*) @ 0x000000002089f6cc in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: COWHelper>::clone() const @ 0x000000003b4083a6 in /usr/bin/clickhouse 9. DB::IColumn::mutate(COW::immutable_ptr) @ 0x000000000a9ad52a in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.cpp:0: DB::Block::mutateColumns() @ 0x000000003627dffd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:169: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d1043eb in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3dc813 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3d9902 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c259e7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c258bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:29.517959 [ 2292 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::PartLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 5175105 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:29.518088 [ 4287 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.60 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:29.518089 [ 2239 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.59 GiB (attempt to allocate chunk of 7569600 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x00000000209e2844 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromS3::reallocateFirstBuffer() @ 0x00000000361edabc in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:126: DB::WriteBufferFromS3::nextImpl() @ 0x00000000361ec8a2 in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBuffer.h:60: DB::CachedOnDiskWriteBufferFromFile::nextImpl() @ 0x000000003584744a in /usr/bin/clickhouse 13. ./build_docker/./src/IO/WriteBuffer.h:60: DB::WriteBufferFromFileDecorator::nextImpl() @ 0x000000003584b666 in /usr/bin/clickhouse 14. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HashingWriteBuffer::nextImpl() @ 0x000000003cb90e85 in /usr/bin/clickhouse 15. DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000941dcac in /usr/bin/clickhouse 16. ./build_docker/./src/Compression/CompressedWriteBuffer.cpp:58: DB::CompressedWriteBuffer::nextImpl() @ 0x0000000036895c79 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HashingWriteBuffer::nextImpl() @ 0x000000003cb90e85 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/WriteBuffer.h:60: void std::__function::__policy_invoker::__call_impl, std::allocator>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d158779 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::getCurrentMarksForColumn(DB::NameAndTypePair const&, std::set, std::allocator>&) @ 0x000000003d14d4d0 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::writeColumn(DB::NameAndTypePair const&, DB::IColumn const&, std::set, std::allocator>&, std::vector> const&) @ 0x000000003d148dd2 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:251: DB::MergeTreeDataPartWriterWide::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d14255b in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::write(DB::Block const&) @ 0x000000003d648a09 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbbb02 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:29.518321 [ 2244 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_1_36_7}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.60 GiB (attempt to allocate chunk of 1077208 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<16ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x0000000009eae080 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:322: DB::ColumnVector, DB::UUIDTag>>::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b3be1b0 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnTuple.cpp:158: DB::ColumnTuple::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b231c1b in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:33: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeImpl>(DB::SortingQueueImpl&) @ 0x000000003ef506a5 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eecf7d3 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Merges/Algorithms/MergingSortedAlgorithm.cpp:133: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8f8e in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 30. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:29.518727 [ 4279 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.58 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:29.578121 [ 2671 ] {619e0ddc-790d-49b8-a5fd-de3033180564} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55052) (comment: 00044_any_left_join_string.sql) (in query: SELECT domain, hits, visits FROM ( SELECT domain(URL) AS domain, count() AS hits FROM test.hits GROUP BY domain ) ANY LEFT JOIN ( SELECT domain(StartURL) AS domain, sum(Sign) AS visits FROM test.visits GROUP BY domain ) USING domain ORDER BY hits DESC LIMIT 10 SETTINGS joined_subquery_requires_alias = 0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:30.608609 [ 5705 ] {a8feef20-9397-4f78-898f-9e7234076b2b} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1057274 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: While executing JoiningTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33062) (comment: 01062_pm_all_join_with_block_continuation.sql) (in query: SELECT count(1) FROM ( SELECT materialize(1) as k, n FROM numbers(10) nums JOIN (SELECT materialize(1) AS k, number n FROM numbers(1000000)) j USING k);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::resize(unsigned long) @ 0x00000000209e2879 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x000000003688a825 in /usr/bin/clickhouse 12. ./build_docker/./src/IO/ReadBuffer.h:72: DB::NativeReader::read() @ 0x000000003e14aef6 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:952: std::shared_ptr DB::MergeJoin::loadRightBlock(unsigned long) const::'lambda'()::operator()() const @ 0x0000000039ec2252 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/CacheBase.h:0: std::pair, bool> DB::CacheBase, DB::MergeJoin::BlockByteWeight>::getOrSet DB::MergeJoin::loadRightBlock(unsigned long) const::'lambda'()&>(unsigned long const&, std::shared_ptr DB::MergeJoin::loadRightBlock(unsigned long) const::'lambda'()&) @ 0x0000000039ec082b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/MergeJoin.cpp:0: void DB::MergeJoin::joinSortedBlock(DB::Block&, std::shared_ptr&) @ 0x0000000039e97d70 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/MergeJoin.cpp:733: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x0000000039e87ef5 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:223: DB::JoiningTransform::readExecute(DB::Chunk&) @ 0x000000003eba7c2b in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:0: DB::JoiningTransform::transform(DB::Chunk&) @ 0x000000003eba55e3 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:0: DB::JoiningTransform::work() @ 0x000000003eba3d8d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:31.081870 [ 2234 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} TemporaryFileOnDisk: Temporary path 'tmp72ba878d-5287-4e3a-8360-ebbcab84b7d3' does not exist in '/var/lib/clickhouse/tmp/' 2026.10.27 19:20:31.629438 [ 3071 ] {6818e6a0-d593-45ee-bb23-5f376401f4b9} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1097194 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49958) (comment: 01518_filtering_aliased_materialized_column.sql) (in query: INSERT INTO logs VALUES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 14. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 2026.10.27 19:20:33.727706 [ 5708 ] {255c38b4-6cfb-4ded-9f6b-a8927381f7a7} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1082438 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: Cache info: Buffer path: test/ipd/dxjigqsgizuqbjzosbxgwjdftvbtu, hash key: 3ed1f30bedd50fcfb4d2696bbf034672, file_offset_of_buffer_end: 2073, read_until_position: 25161, internal buffer end: 25161, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 255c38b4-6cfb-4ded-9f6b-a8927381f7a7:4640, file segment info: File segment: [0, 25160], key: 3ed1f30bedd50fcfb4d2696bbf034672, state: DOWNLOADING, downloaded size: 0, reserved size: 2073, downloader id: 255c38b4-6cfb-4ded-9f6b-a8927381f7a7:4640, current write offset: 0, caller id: 255c38b4-6cfb-4ded-9f6b-a8927381f7a7:4640, kind: Regular, unbound: 0: (while reading from part /var/lib/clickhouse/disks/s3/store/133/13357df0-4c21-4882-9b4a-8910a41b6ae4/202610_37_37_0/ in table system.query_log (13357df0-4c21-4882-9b4a-8910a41b6ae4) located on disk s3 of type s3, from mark 0 with max_rows_to_read = 77): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58886) (comment: 01656_test_query_log_factories_info.sql) (in query: SELECT arraySort(used_data_type_families), used_storages FROM system.query_log WHERE current_database = currentDatabase() AND type == 'QueryFinish' AND (query LIKE '%TABLE test%') ORDER BY query_start_time DESC LIMIT 1 FORMAT TabSeparatedWithNames;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::nextImpl() @ 0x000000003577e386 in /usr/bin/clickhouse 20. ./build_docker/./src/IO/ReadBuffer.h:72: DB::CompressedReadBufferBase::readCompressedData(unsigned long&, unsigned long&, bool) @ 0x000000003688b8a5 in /usr/bin/clickhouse 21. ./build_docker/./src/Compression/CachedCompressedReadBuffer.cpp:0: DB::CachedCompressedReadBuffer::nextImpl() @ 0x000000003d47abf7 in /usr/bin/clickhouse 22. ./build_docker/./src/Compression/CachedCompressedReadBuffer.cpp:0: non-virtual thunk to DB::CachedCompressedReadBuffer::nextImpl() @ 0x000000003d47c42d in /usr/bin/clickhouse 23. DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x0000000009e3ef0c in /usr/bin/clickhouse 24. ./build_docker/./src/IO/ReadHelpers.h:0: DB::SerializationLowCardinality::deserializeBinaryBulkStatePrefix(DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000036f2f47c in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderCompact.cpp:0: DB::MergeTreeReaderCompact::readData(DB::NameAndTypePair const&, COW::immutable_ptr&, unsigned long, unsigned long, unsigned long, unsigned long, std::optional>) @ 0x000000003d45c35e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d45a13b in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506a24 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506a24 in /usr/bin/clickhouse 2026.10.27 19:20:35.962777 [ 2671 ] {619e0ddc-790d-49b8-a5fd-de3033180564} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:35.962903 [ 5705 ] {a8feef20-9397-4f78-898f-9e7234076b2b} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1057274 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: While executing JoiningTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::resize(unsigned long) @ 0x00000000209e2879 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x000000003688a825 in /usr/bin/clickhouse 12. ./build_docker/./src/IO/ReadBuffer.h:72: DB::NativeReader::read() @ 0x000000003e14aef6 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:952: std::shared_ptr DB::MergeJoin::loadRightBlock(unsigned long) const::'lambda'()::operator()() const @ 0x0000000039ec2252 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/CacheBase.h:0: std::pair, bool> DB::CacheBase, DB::MergeJoin::BlockByteWeight>::getOrSet DB::MergeJoin::loadRightBlock(unsigned long) const::'lambda'()&>(unsigned long const&, std::shared_ptr DB::MergeJoin::loadRightBlock(unsigned long) const::'lambda'()&) @ 0x0000000039ec082b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/MergeJoin.cpp:0: void DB::MergeJoin::joinSortedBlock(DB::Block&, std::shared_ptr&) @ 0x0000000039e97d70 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/MergeJoin.cpp:733: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x0000000039e87ef5 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:223: DB::JoiningTransform::readExecute(DB::Chunk&) @ 0x000000003eba7c2b in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:0: DB::JoiningTransform::transform(DB::Chunk&) @ 0x000000003eba55e3 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:0: DB::JoiningTransform::work() @ 0x000000003eba3d8d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:35.963109 [ 9270 ] {7269e5b7-af19-4e70-a49d-548dac2c53bd} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49980) (comment: 00443_optimize_final_vertical_merge.sh) (in query: CREATE TABLE test_3.optimize_me_finally ( date Date, Sign Int8, ki UInt64, ds String, di01 UInt64, di02 UInt64, di03 UInt64, di04 UInt64, di05 UInt64, di06 UInt64, di07 UInt64, di08 UInt64, di09 UInt64, di10 UInt64, n Nested( i UInt64, s String ) ) ENGINE = CollapsingMergeTree(date, (date, ki), 8192, Sign)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:296: DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x000000003ce1f4ac in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/StorageMergeTree.cpp:116: 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) @ 0x000000003d9fc2fc in /usr/bin/clickhouse 20. ./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&) @ 0x000000003d9fa74b in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003d9ed120 in /usr/bin/clickhouse 22. ./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&) @ 0x000000003571bd9a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bbeeb7a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393dacd0 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c260a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c 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*) @ 0x000000003a989745 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 2026.10.27 19:20:35.963132 [ 9259 ] {831739ea-5179-4228-9892-e7049662b73f} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1760562 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: (while reading column ClientTimeZone): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36880) (comment: 00167_read_bytes_from_fs.sql) (in query: SELECT sum(cityHash64(*)) FROM test.hits SETTINGS max_threads=40;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:45: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770de9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 21. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:0: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d493acf in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 2026.10.27 19:20:41.313405 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 4297253 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:42.342275 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 4198715 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:297: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d65200a in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a471453 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:44.964299 [ 2289 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::MetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.53 GiB (attempt to allocate chunk of 4194379 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long const*, unsigned long const*) @ 0x000000002089f6cc in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: COWHelper>::clone() const @ 0x000000003b4083a6 in /usr/bin/clickhouse 9. DB::IColumn::mutate(COW::immutable_ptr) @ 0x000000000a9ad52a in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.cpp:0: DB::Block::mutateColumns() @ 0x000000003627dffd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:169: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d1043eb in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3dc813 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3d9902 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c259e7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c258bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:44.964304 [ 5708 ] {255c38b4-6cfb-4ded-9f6b-a8927381f7a7} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1082438 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: Cache info: Buffer path: test/ipd/dxjigqsgizuqbjzosbxgwjdftvbtu, hash key: 3ed1f30bedd50fcfb4d2696bbf034672, file_offset_of_buffer_end: 2073, read_until_position: 25161, internal buffer end: 25161, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 255c38b4-6cfb-4ded-9f6b-a8927381f7a7:4640, file segment info: File segment: [0, 25160], key: 3ed1f30bedd50fcfb4d2696bbf034672, state: DOWNLOADING, downloaded size: 0, reserved size: 2073, downloader id: 255c38b4-6cfb-4ded-9f6b-a8927381f7a7:4640, current write offset: 0, caller id: 255c38b4-6cfb-4ded-9f6b-a8927381f7a7:4640, kind: Regular, unbound: 0: (while reading from part /var/lib/clickhouse/disks/s3/store/133/13357df0-4c21-4882-9b4a-8910a41b6ae4/202610_37_37_0/ in table system.query_log (13357df0-4c21-4882-9b4a-8910a41b6ae4) located on disk s3 of type s3, from mark 0 with max_rows_to_read = 77): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::nextImpl() @ 0x000000003577e386 in /usr/bin/clickhouse 20. ./build_docker/./src/IO/ReadBuffer.h:72: DB::CompressedReadBufferBase::readCompressedData(unsigned long&, unsigned long&, bool) @ 0x000000003688b8a5 in /usr/bin/clickhouse 21. ./build_docker/./src/Compression/CachedCompressedReadBuffer.cpp:0: DB::CachedCompressedReadBuffer::nextImpl() @ 0x000000003d47abf7 in /usr/bin/clickhouse 22. ./build_docker/./src/Compression/CachedCompressedReadBuffer.cpp:0: non-virtual thunk to DB::CachedCompressedReadBuffer::nextImpl() @ 0x000000003d47c42d in /usr/bin/clickhouse 23. DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x0000000009e3ef0c in /usr/bin/clickhouse 24. ./build_docker/./src/IO/ReadHelpers.h:0: DB::SerializationLowCardinality::deserializeBinaryBulkStatePrefix(DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000036f2f47c in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderCompact.cpp:0: DB::MergeTreeReaderCompact::readData(DB::NameAndTypePair const&, COW::immutable_ptr&, unsigned long, unsigned long, unsigned long, unsigned long, std::optional>) @ 0x000000003d45c35e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d45a13b in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506a24 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506a24 in /usr/bin/clickhouse 2026.10.27 19:20:44.965966 [ 3071 ] {6818e6a0-d593-45ee-bb23-5f376401f4b9} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1097194 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 14. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 2026.10.27 19:20:47.432145 [ 2350 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::AsynchronousMetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.55 GiB (attempt to allocate chunk of 4196597 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x0000000009a95abf in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnVector.h:0: COW::immutable_ptr DB::ColumnVector::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b7a475f in /usr/bin/clickhouse 9. ./build_docker/./src/Columns/ColumnVector.cpp:729: DB::ColumnVector::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b3b5626 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/IMergeTreeDataPartWriter.cpp:0: DB::permuteBlockIfNeeded(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d11b4c2 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:166: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d10410d in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3b72d3 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3b47b2 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c23847 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c2371f in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:48.892713 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.55 GiB (attempt to allocate chunk of 4197302 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x0000000009415a91 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/PODArray.h:0: DB::ColumnVector::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b2a1d85 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:0: DB::MergeTreeDataPartWriterOnDisk::calculateAndSerializePrimaryIndex(DB::Block const&, std::vector> const&) @ 0x000000003d131459 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:25: DB::MergeTreeDataPartWriterCompact::writeDataBlockPrimaryIndexAndSkipIndices(DB::Block const&, std::vector> const&) @ 0x000000003d106fd5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::MergeTreeDataPartWriterCompact::fillDataChecksums(DB::MergeTreeDataPartChecksums&) @ 0x000000003d10a475 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:422: DB::MergeTreeDataPartWriterCompact::fillChecksums(DB::MergeTreeDataPartChecksums&) @ 0x000000003d10ccc5 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d649a07 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3ef053 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3ec532 in /usr/bin/clickhouse 27. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c26a87 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c2695f in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 31. ? @ 0x00007fc6eb378a83 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:48.892910 [ 9270 ] {7269e5b7-af19-4e70-a49d-548dac2c53bd} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:296: DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x000000003ce1f4ac in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/StorageMergeTree.cpp:116: 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) @ 0x000000003d9fc2fc in /usr/bin/clickhouse 20. ./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&) @ 0x000000003d9fa74b in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003d9ed120 in /usr/bin/clickhouse 22. ./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&) @ 0x000000003571bd9a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bbeeb7a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393dacd0 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c260a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c 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*) @ 0x000000003a989745 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 2026.10.27 19:20:48.893177 [ 2292 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::PartLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.51 GiB (attempt to allocate chunk of 5171009 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:48.893235 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.51 GiB (attempt to allocate chunk of 4233663 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d102e0d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a483e53 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a481142 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2fca7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c2fb7f in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:48.893316 [ 2234 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.56 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::WriteBufferFromTemporaryFile::WriteBufferFromTemporaryFile(std::unique_ptr>&&) @ 0x0000000037253f84 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::TemporaryDataOnDisk::createRawStream(unsigned long) @ 0x000000003a63c2f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:296: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cda7825 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:49.659172 [ 6121 ] {0e0e83db-7b49-4df4-bd78-4b18ae513c36} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1050624 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55040) (comment: 00084_external_aggregation.sql) (in query: SELECT URL, uniq(SearchPhrase) AS u FROM test.hits GROUP BY URL ORDER BY u DESC, URL LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002078b7b2 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:521: HashTable, StringHashTableHash, StringHashTableGrower<8ul>, Allocator>::alloc(StringHashTableGrower<8ul> const&) @ 0x00000000381b180b in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/StringHashTable.h:228: StringHashTable>>::StringHashTable() @ 0x00000000381b1537 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/HashTable/TwoLevelStringHashTable.h:40: std::__unique_if, StringHashMap>, false>>::__unique_single std::make_unique[abi:v15000], StringHashMap>, false>>() @ 0x00000000380397c8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:408: DB::AggregatedDataVariants::init(DB::AggregatedDataVariants::Type, std::optional) @ 0x0000000037da2259 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::writeToTemporaryFile(DB::AggregatedDataVariants&, unsigned long) const @ 0x0000000037dd3152 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd03e4 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 21. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 25. ? @ 0x00007fc6eb378a83 in ? 26. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:50.149557 [ 2243 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} TemporaryFileOnDisk: Temporary path 'tmp0f94b6c3-1d5e-4bfd-9096-94c81aa9ff5b' does not exist in '/var/lib/clickhouse/tmp/' 2026.10.27 19:20:51.072852 [ 2296 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::QueryLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.47 GiB (attempt to allocate chunk of 4208542 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a414433 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a411722 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c28f87 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:51.073069 [ 2242 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_1_37_7}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.56 GiB (attempt to allocate chunk of 1114301 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 14. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 30. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:51.073540 [ 2246 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_26_5}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.53 GiB (attempt to allocate chunk of 1050866 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x0000000009415a91 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:322: DB::ColumnVector::insertDefault() @ 0x000000003b2a1fd5 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnSparse.cpp:0: DB::ColumnSparse::ColumnSparse(COW::mutable_ptr&&) @ 0x000000003b186f53 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: DB::IDataType::createColumn(DB::ISerialization const&) const @ 0x0000000036dbb55a in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:140: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4597fa in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:51.074940 [ 9259 ] {831739ea-5179-4228-9892-e7049662b73f} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.53 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/mpe/eaqgbeefphajwkauwqbwwbknkgdnz, hash key: f961b04af5a73271c01afa048cdba52e, file_offset_of_buffer_end: 0, read_until_position: 1168, internal buffer end: 25115, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 831739ea-5179-4228-9892-e7049662b73f:2921, file segment info: File segment: [0, 25114], key: f961b04af5a73271c01afa048cdba52e, state: DOWNLOADING, downloaded size: 0, reserved size: 25115, downloader id: 831739ea-5179-4228-9892-e7049662b73f:2921, current write offset: 0, caller id: 831739ea-5179-4228-9892-e7049662b73f:2921, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:51.087701 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 5159552 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:51.091062 [ 2241 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_1_45_5}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.56 GiB (attempt to allocate chunk of 1054909 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d125558 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:51.144927 [ 2243 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::WriteBufferFromTemporaryFile::WriteBufferFromTemporaryFile(std::unique_ptr>&&) @ 0x0000000037253f84 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::TemporaryDataOnDisk::createRawStream(unsigned long) @ 0x000000003a63c2f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:296: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cda7825 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:51.504154 [ 9259 ] {831739ea-5179-4228-9892-e7049662b73f} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.53 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/xms/padynpaibcbhyivsnoaatboxoybgi, hash key: 71b1aeeaaddedc9530268ff6bec7ab11, file_offset_of_buffer_end: 0, read_until_position: 1168, internal buffer end: 28948, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 831739ea-5179-4228-9892-e7049662b73f:3416, file segment info: File segment: [0, 28947], key: 71b1aeeaaddedc9530268ff6bec7ab11, state: DOWNLOADING, downloaded size: 0, reserved size: 28948, downloader id: 831739ea-5179-4228-9892-e7049662b73f:3416, current write offset: 0, caller id: 831739ea-5179-4228-9892-e7049662b73f:3416, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:51.525371 [ 9259 ] {831739ea-5179-4228-9892-e7049662b73f} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.52 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/ziq/jehilysnaytneeztgvafmvfcplxfo, hash key: 38d9b039a2f30399d5d1097a08d4cd57, file_offset_of_buffer_end: 0, read_until_position: 678, internal buffer end: 1445, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 831739ea-5179-4228-9892-e7049662b73f:2609, file segment info: File segment: [0, 1444], key: 38d9b039a2f30399d5d1097a08d4cd57, state: DOWNLOADING, downloaded size: 0, reserved size: 1445, downloader id: 831739ea-5179-4228-9892-e7049662b73f:2609, current write offset: 0, caller id: 831739ea-5179-4228-9892-e7049662b73f:2609, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:51.710277 [ 4488 ] {c2a1f898-b9f4-44b0-b071-6a5cfcfcda96} executeQuery: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37228) (comment: 02384_analyzer_dict_get_join_get.sql) (in query: SET allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:51.717721 [ 4488 ] {c2a1f898-b9f4-44b0-b071-6a5cfcfcda96} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:52.476248 [ 9306 ] {801a7268-5a5f-410d-93d0-764b19943744} executeQuery: Code: 442. DB::Exception: Temporary tables cannot be inside a database. You should not specify a database for a temporary table. (BAD_DATABASE_FOR_TEMPORARY_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37210) (comment: 00841_temporary_table_database.sql) (in query: CREATE TEMPORARY TABLE test.t2_00841 (x UInt8);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [103]) @ 0x00000000393f0d97 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1077: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c5b6b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 14. ? @ 0x00007fc6eb378a83 in ? 15. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:52.486674 [ 9306 ] {801a7268-5a5f-410d-93d0-764b19943744} TCPHandler: Code: 442. DB::Exception: Temporary tables cannot be inside a database. You should not specify a database for a temporary table. (BAD_DATABASE_FOR_TEMPORARY_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [103]) @ 0x00000000393f0d97 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1077: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c5b6b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 14. ? @ 0x00007fc6eb378a83 in ? 15. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:54.317347 [ 6121 ] {0e0e83db-7b49-4df4-bd78-4b18ae513c36} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1050624 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002078b7b2 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:521: HashTable, StringHashTableHash, StringHashTableGrower<8ul>, Allocator>::alloc(StringHashTableGrower<8ul> const&) @ 0x00000000381b180b in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/StringHashTable.h:228: StringHashTable>>::StringHashTable() @ 0x00000000381b1537 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/HashTable/TwoLevelStringHashTable.h:40: std::__unique_if, StringHashMap>, false>>::__unique_single std::make_unique[abi:v15000], StringHashMap>, false>>() @ 0x00000000380397c8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:408: DB::AggregatedDataVariants::init(DB::AggregatedDataVariants::Type, std::optional) @ 0x0000000037da2259 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::writeToTemporaryFile(DB::AggregatedDataVariants&, unsigned long) const @ 0x0000000037dd3152 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd03e4 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 21. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 25. ? @ 0x00007fc6eb378a83 in ? 26. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:54.317516 [ 9259 ] {831739ea-5179-4228-9892-e7049662b73f} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: Cache info: Buffer path: common/mpv/zpyoidzlommmbozqlhcoeejjxykty, hash key: 5848d7c27128c692c014515aee285c95, file_offset_of_buffer_end: 26754976, read_until_position: 30583291, internal buffer end: 26214400, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 831739ea-5179-4228-9892-e7049662b73f:2905, file segment info: File segment: [25165824, 29360127], key: 5848d7c27128c692c014515aee285c95, state: DOWNLOADING, downloaded size: 0, reserved size: 1048576, downloader id: 831739ea-5179-4228-9892-e7049662b73f:2905, current write offset: 25165824, caller id: 831739ea-5179-4228-9892-e7049662b73f:2905, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:54.317776 [ 4317 ] {844e7bba-9591-4b6a-8abd-fc63dbc7599f} executeQuery: Code: 62. DB::Exception: Syntax error: failed at position 1048577 ('-'): -. Max query size exceeded: '-'. (SYNTAX_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:45830) (in query: select 1 in (1, 1, ... (truncated 948624 characters)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a79c9a8 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000003ff07e1b in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000003ff07f70 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a97cecc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df68bed in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df75e8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f3061 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:54.325353 [ 4317 ] {844e7bba-9591-4b6a-8abd-fc63dbc7599f} DynamicQueryHandler: Code: 62. DB::Exception: Syntax error: failed at position 1048577 ('-'): -. Max query size exceeded: '-'. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a79c9a8 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000003ff07e1b in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000003ff07f70 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a97cecc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df68bed in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df75e8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f3061 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:55.504908 [ 9259 ] {831739ea-5179-4228-9892-e7049662b73f} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.55 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/xad/anrbepoossqtypqwihxyqsrifxhlg, hash key: 3782750ce68ae549732c2735ce9a273e, file_offset_of_buffer_end: 0, read_until_position: 2018, internal buffer end: 2018, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 831739ea-5179-4228-9892-e7049662b73f:3429, file segment info: File segment: [0, 2017], key: 3782750ce68ae549732c2735ce9a273e, state: DOWNLOADING, downloaded size: 0, reserved size: 2018, downloader id: 831739ea-5179-4228-9892-e7049662b73f:3429, current write offset: 0, caller id: 831739ea-5179-4228-9892-e7049662b73f:3429, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:55.512342 [ 9259 ] {831739ea-5179-4228-9892-e7049662b73f} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.53 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: Cache info: Buffer path: common/tmh/etmgynouheamochodjorlylrkodee, hash key: ce884c6e8f7595acb0048adc53598166, file_offset_of_buffer_end: 0, read_until_position: 13639, internal buffer end: 13639, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 831739ea-5179-4228-9892-e7049662b73f:2962, file segment info: File segment: [0, 13638], key: ce884c6e8f7595acb0048adc53598166, state: DOWNLOADING, downloaded size: 0, reserved size: 13639, downloader id: 831739ea-5179-4228-9892-e7049662b73f:2962, current write offset: 0, caller id: 831739ea-5179-4228-9892-e7049662b73f:2962, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:55.523297 [ 5687 ] {586311b0-6d60-4c8c-9fbe-450448f30a28} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 47.84 MiB (attempt to allocate chunk of 1507200 bytes), maximum: 9.31 GiB: (while reading column GeneralInterests): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 57344): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37206) (comment: 00086_array_reduce.sql) (in query: SELECT arrayFilter(x -> x != 1, arrayMap((a, b) -> a = b, GeneralInterests, arrayReduce('groupArray', GeneralInterests))) AS res FROM test.hits WHERE length(res) != 0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000095087c7 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f7eac6 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationArray.cpp:0: DB::SerializationArray::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036ec3723 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:55.577827 [ 9259 ] {831739ea-5179-4228-9892-e7049662b73f} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: Cache info: Buffer path: common/gxe/feooznmpfqinjjvzgpchjojuevopi, hash key: fdeb9fb4018d3496e7aec96a991b9b48, file_offset_of_buffer_end: 0, read_until_position: 77333, internal buffer end: 833028, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 831739ea-5179-4228-9892-e7049662b73f:3275, file segment info: File segment: [0, 833027], key: fdeb9fb4018d3496e7aec96a991b9b48, state: DOWNLOADING, downloaded size: 0, reserved size: 833028, downloader id: 831739ea-5179-4228-9892-e7049662b73f:3275, current write offset: 0, caller id: 831739ea-5179-4228-9892-e7049662b73f:3275, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:55.689746 [ 9259 ] {831739ea-5179-4228-9892-e7049662b73f} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: Cache info: Buffer path: common/nen/scpshkuqlnxazqmqsydxxurztxhdj, hash key: 489eaf665781abf230b6370d80e582c2, file_offset_of_buffer_end: 0, read_until_position: 18178, internal buffer end: 33336, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 831739ea-5179-4228-9892-e7049662b73f:3414, file segment info: File segment: [0, 33335], key: 489eaf665781abf230b6370d80e582c2, state: DOWNLOADING, downloaded size: 0, reserved size: 33336, downloader id: 831739ea-5179-4228-9892-e7049662b73f:3414, current write offset: 0, caller id: 831739ea-5179-4228-9892-e7049662b73f:3414, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:55.723513 [ 9259 ] {831739ea-5179-4228-9892-e7049662b73f} virtual DB::AsynchronousBoundedReadBuffer::~AsynchronousBoundedReadBuffer(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: Cache info: Buffer path: common/bvd/jjgjumzypodinhblwrthrialrdyud, hash key: e945dea8985b7c245946fea68b935c1c, file_offset_of_buffer_end: 0, read_until_position: 3717, internal buffer end: 6788, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 831739ea-5179-4228-9892-e7049662b73f:3412, file segment info: File segment: [0, 6787], key: e945dea8985b7c245946fea68b935c1c, state: DOWNLOADING, downloaded size: 0, reserved size: 6788, downloader id: 831739ea-5179-4228-9892-e7049662b73f:3412, current write offset: 0, caller id: 831739ea-5179-4228-9892-e7049662b73f:3412, kind: Regular, unbound: 0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/IO/ThreadPoolRemoteFSReader.cpp:0: std::__packaged_task_func (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'(), std::allocator (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda'()>, DB::IAsynchronousReader::Result ()>::operator()() @ 0x0000000035360fcf in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task::operator()() @ 0x000000003535a816 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl (DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)> DB::threadPoolCallbackRunner(ThreadPoolImpl>&, String const&)::'lambda'(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::operator()(DB::ThreadPoolRemoteFSReader::submit(DB::IAsynchronousReader::Request)::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000353622ce in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:20:56.028777 [ 5687 ] {586311b0-6d60-4c8c-9fbe-450448f30a28} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 47.84 MiB (attempt to allocate chunk of 1507200 bytes), maximum: 9.31 GiB: (while reading column GeneralInterests): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 57344): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000095087c7 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f7eac6 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationArray.cpp:0: DB::SerializationArray::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036ec3723 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:20:56.514006 [ 9259 ] {831739ea-5179-4228-9892-e7049662b73f} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1760562 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: (while reading column ClientTimeZone): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:45: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770de9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 21. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:0: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d493acf in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 2026.10.27 19:21:02.148983 [ 9310 ] {04a82112-a2ff-4364-a4da-2a74fbdc9cb0} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 58.49 MiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51028) (comment: 00056_view.sql) (in query: SELECT count() FROM test.view;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:02.408571 [ 9310 ] {04a82112-a2ff-4364-a4da-2a74fbdc9cb0} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 58.49 MiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:02.859283 [ 9306 ] {33307c6e-8d10-4b5a-a7d1-df4d90b2e7df} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 13.01 MiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50928) (comment: 00078_group_by_arrays.sql) (in query: SELECT GoalsReached 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:02.936845 [ 9306 ] {33307c6e-8d10-4b5a-a7d1-df4d90b2e7df} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 13.01 MiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:03.435356 [ 3015 ] {88640125-0df4-486a-8785-93017d0f1273} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_5.t_json_async_insert FORMAT JSONAsObject' with query id 7406cb1d-10bf-4fc1-900e-eaf1b1b3a2cd. DB::Exception: Cannot parse object: (at row 1) 2026.10.27 19:21:03.741167 [ 3020 ] {7406cb1d-10bf-4fc1-900e-eaf1b1b3a2cd} executeQuery: Code: 117. DB::Exception: Cannot parse object: (at row 1) : While executing WaitForAsyncInsert. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37266) (comment: 02421_type_json_async_insert.sh) (in query: INSERT INTO t_json_async_insert FORMAT JSONAsObject ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a702117 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/Serializations/SerializationObject.cpp:58: void DB::SerializationObject>::deserializeTextImpl>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)>(DB::IColumn&, DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)&&) const @ 0x0000000036fc988b in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationObject.cpp:123: DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000036fb3ba5 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:178: DB::JSONAsObjectRowInputFormat::readJSONObject(DB::IColumn&) @ 0x000000003e5ddc14 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:0: DB::JSONAsRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e5d9fc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3aa92c in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/StreamingFormatExecutor.cpp:60: DB::StreamingFormatExecutor::execute() @ 0x000000003e22b199 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/StreamingFormatExecutor.cpp:43: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x000000003e22ab33 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:0: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000377ccfdd in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000377d433d in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 15. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:03.743031 [ 3020 ] {7406cb1d-10bf-4fc1-900e-eaf1b1b3a2cd} TCPHandler: Code: 117. DB::Exception: Cannot parse object: (at row 1) : While executing WaitForAsyncInsert. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a702117 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/Serializations/SerializationObject.cpp:58: void DB::SerializationObject>::deserializeTextImpl>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)>(DB::IColumn&, DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)&&) const @ 0x0000000036fc988b in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationObject.cpp:123: DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000036fb3ba5 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:178: DB::JSONAsObjectRowInputFormat::readJSONObject(DB::IColumn&) @ 0x000000003e5ddc14 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:0: DB::JSONAsRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e5d9fc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3aa92c in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/StreamingFormatExecutor.cpp:60: DB::StreamingFormatExecutor::execute() @ 0x000000003e22b199 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/StreamingFormatExecutor.cpp:43: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x000000003e22ab33 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:0: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000377ccfdd in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000377d433d in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 15. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:10.592317 [ 9245 ] {e291ba4a-f107-4666-8b5d-edd4ca1c9981} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 9.00 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 9.31 GiB: (while reading column EventTime): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44588) (comment: 00011_sorting.sql) (in query: SELECT EventTime::DateTime('Asia/Dubai') FROM test.hits ORDER BY EventTime DESC LIMIT 10 ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 9. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 19. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 20. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/deque:1902: DB::MergeTreeReaderWide::prefetchBeginOfRange(Priority) @ 0x000000003d492334 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreePrefetchedReadPool.cpp:0: std::__packaged_task_func>> (DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)> DB::threadPoolCallbackRunner>, DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::operator()(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::'lambda'(), std::allocator>> (DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)> DB::threadPoolCallbackRunner>, DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::operator()(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::'lambda'()>, std::unique_ptr> ()>::operator()() @ 0x000000003f2415f1 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task> ()>::operator()() @ 0x000000003f24ff32 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>> (DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)> DB::threadPoolCallbackRunner>, DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::operator()(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003f241c4e in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 27. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 31. ? @ 0x00007fc6eb378a83 in ? 2026.10.27 19:21:10.891314 [ 4287 ] {39e5b457-ac80-4889-8728-aab65be1e1d4} executeQuery: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 579.04 MiB: While executing MergeTreeThread. (TOO_MANY_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36742) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036aad4b7 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac8dc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:10.892257 [ 9245 ] {e291ba4a-f107-4666-8b5d-edd4ca1c9981} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 9.00 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 9.31 GiB: (while reading column EventTime): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 9. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 19. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 20. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/deque:1902: DB::MergeTreeReaderWide::prefetchBeginOfRange(Priority) @ 0x000000003d492334 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreePrefetchedReadPool.cpp:0: std::__packaged_task_func>> (DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)> DB::threadPoolCallbackRunner>, DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::operator()(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::'lambda'(), std::allocator>> (DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)> DB::threadPoolCallbackRunner>, DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::operator()(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::'lambda'()>, std::unique_ptr> ()>::operator()() @ 0x000000003f2415f1 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task> ()>::operator()() @ 0x000000003f24ff32 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>> (DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)> DB::threadPoolCallbackRunner>, DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::operator()(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003f241c4e in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 27. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 31. ? @ 0x00007fc6eb378a83 in ? 2026.10.27 19:21:11.457153 [ 4287 ] {39e5b457-ac80-4889-8728-aab65be1e1d4} TCPHandler: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 579.04 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036aad4b7 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac8dc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:13.448587 [ 4155 ] {258a993f-36d2-4b0a-b853-1b82d00f2d05} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_5.t_json_async_insert FORMAT JSONAsObject' with query id ad3ad19e-ef16-4277-ae6b-8219220ed9a7. DB::Exception: Cannot parse object: (at row 1) 2026.10.27 19:21:13.461771 [ 9250 ] {ad3ad19e-ef16-4277-ae6b-8219220ed9a7} executeQuery: Code: 117. DB::Exception: Cannot parse object: (at row 1) : While executing WaitForAsyncInsert. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44582) (comment: 02421_type_json_async_insert.sh) (in query: INSERT INTO t_json_async_insert FORMAT JSONAsObject ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a702117 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/Serializations/SerializationObject.cpp:58: void DB::SerializationObject>::deserializeTextImpl>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)>(DB::IColumn&, DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)&&) const @ 0x0000000036fc988b in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationObject.cpp:123: DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000036fb3ba5 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:178: DB::JSONAsObjectRowInputFormat::readJSONObject(DB::IColumn&) @ 0x000000003e5ddc14 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:0: DB::JSONAsRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e5d9fc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3aa92c in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/StreamingFormatExecutor.cpp:60: DB::StreamingFormatExecutor::execute() @ 0x000000003e22b199 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/StreamingFormatExecutor.cpp:43: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x000000003e22ab33 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:0: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000377ccfdd in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000377d433d in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 15. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:13.465830 [ 9250 ] {ad3ad19e-ef16-4277-ae6b-8219220ed9a7} TCPHandler: Code: 117. DB::Exception: Cannot parse object: (at row 1) : While executing WaitForAsyncInsert. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000a702117 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/Serializations/SerializationObject.cpp:58: void DB::SerializationObject>::deserializeTextImpl>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)>(DB::IColumn&, DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)&&) const @ 0x0000000036fc988b in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationObject.cpp:123: DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000036fb3ba5 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:178: DB::JSONAsObjectRowInputFormat::readJSONObject(DB::IColumn&) @ 0x000000003e5ddc14 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:0: DB::JSONAsRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e5d9fc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3aa92c in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/StreamingFormatExecutor.cpp:60: DB::StreamingFormatExecutor::execute() @ 0x000000003e22b199 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/StreamingFormatExecutor.cpp:43: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x000000003e22ab33 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:0: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000377ccfdd in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000377d433d in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 15. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:19.198172 [ 9250 ] {bb4c322d-eef0-474d-a2e3-799a7ae9c719} executeQuery: Code: 42. DB::Exception: Aggregate function any requires single argument: While processing SELECT any(nullIf('', ''), 'some text'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41414) (comment: 01650_any_null_if.sql) (in query: EXPLAIN SYNTAX select any(nullIf('', ''), 'some text');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/HelpersMinMaxAny.h:0: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000025c7f1f3 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000002133c7c3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352e5376 in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352df1f8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037c8e17b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c822c0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c7e74d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b7760d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: 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)::$_0::operator()(bool) const @ 0x0000000039b231a1 in /usr/bin/clickhouse 12. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: 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) @ 0x0000000039b0514b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b049a7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000003965b72c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000003965c752 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000003965c75d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000003965c75d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:385: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000396434d0 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000003963d9a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:21.463938 [ 9250 ] {bb4c322d-eef0-474d-a2e3-799a7ae9c719} TCPHandler: Code: 42. DB::Exception: Aggregate function any requires single argument: While processing SELECT any(nullIf('', ''), 'some text'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/HelpersMinMaxAny.h:0: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000025c7f1f3 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000002133c7c3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352e5376 in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352df1f8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037c8e17b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c822c0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c7e74d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b7760d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: 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)::$_0::operator()(bool) const @ 0x0000000039b231a1 in /usr/bin/clickhouse 12. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: 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) @ 0x0000000039b0514b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b049a7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000003965b72c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000003965c752 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000003965c75d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000003965c75d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:385: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000396434d0 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000003963d9a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:21.464345 [ 6141 ] {d16d2a49-e1cf-499d-a6f6-9f0f2757fb33} executeQuery: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing CAST(CAST(NULL, 'LowCardinality(Nullable(String))'), 'String'). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41434) (comment: 00974_low_cardinality_cast.sql) (in query: SELECT CAST(CAST(Null AS LowCardinality(Nullable(String))) AS String);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000009de83f7 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a6e5601 in /usr/bin/clickhouse 4. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a6e4a04 in /usr/bin/clickhouse 5. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 6. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 26. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 30. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 2026.10.27 19:21:23.922795 [ 4305 ] {9cebb75b-d63c-423a-b284-f0928a7d24c6} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 8388608 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: (while reading column ClientIP6): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 303104): While executing MergeTreeInOrder. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55080) (comment: 00157_cache_dictionary.sql) (in query: INSERT INTO test.hits_1m SELECT * FROM test.hits LIMIT 1000000;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationFixedString.cpp:0: DB::SerializationFixedString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f0d3da in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1de0ed in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:23.922819 [ 4287 ] {6202b5c0-c0f5-4fcc-a3c7-d67ac0fd1b46} executeQuery: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 585.47 MiB: While executing MergeTreeThread. (TOO_MANY_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36742) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036aad4b7 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac8dc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:25.794350 [ 6141 ] {d16d2a49-e1cf-499d-a6f6-9f0f2757fb33} TCPHandler: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing CAST(CAST(NULL, 'LowCardinality(Nullable(String))'), 'String'). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000009de83f7 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a6e5601 in /usr/bin/clickhouse 4. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a6e4a04 in /usr/bin/clickhouse 5. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 6. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 26. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 30. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 2026.10.27 19:21:25.794538 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.39 GiB (attempt to allocate chunk of 5024285 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a4a9253 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a4a6542 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c31ce7 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:25.794641 [ 4305 ] {9cebb75b-d63c-423a-b284-f0928a7d24c6} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 8388608 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: (while reading column ClientIP6): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 303104): While executing MergeTreeInOrder. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationFixedString.cpp:0: DB::SerializationFixedString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f0d3da in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1de0ed in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:25.794641 [ 4287 ] {6202b5c0-c0f5-4fcc-a3c7-d67ac0fd1b46} TCPHandler: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 585.47 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036aad4b7 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac8dc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:25.795040 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 4197374 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a471453 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a46e742 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2ea27 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:25.801608 [ 2238 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {1b472cab-7f44-4e61-9d4f-069834646e86::202610_1_36_7}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.38 GiB (attempt to allocate chunk of 1096783 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:25.814771 [ 2236 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {51542bea-4345-4d36-94eb-7171c1c21706::202610_1_31_6}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.38 GiB (attempt to allocate chunk of 1178559 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:25.818082 [ 9250 ] {cacf3954-32a2-4eec-a57c-cf6a60d73c88} executeQuery: Code: 42. DB::Exception: Aggregate function any requires single argument: While processing SELECT any(nullIf('', ''), 'some text'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41414) (comment: 01650_any_null_if.sql) (in query: EXPLAIN SYNTAX select any(nullIf('', ''), 'some text');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/HelpersMinMaxAny.h:0: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000025c7f1f3 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000002133c7c3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352e5376 in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352df1f8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037c8e17b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c822c0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c7e74d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b7760d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: 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)::$_0::operator()(bool) const @ 0x0000000039b231a1 in /usr/bin/clickhouse 12. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: 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) @ 0x0000000039b0514b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b049a7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000003965b72c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000003965c752 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000003965c75d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000003965c75d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:385: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000396434d0 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000003963d9a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:25.819159 [ 9250 ] {cacf3954-32a2-4eec-a57c-cf6a60d73c88} TCPHandler: Code: 42. DB::Exception: Aggregate function any requires single argument: While processing SELECT any(nullIf('', ''), 'some text'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/HelpersMinMaxAny.h:0: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000025c7f1f3 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000002133c7c3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000352e5376 in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000352df1f8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000037c8e17b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000037c822c0 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000037c7e74d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000039b7760d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:674: 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)::$_0::operator()(bool) const @ 0x0000000039b231a1 in /usr/bin/clickhouse 12. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: 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) @ 0x0000000039b0514b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b049a7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000003965b72c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000003965c752 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000003965c75d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000003965c75d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:385: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000396434d0 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000003963d9a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:27.316833 [ 6141 ] {51d8e6a3-c5c8-4f16-bf8f-82f939a6c40b} executeQuery: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing CAST(CAST(NULL, 'Nullable(String)'), 'String'). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41434) (comment: 00974_low_cardinality_cast.sql) (in query: SELECT CAST(CAST(Null AS Nullable(String)) AS String);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000009de83f7 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a6e44bb in /usr/bin/clickhouse 4. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a6e3e84 in /usr/bin/clickhouse 5. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 6. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 26. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 30. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 2026.10.27 19:21:27.318701 [ 6799 ] {5f4982c0-2dc7-424d-b66a-5e9d86c787b6} executeQuery: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43414) (comment: 02841_with_clause_resolve.sql) (in query: set allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:27.319177 [ 2243 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 1193726 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (while reading column StartTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_8_8_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 6867): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c526 in /usr/bin/clickhouse 21. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:612: DB::MergeTask::VerticalMergeStage::executeVerticalMergeForOneColumn() const @ 0x000000003cdc2b1f in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:27.319618 [ 6141 ] {51d8e6a3-c5c8-4f16-bf8f-82f939a6c40b} TCPHandler: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing CAST(CAST(NULL, 'Nullable(String)'), 'String'). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000009de83f7 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a6e44bb in /usr/bin/clickhouse 4. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a6e3e84 in /usr/bin/clickhouse 5. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 6. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 26. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 30. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 2026.10.27 19:21:27.324994 [ 6799 ] {5f4982c0-2dc7-424d-b66a-5e9d86c787b6} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:30.179550 [ 9290 ] {d096decf-d14b-4c83-857a-8f914391aeb9} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 132.00 B) in table 'test_3.`.inner_id.814efdd3-1503-4da9-9fe3-235666a0e063` (2158b790-6293-4653-b5b8-2ebf2e13fcff)'. Merges are processing significantly slower than inserts: while pushing to view test_3.b (814efdd3-1503-4da9-9fe3-235666a0e063). (TOO_MANY_PARTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43402) (comment: 00633_materialized_view_and_too_many_parts_zookeeper.sh) (in query: INSERT INTO root VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, unsigned long&, ReadableSize&&, String&&) @ 0x000000003d01d8b3 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000003cf041b8 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1081: DB::ReplicatedMergeTreeSinkImpl::onStart() @ 0x000000003d93d780 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb863cc in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000003eb85322 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000003e2277e5 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a6eea in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:30.187031 [ 9290 ] {d096decf-d14b-4c83-857a-8f914391aeb9} TCPHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 132.00 B) in table 'test_3.`.inner_id.814efdd3-1503-4da9-9fe3-235666a0e063` (2158b790-6293-4653-b5b8-2ebf2e13fcff)'. Merges are processing significantly slower than inserts: while pushing to view test_3.b (814efdd3-1503-4da9-9fe3-235666a0e063). (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, unsigned long&, ReadableSize&&, String&&) @ 0x000000003d01d8b3 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000003cf041b8 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1081: DB::ReplicatedMergeTreeSinkImpl::onStart() @ 0x000000003d93d780 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb863cc in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000003eb85322 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000003e2277e5 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a6eea in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:33.942200 [ 4287 ] {0b4aa098-38b3-41d6-a231-a9ce34ff01cf} executeQuery: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 578.42 MiB: While executing MergeTreeThread. (TOO_MANY_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36742) (comment: 00091_prewhere_two_conditions.sql) (in query: SELECT uniq(URL) FROM test.hits PREWHERE toTimeZone(EventTime, 'Asia/Dubai') >= '2014-03-20 00:00:00' AND URL != '' AND toTimeZone(EventTime, 'Asia/Dubai') < '2014-03-21 00:00:00';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036aad4b7 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac8dc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:34.922429 [ 4287 ] {0b4aa098-38b3-41d6-a231-a9ce34ff01cf} TCPHandler: Code: 307. DB::Exception: Limit for rows or bytes to read exceeded, max bytes: 572.20 MiB, current bytes: 578.42 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x0000000036aad4b7 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac8dc in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:34.922646 [ 6799 ] {c6c0a60f-b1dd-4618-8c19-4d3dddcdc2fb} executeQuery: Code: 81. DB::Exception: Database INFORMATION_schema does not exist. Maybe you meant INFORMATION_SCHEMA?. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43468) (comment: 01161_information_schema.sql) (in query: SELECT count() FROM INFORMATION_schema.tables WHERE table_schema=currentDatabase() AND table_name = 't';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:654: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ac557f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:4185: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x00000000378e2d8c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e4f95a in /usr/bin/clickhouse 6. ./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) @ 0x0000000039b09f73 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 10. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:34.924604 [ 6799 ] {c6c0a60f-b1dd-4618-8c19-4d3dddcdc2fb} TCPHandler: Code: 81. DB::Exception: Database INFORMATION_schema does not exist. Maybe you meant INFORMATION_SCHEMA?. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:654: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ac557f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:4185: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x00000000378e2d8c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e4f95a in /usr/bin/clickhouse 6. ./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) @ 0x0000000039b09f73 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 10. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:34.941955 [ 6799 ] {c8b8dce7-77c5-4bfa-bb20-b4c6945e9117} executeQuery: Code: 60. DB::Exception: Table information_schema.taBLES does not exist. Maybe you meant TABLES?. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43468) (comment: 01161_information_schema.sql) (in query: SELECT count() FROM information_schema.taBLES WHERE table_schema=currentDatabase() AND table_name = 't';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000945c47e in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000371e7313 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ab8ee2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037acb963 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e50b18 in /usr/bin/clickhouse 7. ./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) @ 0x0000000039b09f73 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 11. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:34.942942 [ 6799 ] {c8b8dce7-77c5-4bfa-bb20-b4c6945e9117} TCPHandler: Code: 60. DB::Exception: Table information_schema.taBLES does not exist. Maybe you meant TABLES?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000945c47e in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000371e7313 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ab8ee2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037acb963 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e50b18 in /usr/bin/clickhouse 7. ./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) @ 0x0000000039b09f73 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 11. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:36.988875 [ 2366 ] {5bc3805a-98bc-4b92-bdf7-6237acb0a010} executeQuery: Code: 80. DB::Exception: It's not initial query. ON CLUSTER is not allowed for Replicated database. (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 02541_lightweight_delete_on_cluster.sql) (in query: /* ddl_entry=query-0000000001 */ CREATE TABLE test_11.t1_local UUID '8000aa77-51a9-4fb1-b26f-a753fc2e22f0' (`partition_col_1` String, `tc1` Int32, `tc2` Int32) ENGINE = MergeTree PARTITION BY partition_col_1 ORDER BY tc1 SETTINGS index_granularity = 33955, min_bytes_for_wide_part = 812806395, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 3621, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 14002120, allow_vertical_merges_from_compact_to_wide_parts = 1, marks_compress_block_size = 39526, primary_key_compress_block_size = 97358), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [75]) @ 0x000000000b1a9817 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x00000000371380f7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c23a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:38.297690 [ 6141 ] {569a19ac-cc0c-4cf7-bc9f-76024a86822d} executeQuery: Code: 73. DB::Exception: Unknown format aaa: While processing formatRow('aaa', number). (UNKNOWN_FORMAT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43458) (comment: 01420_format_row.gen.sql) (in query: -- unknown format select formatRow('aaa', *) from numbers(3);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FormatRowOverloadResolver::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x0000000010c07b7e in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352afa25 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 18. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 22. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 2026.10.27 19:21:38.297891 [ 2366 ] {5bc3805a-98bc-4b92-bdf7-6237acb0a010} DDLWorker: Query /* ddl_entry=query-0000000001 */ CREATE TABLE test_11.t1_local UUID '8000aa77-51a9-4fb1-b26f-a753fc2e22f0' (`partition_col_1` String, `tc1` Int32, `tc2` Int32) ENGINE = MergeTree PARTITION BY partition_col_1 ORDER BY tc1 SETTINGS index_granularity = 33955, min_bytes_for_wide_part = 812806395, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 3621, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 14002120, allow_vertical_merges_from_compact_to_wide_parts = 1, marks_compress_block_size = 39526, primary_key_compress_block_size = 97358 wasn't finished successfully: Code: 80. DB::Exception: It's not initial query. ON CLUSTER is not allowed for Replicated database. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [75]) @ 0x000000000b1a9817 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x00000000371380f7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c23a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:38.317212 [ 6141 ] {569a19ac-cc0c-4cf7-bc9f-76024a86822d} TCPHandler: Code: 73. DB::Exception: Unknown format aaa: While processing formatRow('aaa', number). (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FormatRowOverloadResolver::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x0000000010c07b7e in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352afa25 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 18. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 22. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 2026.10.27 19:21:39.782760 [ 6799 ] {33f585c2-4b9f-48e7-b0b5-5930a5c6ba52} executeQuery: Code: 80. DB::Exception: There was an error on [localhost:9000]: Code: 80. DB::Exception: It's not initial query. ON CLUSTER is not allowed for Replicated database. (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)). (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 02541_lightweight_delete_on_cluster.sql) (in query: /* ddl_entry=query-0000000045 */ CREATE TABLE test_11.t1_local UUID '8000aa77-51a9-4fb1-b26f-a753fc2e22f0' ON CLUSTER test_shard_localhost (`partition_col_1` String, `tc1` Int32, `tc2` Int32) ENGINE = MergeTree PARTITION BY partition_col_1 ORDER BY tc1 SETTINGS index_granularity = 33955, min_bytes_for_wide_part = 812806395, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 3621, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 14002120, allow_vertical_merges_from_compact_to_wide_parts = 1, marks_compress_block_size = 39526, primary_key_compress_block_size = 97358), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1dd07d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9965b5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 14. ./build_docker/./src/Databases/DatabaseReplicatedWorker.cpp:288: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x00000000371b9fe1 in /usr/bin/clickhouse 15. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x00000000371371dd in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c23a3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:40.454870 [ 4399 ] {d615edc9-0cfb-4336-817d-31325e4b1ab6} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 13.06 MiB (attempt to allocate chunk of 1310720 bytes), maximum: 9.31 GiB: while executing 'FUNCTION negate(CounterID : 0) -> negate(CounterID) Int64 : 3'. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44650) (comment: 00148_monotonic_functions_and_index.sql) (in query: SELECT count() FROM test.hits WHERE CounterID <= 732797 AND -CounterID <= -107931;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 8. auto DB::FunctionUnaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x0000000019e105bc in /usr/bin/clickhouse 9. bool DB::FunctionUnaryArithmetic::castType::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x0000000019e0e8ff in /usr/bin/clickhouse 10. DB::FunctionUnaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000019e0d9d6 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000003eb9657e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000003eb960a4 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:40.455047 [ 6799 ] {33f585c2-4b9f-48e7-b0b5-5930a5c6ba52} executeQuery: Code: 80. DB::Exception: There was an error on [localhost:9000]: Code: 80. DB::Exception: It's not initial query. ON CLUSTER is not allowed for Replicated database. (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)). (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49912) (comment: 02541_lightweight_delete_on_cluster.sql) (in query: CREATE TABLE t1_local ON CLUSTER test_shard_localhost (`partition_col_1` String, `tc1` int, `tc2` int) ENGINE = MergeTree PARTITION BY partition_col_1 ORDER BY tc1 SETTINGS index_granularity = 33955, min_bytes_for_wide_part = 812806395, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 3621, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 14002120, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 39526, primary_key_compress_block_size = 97358), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1dd07d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9965b5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 14. ./build_docker/./src/Databases/DatabaseReplicatedWorker.cpp:288: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x00000000371b9fe1 in /usr/bin/clickhouse 15. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x00000000371371dd in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c23a3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:40.523426 [ 6799 ] {33f585c2-4b9f-48e7-b0b5-5930a5c6ba52} TCPHandler: Code: 80. DB::Exception: There was an error on [localhost:9000]: Code: 80. DB::Exception: It's not initial query. ON CLUSTER is not allowed for Replicated database. (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)). (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1dd07d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9965b5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 14. ./build_docker/./src/Databases/DatabaseReplicatedWorker.cpp:288: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x00000000371b9fe1 in /usr/bin/clickhouse 15. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x00000000371371dd in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c23a3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:40.813838 [ 4399 ] {d615edc9-0cfb-4336-817d-31325e4b1ab6} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 13.06 MiB (attempt to allocate chunk of 1310720 bytes), maximum: 9.31 GiB: while executing 'FUNCTION negate(CounterID : 0) -> negate(CounterID) Int64 : 3'. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 8. auto DB::FunctionUnaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x0000000019e105bc in /usr/bin/clickhouse 9. bool DB::FunctionUnaryArithmetic::castType::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x0000000019e0e8ff in /usr/bin/clickhouse 10. DB::FunctionUnaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000019e0d9d6 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000003eb9657e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000003eb960a4 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:42.478605 [ 9270 ] {fafe019d-26d9-4c35-8fca-3bcd4ddcba93} executeQuery: Code: 319. DB::Exception: Unknown status, client must retry. Reason: Code: 159. DB::Exception: Timeout while waiting for quorum. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_STATUS_OF_INSERT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49980) (comment: 00732_quorum_insert_lost_part_zookeeper_long.sql) (in query: INSERT INTO quorum2 VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1148: DB::ReplicatedMergeTreeSinkImpl::waitForQuorum(std::shared_ptr const&, String const&, String const&, int, unsigned long) const @ 0x000000003d94e5db in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:197: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d9481cb in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d9213d2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d943433 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:42.597053 [ 9270 ] {fafe019d-26d9-4c35-8fca-3bcd4ddcba93} TCPHandler: Code: 319. DB::Exception: Unknown status, client must retry. Reason: Code: 159. DB::Exception: Timeout while waiting for quorum. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_STATUS_OF_INSERT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1148: DB::ReplicatedMergeTreeSinkImpl::waitForQuorum(std::shared_ptr const&, String const&, String const&, int, unsigned long) const @ 0x000000003d94e5db in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:197: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000003d9481cb in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000003d9213d2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d943433 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:45.272695 [ 6121 ] {b3a11256-d626-4e8e-beb7-7097cdc69431} executeQuery: Code: 69. DB::Exception: Too many digits (10 > 9) in decimal value: While processing '1000000000' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '1000000000' AS x, toDecimal32(x, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:96: bool DB::readDigits>(DB::ReadBuffer&, DB::Decimal&, unsigned int&, int&, bool) @ 0x00000000362ca0c9 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6cfbb in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef567f in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aa67f11 in /usr/bin/clickhouse 7. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa520b8 in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa26112 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa24b82 in /usr/bin/clickhouse 10. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa23482 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 2026.10.27 19:21:47.984522 [ 2350 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::AsynchronousMetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.46 GiB (attempt to allocate chunk of 5236661 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3b72d3 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3b47b2 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c23847 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:50.101022 [ 6121 ] {b3a11256-d626-4e8e-beb7-7097cdc69431} TCPHandler: Code: 69. DB::Exception: Too many digits (10 > 9) in decimal value: While processing '1000000000' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:96: bool DB::readDigits>(DB::ReadBuffer&, DB::Decimal&, unsigned int&, int&, bool) @ 0x00000000362ca0c9 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6cfbb in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef567f in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aa67f11 in /usr/bin/clickhouse 7. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa520b8 in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa26112 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa24b82 in /usr/bin/clickhouse 10. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa23482 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 2026.10.27 19:21:50.101132 [ 2289 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::MetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 4194391 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long const*, unsigned long const*) @ 0x000000002089f6cc in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: COWHelper>::clone() const @ 0x000000003b4083a6 in /usr/bin/clickhouse 9. DB::IColumn::mutate(COW::immutable_ptr) @ 0x000000000a9ad52a in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.cpp:0: DB::Block::mutateColumns() @ 0x000000003627dffd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:169: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d1043eb in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3dc813 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3d9902 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c259e7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c258bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:50.101162 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 5098209 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:50.101224 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 4261445 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:50.101265 [ 2292 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::PartLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 4211903 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d102e0d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a401a53 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3fed42 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c27d07 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c27bdf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:50.101372 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 5070588 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:50.101547 [ 2232 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_52_57_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IMergeTreeDataPart.cpp:138: DB::IMergeTreeDataPart::MinMaxIndex::store(std::vector> const&, std::vector, std::allocator>> const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003cc2a292 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::IMergeTreeDataPart::MinMaxIndex::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003cc28e2e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64f047 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePart(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d649640 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::MergeTask::MergeProjectionsStage::finalizeProjectionsAndWholeMerge() const @ 0x000000003cdcaadc in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cddedbf in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::MergeProjectionsStage::execute() @ 0x000000003cdcaeae in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:50.785306 [ 9266 ] {94eafd1d-b737-4d4d-9b6f-ab07e5b37893} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.77 GiB (attempt to allocate chunk of 134217728 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: while executing 'FUNCTION arrayAll(__lambda :: 1, ParsedParams.Key1 : 0) -> arrayAll(lambda(tuple(y), arrayExists(lambda(tuple(x), notEquals(y, x)), ParsedParams.Key1)), ParsedParams.Key1) UInt8 : 2'. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43528) (comment: 00053_replicate_segfault.sql) (in query: SELECT count() > 0 FROM (SELECT ParsedParams.Key1 AS p FROM test.visits WHERE arrayAll(y -> arrayExists(x -> y != x, p), p)) ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/Allocator.h:199: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078662f in /usr/bin/clickhouse 10. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x000000000941592d in /usr/bin/clickhouse 11. ./build_docker/./src/Common/PODArray.h:0: DB::ColumnArray::replicateString(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000003ac9212e in /usr/bin/clickhouse 12. ./build_docker/./src/Columns/ColumnArray.cpp:0: DB::ColumnArray::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000003ac903d5 in /usr/bin/clickhouse 13. ./build_docker/./src/Columns/ColumnFunction.cpp:0: DB::ColumnFunction::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000003b0b0e57 in /usr/bin/clickhouse 14. DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001db21960 in /usr/bin/clickhouse 15. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 18. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000003eb9657e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000003eb960a4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 28. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 2026.10.27 19:21:50.785392 [ 2247 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.46 GiB (attempt to allocate chunk of 2207744 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing CollapsingSortedTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:0: DB::CompressedWriteBuffer::nextImpl() @ 0x0000000036895a50 in /usr/bin/clickhouse 10. DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000941dcac in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Merges/Algorithms/CollapsingSortedAlgorithm.cpp:119: DB::CollapsingSortedAlgorithm::insertRows() @ 0x000000003ee84d60 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Merges/Algorithms/CollapsingSortedAlgorithm.cpp:0: DB::CollapsingSortedAlgorithm::merge() @ 0x000000003ee868dc in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003cdea4e2 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 28. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:50.785830 [ 6121 ] {0d9819a2-168b-4212-a3ec-1ad8c7553f4b} executeQuery: Code: 69. DB::Exception: Too many digits (10 > 9) in decimal value: While processing '-1000000000' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '-1000000000' AS x, toDecimal32(x, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:96: bool DB::readDigits>(DB::ReadBuffer&, DB::Decimal&, unsigned int&, int&, bool) @ 0x00000000362ca0c9 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6cfbb in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef567f in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aa67f11 in /usr/bin/clickhouse 7. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa520b8 in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa26112 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa24b82 in /usr/bin/clickhouse 10. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa23482 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 2026.10.27 19:21:50.787639 [ 6121 ] {0d9819a2-168b-4212-a3ec-1ad8c7553f4b} TCPHandler: Code: 69. DB::Exception: Too many digits (10 > 9) in decimal value: While processing '-1000000000' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:96: bool DB::readDigits>(DB::ReadBuffer&, DB::Decimal&, unsigned int&, int&, bool) @ 0x00000000362ca0c9 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6cfbb in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef567f in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aa67f11 in /usr/bin/clickhouse 7. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa520b8 in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa26112 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa24b82 in /usr/bin/clickhouse 10. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa23482 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 2026.10.27 19:21:50.798857 [ 9266 ] {94eafd1d-b737-4d4d-9b6f-ab07e5b37893} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.77 GiB (attempt to allocate chunk of 134217728 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: while executing 'FUNCTION arrayAll(__lambda :: 1, ParsedParams.Key1 : 0) -> arrayAll(lambda(tuple(y), arrayExists(lambda(tuple(x), notEquals(y, x)), ParsedParams.Key1)), ParsedParams.Key1) UInt8 : 2'. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/Allocator.h:199: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078662f in /usr/bin/clickhouse 10. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x000000000941592d in /usr/bin/clickhouse 11. ./build_docker/./src/Common/PODArray.h:0: DB::ColumnArray::replicateString(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000003ac9212e in /usr/bin/clickhouse 12. ./build_docker/./src/Columns/ColumnArray.cpp:0: DB::ColumnArray::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000003ac903d5 in /usr/bin/clickhouse 13. ./build_docker/./src/Columns/ColumnFunction.cpp:0: DB::ColumnFunction::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000003b0b0e57 in /usr/bin/clickhouse 14. DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001db21960 in /usr/bin/clickhouse 15. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 18. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000003eb9657e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000003eb960a4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 28. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 2026.10.27 19:21:51.585527 [ 2235 ] {test_5.lwd_test::all_1_1_0_2} MutatePlainMergeTreeTask: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 9020092 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:51.840903 [ 2243 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} TemporaryFileOnDisk: Temporary path 'tmp61bc2fb6-fc69-490d-8966-bdb21e2555eb' does not exist in '/var/lib/clickhouse/tmp/' 2026.10.27 19:21:52.198358 [ 6121 ] {072c52ff-9a15-420d-b0e0-46908c01a5f7} executeQuery: Code: 69. DB::Exception: Too many digits (19 > 18) in decimal value: While processing '1000000000000000000' AS x, toDecimal64(x, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '1000000000000000000' AS x, toDecimal64(x, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:96: bool DB::readDigits>(DB::ReadBuffer&, DB::Decimal&, unsigned int&, int&, bool) @ 0x00000000362cc296 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6e231 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef847f in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aab3eac in /usr/bin/clickhouse 7. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa9ded8 in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa71d12 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa70782 in /usr/bin/clickhouse 10. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa6f082 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 2026.10.27 19:21:55.734308 [ 6141 ] {cc81b787-fc22-4ad8-ad4a-4f8a8fc23af4} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_2.txt' with part 'all_1_1_0' reason: 'Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 9020092 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build))'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49946) (comment: 02352_lightweight_delete.sql) (in query: --ALTER TABLE lwd_test UPDATE _row_exists = 0 WHERE id < 3000000; DELETE FROM lwd_test WHERE id < 100000;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d3f1fe4 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d3f1895 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000003da1202d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000003da14513 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395df302 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDeleteQuery.cpp:0: DB::InterpreterDeleteQuery::execute() @ 0x0000000039a50579 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:55.734445 [ 3071 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:55.734567 [ 2296 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::QueryLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 4210877 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:55.734585 [ 6121 ] {072c52ff-9a15-420d-b0e0-46908c01a5f7} TCPHandler: Code: 69. DB::Exception: Too many digits (19 > 18) in decimal value: While processing '1000000000000000000' AS x, toDecimal64(x, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:96: bool DB::readDigits>(DB::ReadBuffer&, DB::Decimal&, unsigned int&, int&, bool) @ 0x00000000362cc296 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6e231 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef847f in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aab3eac in /usr/bin/clickhouse 7. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa9ded8 in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa71d12 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa70782 in /usr/bin/clickhouse 10. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa6f082 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 2026.10.27 19:21:55.734691 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.50 GiB (attempt to allocate chunk of 4289061 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:55.735012 [ 2238 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_52_57_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1054909 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:37: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d102291 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:55.735020 [ 9290 ] {5608dcf6-50ca-4878-ad85-53a3d28e4df1} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1507328 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49966) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactStringsEachRowWithNamesAndTypes), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/memcpySmall.h:40: DB::ColumnFixedString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b06a248 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:44: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003efbe15d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eed0553 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8e96 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:56.381271 [ 2235 ] {test_5.lwd_test::all_1_1_0_2} virtual bool DB::MutatePlainMergeTreeTask::executeStep(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 9020092 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x00000000209e2844 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromS3::reallocateFirstBuffer() @ 0x00000000361edabc in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:126: DB::WriteBufferFromS3::nextImpl() @ 0x00000000361ec8a2 in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBuffer.h:60: DB::WriteBufferFromFileDecorator::nextImpl() @ 0x000000003584b666 in /usr/bin/clickhouse 13. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HashingWriteBuffer::nextImpl() @ 0x000000003cb90e85 in /usr/bin/clickhouse 14. DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000941dcac in /usr/bin/clickhouse 15. ./build_docker/./src/Compression/CompressedWriteBuffer.cpp:58: DB::CompressedWriteBuffer::nextImpl() @ 0x0000000036895c79 in /usr/bin/clickhouse 16. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HashingWriteBuffer::nextImpl() @ 0x000000003cb90e85 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/WriteBuffer.h:0: DB::MergeTreeDataPartWriterCompact::writeDataBlock(DB::Block const&, std::vector> const&) @ 0x000000003d109325 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:186: DB::MergeTreeDataPartWriterCompact::writeDataBlockPrimaryIndexAndSkipIndices(DB::Block const&, std::vector> const&) @ 0x000000003d106cb0 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.h:128: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d104d1d in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::write(DB::Block const&) @ 0x000000003d648a09 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000003d67f999 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6d51aa in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:1754: DB::MutateTask::execute() @ 0x000000003d6852d2 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MutatePlainMergeTreeTask.cpp:0: DB::MutatePlainMergeTreeTask::executeStep() @ 0x000000003dabb8bd in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 29. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:56.381368 [ 9306 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.50 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:56.381422 [ 6141 ] {cc81b787-fc22-4ad8-ad4a-4f8a8fc23af4} TCPHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_2.txt' with part 'all_1_1_0' reason: 'Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 9020092 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build))'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d3f1fe4 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d3f1895 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000003da1202d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000003da14513 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395df302 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDeleteQuery.cpp:0: DB::InterpreterDeleteQuery::execute() @ 0x0000000039a50579 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:56.381917 [ 6149 ] {} ExternalDictionaries: Could not update cache dictionary 'db_dict.cache_hits (ce9302ea-ce85-4483-9713-4dbb9b26599a)', next update is scheduled at 2026-10-27 19:21:55: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 4440532 bytes), maximum: 15.30 GiB.: (while reading column UserID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 200 with max_rows_to_read = 7871): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:45: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770de9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 18. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:0: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d493acf in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::continueReadingChain(DB::MergeTreeRangeReader::ReadResult const&, unsigned long&) @ 0x000000003d50c8f3 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:979: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506ad7 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:56.382621 [ 2243 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::WriteBufferFromTemporaryFile::WriteBufferFromTemporaryFile(std::unique_ptr>&&) @ 0x0000000037253f84 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::TemporaryDataOnDisk::createRawStream(unsigned long) @ 0x000000003a63c2f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:296: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cda7825 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:56.457701 [ 5687 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.50 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:56.463898 [ 3020 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:21:56.664702 [ 6121 ] {f4c50d06-08d2-47f9-b053-a40bbf68f50e} executeQuery: Code: 69. DB::Exception: Too many digits (19 > 18) in decimal value: While processing '-1000000000000000000' AS x, toDecimal64(x, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '-1000000000000000000' AS x, toDecimal64(x, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:96: bool DB::readDigits>(DB::ReadBuffer&, DB::Decimal&, unsigned int&, int&, bool) @ 0x00000000362cc296 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6e231 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef847f in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aab3eac in /usr/bin/clickhouse 7. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa9ded8 in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa71d12 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa70782 in /usr/bin/clickhouse 10. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa6f082 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 2026.10.27 19:21:56.673744 [ 6121 ] {f4c50d06-08d2-47f9-b053-a40bbf68f50e} TCPHandler: Code: 69. DB::Exception: Too many digits (19 > 18) in decimal value: While processing '-1000000000000000000' AS x, toDecimal64(x, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:96: bool DB::readDigits>(DB::ReadBuffer&, DB::Decimal&, unsigned int&, int&, bool) @ 0x00000000362cc296 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6e231 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef847f in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aab3eac in /usr/bin/clickhouse 7. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa9ded8 in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa71d12 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa70782 in /usr/bin/clickhouse 10. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa6f082 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 2026.10.27 19:21:57.338634 [ 9259 ] {ca9cc53a-4d2e-49dd-9d63-ce846dca98af} executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'db_dict.cache_hits (ce9302ea-ce85-4483-9713-4dbb9b26599a)': Code: 510. DB::Exception: Update failed for dictionary db_dict.cache_hits (ce9302ea-ce85-4483-9713-4dbb9b26599a) : Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 4440532 bytes), maximum: 15.30 GiB.: (while reading column UserID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 200 with max_rows_to_read = 7871): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:45: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770de9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 18. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:0: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d493acf in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::continueReadingChain(DB::MergeTreeRangeReader::ReadResult const&, unsigned long&) @ 0x000000003d50c8f3 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:979: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506ad7 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.8.16.43.altinitystable (altinity build)): while executing 'FUNCTION dictHas('db_dict.cache_hits' :: 1, toUInt64(WatchID) :: 2) -> dictHas('db_dict.cache_hits', toUInt64(WatchID)) UInt8 : 0'. (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43540) (comment: 00158_cache_dictionary_has.sql) (in query: SELECT sum(flag) FROM (SELECT dictHas('db_dict.cache_hits', toUInt64(WatchID)) as flag FROM test.hits PREWHERE WatchID % 350 == 0 LIMIT 100);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfb3eb5 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x000000002c431784 in /usr/bin/clickhouse 4. DB::CacheDictionary<(DB::DictionaryKeyType)0>::hasKeys(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&) const @ 0x000000002c3f7809 in /usr/bin/clickhouse 5. DB::FunctionDictHas::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae5eaca in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eb883db in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 18. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:58.769905 [ 9259 ] {ca9cc53a-4d2e-49dd-9d63-ce846dca98af} TCPHandler: Code: 510. DB::Exception: Update failed for dictionary 'db_dict.cache_hits (ce9302ea-ce85-4483-9713-4dbb9b26599a)': Code: 510. DB::Exception: Update failed for dictionary db_dict.cache_hits (ce9302ea-ce85-4483-9713-4dbb9b26599a) : Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 4440532 bytes), maximum: 15.30 GiB.: (while reading column UserID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 200 with max_rows_to_read = 7871): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:45: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770de9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 18. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:0: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d493acf in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::continueReadingChain(DB::MergeTreeRangeReader::ReadResult const&, unsigned long&) @ 0x000000003d50c8f3 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:979: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506ad7 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.8.16.43.altinitystable (altinity build)): while executing 'FUNCTION dictHas('db_dict.cache_hits' :: 1, toUInt64(WatchID) :: 2) -> dictHas('db_dict.cache_hits', toUInt64(WatchID)) UInt8 : 0'. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfb3eb5 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x000000002c431784 in /usr/bin/clickhouse 4. DB::CacheDictionary<(DB::DictionaryKeyType)0>::hasKeys(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&) const @ 0x000000002c3f7809 in /usr/bin/clickhouse 5. DB::FunctionDictHas::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae5eaca in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eb883db in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 18. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:58.769943 [ 6121 ] {26b0c32f-76bf-4618-8df5-79193a0ee3fd} executeQuery: Code: 69. DB::Exception: Too many digits (39 > 38) in decimal value: While processing '100000000000000000000000000000000000000' AS x, toDecimal128(x, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '100000000000000000000000000000000000000' AS x, toDecimal128(x, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:96: bool DB::readDigits>>(DB::ReadBuffer&, DB::Decimal>&, unsigned int&, int&, bool) @ 0x00000000362cebaa in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000036d6f533 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:0: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036efb4a0 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ab01a91 in /usr/bin/clickhouse 7. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aaeac58 in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aabdcf2 in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabc762 in /usr/bin/clickhouse 10. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabb062 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 2026.10.27 19:21:58.769978 [ 5687 ] {54e6cc8a-28e7-4c35-9abc-3a8b59247042} executeQuery: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60908) (comment: 00800_low_cardinality_join.sql) (in query: set allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:58.770106 [ 9290 ] {5608dcf6-50ca-4878-ad85-53a3d28e4df1} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1507328 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/memcpySmall.h:40: DB::ColumnFixedString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b06a248 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:44: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003efbe15d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eed0553 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8e96 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:58.771325 [ 5687 ] {54e6cc8a-28e7-4c35-9abc-3a8b59247042} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:21:58.771528 [ 6121 ] {26b0c32f-76bf-4618-8df5-79193a0ee3fd} TCPHandler: Code: 69. DB::Exception: Too many digits (39 > 38) in decimal value: While processing '100000000000000000000000000000000000000' AS x, toDecimal128(x, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:96: bool DB::readDigits>>(DB::ReadBuffer&, DB::Decimal>&, unsigned int&, int&, bool) @ 0x00000000362cebaa in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000036d6f533 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:0: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036efb4a0 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ab01a91 in /usr/bin/clickhouse 7. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aaeac58 in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aabdcf2 in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabc762 in /usr/bin/clickhouse 10. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabb062 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 2026.10.27 19:21:58.798620 [ 6121 ] {0f50ea3c-9c19-4e3a-9e8d-926e918ce52c} executeQuery: Code: 69. DB::Exception: Too many digits (39 > 38) in decimal value: While processing '-100000000000000000000000000000000000000' AS x, toDecimal128(x, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '-100000000000000000000000000000000000000' AS x, toDecimal128(x, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:96: bool DB::readDigits>>(DB::ReadBuffer&, DB::Decimal>&, unsigned int&, int&, bool) @ 0x00000000362cebaa in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000036d6f533 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:0: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036efb4a0 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ab01a91 in /usr/bin/clickhouse 7. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aaeac58 in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aabdcf2 in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabc762 in /usr/bin/clickhouse 10. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabb062 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 2026.10.27 19:21:58.799836 [ 6121 ] {0f50ea3c-9c19-4e3a-9e8d-926e918ce52c} TCPHandler: Code: 69. DB::Exception: Too many digits (39 > 38) in decimal value: While processing '-100000000000000000000000000000000000000' AS x, toDecimal128(x, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:96: bool DB::readDigits>>(DB::ReadBuffer&, DB::Decimal>&, unsigned int&, int&, bool) @ 0x00000000362cebaa in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000036d6f533 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:0: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036efb4a0 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ab01a91 in /usr/bin/clickhouse 7. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aaeac58 in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aabdcf2 in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabc762 in /usr/bin/clickhouse 10. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabb062 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 2026.10.27 19:21:59.524692 [ 6121 ] {45b22cb2-2ba5-4319-8d7f-f7502dca4504} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: 1e0. Expected to read decimal with scale 9 and precision 9: While processing '1' AS x, toDecimal32(x, 9). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '1' AS x, toDecimal32(x, 9);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d732be in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6d203 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef567f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aa67f11 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa520b8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa26112 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa24b82 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa23482 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:21:59.529881 [ 6121 ] {45b22cb2-2ba5-4319-8d7f-f7502dca4504} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: 1e0. Expected to read decimal with scale 9 and precision 9: While processing '1' AS x, toDecimal32(x, 9). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d732be in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6d203 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef567f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aa67f11 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa520b8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa26112 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa24b82 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa23482 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:21:59.566470 [ 6121 ] {51797ecc-6752-4c4d-b183-678bca6e7b0b} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e0. Expected to read decimal with scale 9 and precision 9: While processing '-1' AS x, toDecimal32(x, 9). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '-1' AS x, toDecimal32(x, 9);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d732be in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6d203 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef567f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aa67f11 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa520b8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa26112 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa24b82 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa23482 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:21:59.578314 [ 6121 ] {51797ecc-6752-4c4d-b183-678bca6e7b0b} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e0. Expected to read decimal with scale 9 and precision 9: While processing '-1' AS x, toDecimal32(x, 9). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d732be in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6d203 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef567f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aa67f11 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa520b8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa26112 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa24b82 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa23482 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:01.212577 [ 3020 ] {b2134e8f-584e-42c4-a646-b9318e76f4ad} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60944) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc1edc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba0e863 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b51878 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b36ae1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:01.213499 [ 6121 ] {e55701d1-2f37-4793-a8b5-e6e3fe8086bb} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: 1e0. Expected to read decimal with scale 18 and precision 18: While processing '1' AS x, toDecimal64(x, 18). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '1' AS x, toDecimal64(x, 18);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d7407e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6e4c8 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef847f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aab3eac in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa9ded8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa71d12 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa70782 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa6f082 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:01.215597 [ 3020 ] {b2134e8f-584e-42c4-a646-b9318e76f4ad} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc1edc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba0e863 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b51878 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b36ae1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:01.226661 [ 6121 ] {e55701d1-2f37-4793-a8b5-e6e3fe8086bb} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: 1e0. Expected to read decimal with scale 18 and precision 18: While processing '1' AS x, toDecimal64(x, 18). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d7407e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6e4c8 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef847f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aab3eac in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa9ded8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa71d12 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa70782 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa6f082 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:01.385443 [ 6121 ] {576adf83-fc7b-457e-8d94-cdae5fe0a683} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e0. Expected to read decimal with scale 18 and precision 18: While processing '-1' AS x, toDecimal64(x, 18). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '-1' AS x, toDecimal64(x, 18);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d7407e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6e4c8 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef847f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aab3eac in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa9ded8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa71d12 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa70782 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa6f082 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:01.394389 [ 6121 ] {576adf83-fc7b-457e-8d94-cdae5fe0a683} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e0. Expected to read decimal with scale 18 and precision 18: While processing '-1' AS x, toDecimal64(x, 18). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d7407e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6e4c8 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef847f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aab3eac in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa9ded8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa71d12 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa70782 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa6f082 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:02.819059 [ 6121 ] {b5647038-4827-433b-924a-9f0c0945446e} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: 1e0. Expected to read decimal with scale 38 and precision 38: While processing '1' AS x, toDecimal128(x, 38). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '1' AS x, toDecimal128(x, 38);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, wide::integer<128ul, int>&, int&, unsigned int&, unsigned int&) @ 0x0000000036d74e55 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:170: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000036d6fa90 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:0: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036efb4a0 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ab01a91 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aaeac58 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aabdcf2 in /usr/bin/clickhouse 8. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabc762 in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabb062 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:02.887906 [ 6121 ] {b5647038-4827-433b-924a-9f0c0945446e} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: 1e0. Expected to read decimal with scale 38 and precision 38: While processing '1' AS x, toDecimal128(x, 38). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, wide::integer<128ul, int>&, int&, unsigned int&, unsigned int&) @ 0x0000000036d74e55 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:170: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000036d6fa90 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:0: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036efb4a0 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ab01a91 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aaeac58 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aabdcf2 in /usr/bin/clickhouse 8. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabc762 in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabb062 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:03.091786 [ 6121 ] {ff363c3c-012b-4a8e-a865-74a0b7d24722} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e0. Expected to read decimal with scale 38 and precision 38: While processing '-1' AS x, toDecimal128(x, 38). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '-1' AS x, toDecimal128(x, 38);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, wide::integer<128ul, int>&, int&, unsigned int&, unsigned int&) @ 0x0000000036d74e55 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:170: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000036d6fa90 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:0: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036efb4a0 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ab01a91 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aaeac58 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aabdcf2 in /usr/bin/clickhouse 8. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabc762 in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabb062 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:03.100869 [ 6121 ] {ff363c3c-012b-4a8e-a865-74a0b7d24722} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e0. Expected to read decimal with scale 38 and precision 38: While processing '-1' AS x, toDecimal128(x, 38). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, wide::integer<128ul, int>&, int&, unsigned int&, unsigned int&) @ 0x0000000036d74e55 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:170: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000036d6fa90 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:0: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036efb4a0 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ab01a91 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aaeac58 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aabdcf2 in /usr/bin/clickhouse 8. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabc762 in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabb062 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:04.184866 [ 6121 ] {0b56b4bc-3836-4669-b2b0-7c4c7e504b08} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: 1e9. Expected to read decimal with scale 0 and precision 9: While processing '1e9' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '1e9' AS x, toDecimal32(x, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d732be in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6d203 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef567f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aa67f11 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa520b8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa26112 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa24b82 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa23482 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:04.188258 [ 6121 ] {0b56b4bc-3836-4669-b2b0-7c4c7e504b08} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: 1e9. Expected to read decimal with scale 0 and precision 9: While processing '1e9' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d732be in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6d203 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef567f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aa67f11 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa520b8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa26112 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa24b82 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa23482 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:04.351220 [ 6121 ] {47d5fc79-c517-4ff9-883f-697c0d6fc276} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e9. Expected to read decimal with scale 0 and precision 9: While processing '-1E9' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '-1E9' AS x, toDecimal32(x, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d732be in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6d203 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef567f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aa67f11 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa520b8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa26112 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa24b82 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa23482 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:04.356376 [ 6121 ] {47d5fc79-c517-4ff9-883f-697c0d6fc276} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e9. Expected to read decimal with scale 0 and precision 9: While processing '-1E9' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d732be in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6d203 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef567f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aa67f11 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa520b8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa26112 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa24b82 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa23482 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:04.417498 [ 6121 ] {6fd44e95-b622-4cc2-8984-d450c199706c} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: 1e18. Expected to read decimal with scale 0 and precision 18: While processing '1E18' AS x, toDecimal64(x, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '1E18' AS x, toDecimal64(x, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d7407e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6e4c8 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef847f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aab3eac in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa9ded8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa71d12 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa70782 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa6f082 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:04.421037 [ 6121 ] {6fd44e95-b622-4cc2-8984-d450c199706c} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: 1e18. Expected to read decimal with scale 0 and precision 18: While processing '1E18' AS x, toDecimal64(x, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d7407e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6e4c8 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef847f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aab3eac in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa9ded8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa71d12 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa70782 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa6f082 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:04.471645 [ 6121 ] {3edc736c-d2b9-47e7-9976-b80591be78c0} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e18. Expected to read decimal with scale 0 and precision 18: While processing '-1e18' AS x, toDecimal64(x, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '-1e18' AS x, toDecimal64(x, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d7407e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6e4c8 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef847f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aab3eac in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa9ded8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa71d12 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa70782 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa6f082 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:04.482233 [ 6121 ] {3edc736c-d2b9-47e7-9976-b80591be78c0} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e18. Expected to read decimal with scale 0 and precision 18: While processing '-1e18' AS x, toDecimal64(x, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d7407e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6e4c8 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef847f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aab3eac in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa9ded8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa71d12 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa70782 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa6f082 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:04.575143 [ 6121 ] {1864c23b-0798-4dd6-87e3-541d43e77471} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: 1e38. Expected to read decimal with scale 0 and precision 38: While processing '1e38' AS x, toDecimal128(x, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '1e38' AS x, toDecimal128(x, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, wide::integer<128ul, int>&, int&, unsigned int&, unsigned int&) @ 0x0000000036d74e55 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:170: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000036d6fa90 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:0: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036efb4a0 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ab01a91 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aaeac58 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aabdcf2 in /usr/bin/clickhouse 8. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabc762 in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabb062 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:04.588337 [ 6121 ] {1864c23b-0798-4dd6-87e3-541d43e77471} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: 1e38. Expected to read decimal with scale 0 and precision 38: While processing '1e38' AS x, toDecimal128(x, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, wide::integer<128ul, int>&, int&, unsigned int&, unsigned int&) @ 0x0000000036d74e55 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:170: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000036d6fa90 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:0: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036efb4a0 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ab01a91 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aaeac58 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aabdcf2 in /usr/bin/clickhouse 8. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabc762 in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabb062 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:04.679699 [ 6121 ] {103e9b47-c4fe-4869-9a10-073c1cc1ba67} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e38. Expected to read decimal with scale 0 and precision 38: While processing '-1E38' AS x, toDecimal128(x, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '-1E38' AS x, toDecimal128(x, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, wide::integer<128ul, int>&, int&, unsigned int&, unsigned int&) @ 0x0000000036d74e55 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:170: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000036d6fa90 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:0: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036efb4a0 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ab01a91 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aaeac58 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aabdcf2 in /usr/bin/clickhouse 8. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabc762 in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabb062 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:04.692994 [ 6121 ] {103e9b47-c4fe-4869-9a10-073c1cc1ba67} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e38. Expected to read decimal with scale 0 and precision 38: While processing '-1E38' AS x, toDecimal128(x, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, wide::integer<128ul, int>&, int&, unsigned int&, unsigned int&) @ 0x0000000036d74e55 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:170: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000036d6fa90 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:0: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036efb4a0 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ab01a91 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aaeac58 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aabdcf2 in /usr/bin/clickhouse 8. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabc762 in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabb062 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:04.781483 [ 6121 ] {29f70f48-2a3f-49ae-995b-0934700aa1f2} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: 1e0. Expected to read decimal with scale 9 and precision 9: While processing '1e0' AS x, toDecimal32(x, 9). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '1e0' AS x, toDecimal32(x, 9);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d732be in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6d203 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef567f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aa67f11 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa520b8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa26112 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa24b82 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa23482 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:04.786138 [ 6121 ] {29f70f48-2a3f-49ae-995b-0934700aa1f2} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: 1e0. Expected to read decimal with scale 9 and precision 9: While processing '1e0' AS x, toDecimal32(x, 9). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d732be in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6d203 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef567f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aa67f11 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa520b8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa26112 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa24b82 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa23482 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:04.855066 [ 6121 ] {aac414e0-05a2-41fc-98a8-5c0c91a833ac} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e0. Expected to read decimal with scale 9 and precision 9: While processing '-1e-0' AS x, toDecimal32(x, 9). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '-1e-0' AS x, toDecimal32(x, 9);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d732be in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6d203 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef567f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aa67f11 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa520b8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa26112 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa24b82 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa23482 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:04.861444 [ 6121 ] {aac414e0-05a2-41fc-98a8-5c0c91a833ac} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e0. Expected to read decimal with scale 9 and precision 9: While processing '-1e-0' AS x, toDecimal32(x, 9). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d732be in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6d203 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef567f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aa67f11 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa520b8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa26112 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa24b82 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa23482 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:05.017465 [ 6121 ] {8764bd70-e44f-48ee-98e1-ba0599b05887} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: 1e0. Expected to read decimal with scale 18 and precision 18: While processing '1e0' AS x, toDecimal64(x, 18). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '1e0' AS x, toDecimal64(x, 18);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d7407e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6e4c8 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef847f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aab3eac in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa9ded8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa71d12 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa70782 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa6f082 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:05.020697 [ 6121 ] {8764bd70-e44f-48ee-98e1-ba0599b05887} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: 1e0. Expected to read decimal with scale 18 and precision 18: While processing '1e0' AS x, toDecimal64(x, 18). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d7407e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6e4c8 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef847f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aab3eac in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa9ded8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa71d12 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa70782 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa6f082 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:05.224507 [ 6121 ] {9989af14-74d3-42af-8a25-ea0103ec8008} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e0. Expected to read decimal with scale 18 and precision 18: While processing '-1e-0' AS x, toDecimal64(x, 18). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '-1e-0' AS x, toDecimal64(x, 18);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d7407e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6e4c8 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef847f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aab3eac in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa9ded8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa71d12 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa70782 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa6f082 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:05.236680 [ 6121 ] {9989af14-74d3-42af-8a25-ea0103ec8008} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e0. Expected to read decimal with scale 18 and precision 18: While processing '-1e-0' AS x, toDecimal64(x, 18). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d7407e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6e4c8 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef847f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000aab3eac in /usr/bin/clickhouse 6. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aa9ded8 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aa71d12 in /usr/bin/clickhouse 8. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa70782 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa6f082 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:05.519172 [ 6121 ] {eead77c3-fa60-46b2-826f-4ec0e08ac1f1} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: 1e0. Expected to read decimal with scale 38 and precision 38: While processing '1e-0' AS x, toDecimal128(x, 38). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '1e-0' AS x, toDecimal128(x, 38);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, wide::integer<128ul, int>&, int&, unsigned int&, unsigned int&) @ 0x0000000036d74e55 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:170: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000036d6fa90 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:0: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036efb4a0 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ab01a91 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aaeac58 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aabdcf2 in /usr/bin/clickhouse 8. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabc762 in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabb062 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:05.526412 [ 6121 ] {eead77c3-fa60-46b2-826f-4ec0e08ac1f1} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: 1e0. Expected to read decimal with scale 38 and precision 38: While processing '1e-0' AS x, toDecimal128(x, 38). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, wide::integer<128ul, int>&, int&, unsigned int&, unsigned int&) @ 0x0000000036d74e55 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:170: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000036d6fa90 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:0: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036efb4a0 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ab01a91 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aaeac58 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aabdcf2 in /usr/bin/clickhouse 8. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabc762 in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabb062 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:05.599778 [ 4272 ] {3fac5d5a-1686-40a0-bb7d-9dea267ef786} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery20: While processing 1 = ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery20). (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60970) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4ea34 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5a94a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dfc3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d01f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a6eed7e 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) const @ 0x000000003a6de8f4 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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 2026.10.27 19:22:05.612580 [ 4272 ] {3fac5d5a-1686-40a0-bb7d-9dea267ef786} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery20: While processing 1 = ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery20). (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4ea34 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5a94a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dfc3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d01f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a6eed7e 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) const @ 0x000000003a6de8f4 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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 2026.10.27 19:22:05.768628 [ 6121 ] {cc6e7d76-9732-437c-a455-b55078a9ec2e} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e0. Expected to read decimal with scale 38 and precision 38: While processing '-1e0' AS x, toDecimal128(x, 38). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT '-1e0' AS x, toDecimal128(x, 38);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, wide::integer<128ul, int>&, int&, unsigned int&, unsigned int&) @ 0x0000000036d74e55 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:170: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000036d6fa90 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:0: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036efb4a0 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ab01a91 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aaeac58 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aabdcf2 in /usr/bin/clickhouse 8. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabc762 in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabb062 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:05.779796 [ 6121 ] {cc6e7d76-9732-437c-a455-b55078a9ec2e} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e0. Expected to read decimal with scale 38 and precision 38: While processing '-1e0' AS x, toDecimal128(x, 38). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, wide::integer<128ul, int>&, int&, unsigned int&, unsigned int&) @ 0x0000000036d74e55 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:170: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000036d6fa90 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:0: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036efb4a0 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ab01a91 in /usr/bin/clickhouse 6. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000aaeac58 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000aabdcf2 in /usr/bin/clickhouse 8. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabc762 in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aabb062 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:05.838807 [ 5705 ] {5ee70fad-04ec-4a15-982d-8388aa65ea6e} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 134.54 MiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60864) (comment: 00169_contingency.sql) (in query: WITH URLDomain AS a, URLDomain AS b SELECT round(cramersV(a, b), 2), round(cramersVBiasCorrected(a, b), 2), round(theilsU(a, b), 2), round(theilsU(b, a), 2), round(contingency(a, b), 2) FROM test.hits;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:05.944677 [ 4272 ] {dd787fe5-c1c9-430e-b530-9b8946b6e789} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60970) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:05.955292 [ 4272 ] {dd787fe5-c1c9-430e-b530-9b8946b6e789} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:06.928007 [ 5705 ] {5ee70fad-04ec-4a15-982d-8388aa65ea6e} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 134.54 MiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:07.503811 [ 4272 ] {ab878757-8e78-4654-a83d-f1f795b1f9a7} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 15.00 million, current rows: 17.75 million: While executing MergeTreeThread. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60970) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:07.547683 [ 4272 ] {ab878757-8e78-4654-a83d-f1f795b1f9a7} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 15.00 million, current rows: 17.75 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:07.615323 [ 4272 ] {864b7b0c-923d-48ce-b678-e8359d2aa911} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery23: While processing CounterID > ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery23). (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60970) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4ea34 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5a94a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dfc3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a6eed7e 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) const @ 0x000000003a6de8f4 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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 2026.10.27 19:22:07.616868 [ 4272 ] {864b7b0c-923d-48ce-b678-e8359d2aa911} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery23: While processing CounterID > ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery23). (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4ea34 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5a94a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dfc3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a6eed7e 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) const @ 0x000000003a6de8f4 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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 2026.10.27 19:22:08.327707 [ 4272 ] {97df41cd-0846-4e0f-9fc7-5aedf818aa20} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 10.00 million, current rows: 13.11 million: While executing MergeTreeThread. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60970) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:08.530131 [ 4272 ] {97df41cd-0846-4e0f-9fc7-5aedf818aa20} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 10.00 million, current rows: 13.11 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:12.673869 [ 6121 ] {49268cb6-8508-427f-874d-c91887db576e} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 9 digits were read: 123456789e0. Expected to read decimal with scale 1 and precision 9: While processing CAST('123456789', 'Decimal(9,1)'). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT CAST('123456789', 'Decimal(9,1)');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d732be in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6d203 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef567f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::CastName, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000a54b335 in /usr/bin/clickhouse 6. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)::operator()>>>(DB::DataTypeDecimal> const&) const @ 0x000000000a50d242 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)&&) @ 0x000000000a4fd3ca in /usr/bin/clickhouse 8. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a4fcc59 in /usr/bin/clickhouse 9. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a4fca04 in /usr/bin/clickhouse 10. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 11. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:12.675298 [ 6121 ] {49268cb6-8508-427f-874d-c91887db576e} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 9 digits were read: 123456789e0. Expected to read decimal with scale 1 and precision 9: While processing CAST('123456789', 'Decimal(9,1)'). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d732be in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6d203 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef567f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::CastName, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000a54b335 in /usr/bin/clickhouse 6. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)::operator()>>>(DB::DataTypeDecimal> const&) const @ 0x000000000a50d242 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)&&) @ 0x000000000a4fd3ca in /usr/bin/clickhouse 8. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a4fcc59 in /usr/bin/clickhouse 9. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a4fca04 in /usr/bin/clickhouse 10. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 11. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:13.547567 [ 6121 ] {b85998d9-d758-4c7e-9175-d57e1ed6b2c8} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 18 digits were read: 123456789123456789e0. Expected to read decimal with scale 1 and precision 18: While processing CAST('123456789123456789', 'Decimal(18,1)'). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT CAST('123456789123456789', 'Decimal(18,1)');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d7407e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6e4c8 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef847f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::CastName, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000a5a10bb in /usr/bin/clickhouse 6. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)::operator()>>>(DB::DataTypeDecimal> const&) const @ 0x000000000a55f5a2 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)&&) @ 0x000000000a54f72a in /usr/bin/clickhouse 8. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a54efb9 in /usr/bin/clickhouse 9. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a54ed64 in /usr/bin/clickhouse 10. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 11. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:13.549313 [ 6121 ] {b85998d9-d758-4c7e-9175-d57e1ed6b2c8} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 18 digits were read: 123456789123456789e0. Expected to read decimal with scale 1 and precision 18: While processing CAST('123456789123456789', 'Decimal(18,1)'). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x0000000036d7407e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000036d6e4c8 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036ef847f in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>, DB::CastName, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000a5a10bb in /usr/bin/clickhouse 6. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)::operator()>>>(DB::DataTypeDecimal> const&) const @ 0x000000000a55f5a2 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)&&) @ 0x000000000a54f72a in /usr/bin/clickhouse 8. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a54efb9 in /usr/bin/clickhouse 9. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a54ed64 in /usr/bin/clickhouse 10. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 11. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:14.442687 [ 6121 ] {b7c5715c-a0a3-4e6b-b87a-aa69cebe5c97} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 38 digits were read: 12345678901234567890123456789012345678e0. Expected to read decimal with scale 1 and precision 38: While processing CAST('12345678901234567890123456789012345678', 'Decimal(38,1)'). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50032) (comment: 00700_decimal_casts.sql) (in query: SELECT CAST('12345678901234567890123456789012345678', 'Decimal(38,1)');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, wide::integer<128ul, int>&, int&, unsigned int&, unsigned int&) @ 0x0000000036d74e55 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:170: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000036d6fa90 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:0: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036efb4a0 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::CastName, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000a5f4c75 in /usr/bin/clickhouse 6. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal>> const&)::operator()>>>>(DB::DataTypeDecimal>> const&) const @ 0x000000000a5b5302 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal>> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal>> const&)&&) @ 0x000000000a5a548a in /usr/bin/clickhouse 8. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a5a4d19 in /usr/bin/clickhouse 9. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a5a4ac4 in /usr/bin/clickhouse 10. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 11. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:14.448848 [ 6121 ] {b7c5715c-a0a3-4e6b-b87a-aa69cebe5c97} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 38 digits were read: 12345678901234567890123456789012345678e0. Expected to read decimal with scale 1 and precision 38: While processing CAST('12345678901234567890123456789012345678', 'Decimal(38,1)'). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, wide::integer<128ul, int>&, int&, unsigned int&, unsigned int&) @ 0x0000000036d74e55 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:170: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000036d6fa90 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:0: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000036efb4a0 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::CastName, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000a5f4c75 in /usr/bin/clickhouse 6. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal>> const&)::operator()>>>>(DB::DataTypeDecimal>> const&) const @ 0x000000000a5b5302 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType>>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal>> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal>> const&)&&) @ 0x000000000a5a548a in /usr/bin/clickhouse 8. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a5a4d19 in /usr/bin/clickhouse 9. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a5a4ac4 in /usr/bin/clickhouse 10. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 11. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 31. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 2026.10.27 19:22:19.014888 [ 1848 ] {d598064f-5f14-440b-b4c8-394ee6795185} executeQuery: Code: 60. DB::Exception: Table test.hits_dst does not exist. Maybe you meant hits_s3?. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51016) (comment: 00061_storage_buffer.sql) (in query: DROP TABLE test.hits_dst;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000945c47e in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000371e7313 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ab8ee2 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037acc0ca in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000003962cf21 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000003962ae47 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039629240 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:19.034108 [ 1848 ] {d598064f-5f14-440b-b4c8-394ee6795185} TCPHandler: Code: 60. DB::Exception: Table test.hits_dst does not exist. Maybe you meant hits_s3?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000945c47e in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000371e7313 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ab8ee2 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037acc0ca in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000003962cf21 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000003962ae47 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039629240 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:39.507156 [ 9286 ] {88e3a315-44aa-4a58-bf7b-c16adb550f35} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 3.41 MiB (attempt to allocate chunk of 1056831 bytes), maximum: 9.31 GiB: Cache info: Buffer path: common/hyj/fsfulqfyzwdyvproxwonuwgovfoid, hash key: 8945550f5ae39838d521bb9783d6d7eb, file_offset_of_buffer_end: 948762, read_until_position: 1028368, internal buffer end: 1048576, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 88e3a315-44aa-4a58-bf7b-c16adb550f35:6173, file segment info: File segment: [0, 1775154], key: 8945550f5ae39838d521bb9783d6d7eb, state: DOWNLOADING, downloaded size: 0, reserved size: 948762, downloader id: 88e3a315-44aa-4a58-bf7b-c16adb550f35:6173, current write offset: 0, caller id: 88e3a315-44aa-4a58-bf7b-c16adb550f35:6173, kind: Regular, unbound: 0: (while reading column UserID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_5_5_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 26 with max_rows_to_read = 632): While executing MergeTreeInOrder. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44668) (comment: 00024_random_counters.sql) (in query: SELECT uniq(UserID), sum(Sign) FROM test.visits WHERE CounterID = 11685143;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 10. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 16. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/tuple:533: DB::AsynchronousBoundedReadBuffer::nextImpl() @ 0x00000000357757b0 in /usr/bin/clickhouse 19. ./build_docker/./src/IO/ReadBuffer.h:72: DB::CompressedReadBufferBase::readCompressedDataBlockForAsynchronous(unsigned long&, unsigned long&) @ 0x000000003688ed26 in /usr/bin/clickhouse 20. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:110: DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000036893acb in /usr/bin/clickhouse 21. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000036894c8d in /usr/bin/clickhouse 22. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:160: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f83cd3 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::continueReadingChain(DB::MergeTreeRangeReader::ReadResult const&, unsigned long&) @ 0x000000003d50c8f3 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:979: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506ad7 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 2026.10.27 19:22:39.540538 [ 9286 ] {88e3a315-44aa-4a58-bf7b-c16adb550f35} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 3.41 MiB (attempt to allocate chunk of 1056831 bytes), maximum: 9.31 GiB: Cache info: Buffer path: common/hyj/fsfulqfyzwdyvproxwonuwgovfoid, hash key: 8945550f5ae39838d521bb9783d6d7eb, file_offset_of_buffer_end: 948762, read_until_position: 1028368, internal buffer end: 1048576, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 88e3a315-44aa-4a58-bf7b-c16adb550f35:6173, file segment info: File segment: [0, 1775154], key: 8945550f5ae39838d521bb9783d6d7eb, state: DOWNLOADING, downloaded size: 0, reserved size: 948762, downloader id: 88e3a315-44aa-4a58-bf7b-c16adb550f35:6173, current write offset: 0, caller id: 88e3a315-44aa-4a58-bf7b-c16adb550f35:6173, kind: Regular, unbound: 0: (while reading column UserID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_5_5_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 26 with max_rows_to_read = 632): While executing MergeTreeInOrder. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 10. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:629: DB::CachedOnDiskReadBufferFromFile::predownload(DB::FileSegment&) @ 0x000000003579844b in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a12d6 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 16. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/tuple:533: DB::AsynchronousBoundedReadBuffer::nextImpl() @ 0x00000000357757b0 in /usr/bin/clickhouse 19. ./build_docker/./src/IO/ReadBuffer.h:72: DB::CompressedReadBufferBase::readCompressedDataBlockForAsynchronous(unsigned long&, unsigned long&) @ 0x000000003688ed26 in /usr/bin/clickhouse 20. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:110: DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000036893acb in /usr/bin/clickhouse 21. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000036894c8d in /usr/bin/clickhouse 22. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:160: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f83cd3 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::continueReadingChain(DB::MergeTreeRangeReader::ReadResult const&, unsigned long&) @ 0x000000003d50c8f3 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:979: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506ad7 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 2026.10.27 19:22:43.956828 [ 1850 ] {1f708e40-d99a-4a0a-af6f-7b58a6796e43} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 100.00 thousand, current rows: 112.27 thousand: While executing Numbers. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53766) (comment: 01231_log_queries_min_type.sql) (in query: select '01231_log_queries_min_type/EXCEPTION_WHILE_PROCESSING', max(number) from system.numbers limit 1e6;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:43.974594 [ 1850 ] {1f708e40-d99a-4a0a-af6f-7b58a6796e43} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 100.00 thousand, current rows: 112.27 thousand: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:44.032506 [ 9250 ] {1d16dd50-dd7f-4afe-8def-e4d8aaa265f5} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 59.00 MiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34508) (comment: 00083_array_filter.sql) (in query: SELECT sum(length(ParsedParams.Key1)) FROM test.hits WHERE notEmpty(ParsedParams.Key1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:44.408378 [ 9250 ] {1d16dd50-dd7f-4afe-8def-e4d8aaa265f5} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 59.00 MiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:45.218225 [ 9255 ] {48c34764-0659-4940-8ef2-84134b8147b6} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 4.06 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40070) (comment: 01453_fixsed_string_sort.sql) (in query: INSERT INTO badFixedStringSort values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:289: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d651ad1 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 2026.10.27 19:22:45.242161 [ 9255 ] {48c34764-0659-4940-8ef2-84134b8147b6} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 4.06 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:289: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d651ad1 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 2026.10.27 19:22:47.419194 [ 9250 ] {02b85f85-4f6e-4acd-9128-0fe086477956} DatabaseReplicated (test_11): It's not recommended to explicitly specify zookeeper_path and replica_name in ReplicatedMergeTree arguments 2026.10.27 19:22:48.382850 [ 9255 ] {adf81c87-9489-4865-8309-ac57923f7fd5} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 19.36 MiB (attempt to allocate chunk of 1777734 bytes), maximum: 9.31 GiB: (while reading column UserID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_8_16_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58964) (comment: 00031_array_enumerate_uniq.sql) (in query: SELECT UserID, arrayEnumerateUniq(groupArray(SearchPhrase)) AS arr FROM ( SELECT UserID, SearchPhrase FROM test.hits WHERE CounterID = 1704509 AND UserID IN ( SELECT UserID FROM test.hits WHERE notEmpty(SearchPhrase) AND CounterID = 1704509 GROUP BY UserID HAVING count() > 1 ) ORDER BY UserID, WatchID ) WHERE notEmpty(SearchPhrase) GROUP BY UserID HAVING length(arr) > 1 ORDER BY UserID LIMIT 20 ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 9. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:100: std::unique_ptr> std::__function::__policy_invoker> ()>::__call_impl> ()>>(std::__function::__policy_storage const*) @ 0x000000003d48fd39 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::CachedCompressedReadBuffer::initInput() @ 0x000000003d478f26 in /usr/bin/clickhouse 16. ./build_docker/./src/Compression/CachedCompressedReadBuffer.h:65: non-virtual thunk to DB::CachedCompressedReadBuffer::setReadUntilPosition(unsigned long) @ 0x000000003d47fb23 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:0: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48efd3 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c526 in /usr/bin/clickhouse 21. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::continueReadingChain(DB::MergeTreeRangeReader::ReadResult const&, unsigned long&) @ 0x000000003d50c8f3 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:979: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506ad7 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 2026.10.27 19:22:48.383257 [ 9250 ] {02b85f85-4f6e-4acd-9128-0fe086477956} executeQuery: Code: 80. DB::Exception: Explicit zookeeper_path and replica_name are specified in ReplicatedMergeTree arguments. If you really want to specify it explicitly, then you should use some macros to distinguish different shards and replicas. (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58982) (comment: 01753_system_zookeeper_query_param_path_long.sh) (in query: CREATE TABLE test_01753 (`n` Int8) ENGINE = ReplicatedMergeTree('/01753_system_zookeeper_query_param_path_long_test_11/test_01753/test', '1') ORDER BY n SETTINGS index_granularity = 365, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 2336, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 24708230, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 98021, primary_key_compress_block_size = 15017), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [211]) @ 0x000000003717b697 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::checkQueryValid(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003713502f in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseReplicated.cpp:698: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000003713623c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c23a3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:48.854481 [ 9250 ] {02b85f85-4f6e-4acd-9128-0fe086477956} TCPHandler: Code: 80. DB::Exception: Explicit zookeeper_path and replica_name are specified in ReplicatedMergeTree arguments. If you really want to specify it explicitly, then you should use some macros to distinguish different shards and replicas. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [211]) @ 0x000000003717b697 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::checkQueryValid(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003713502f in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseReplicated.cpp:698: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000003713623c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c23a3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:48.854526 [ 9255 ] {adf81c87-9489-4865-8309-ac57923f7fd5} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 19.36 MiB (attempt to allocate chunk of 1777734 bytes), maximum: 9.31 GiB: (while reading column UserID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_8_16_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 9. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:100: std::unique_ptr> std::__function::__policy_invoker> ()>::__call_impl> ()>>(std::__function::__policy_storage const*) @ 0x000000003d48fd39 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::CachedCompressedReadBuffer::initInput() @ 0x000000003d478f26 in /usr/bin/clickhouse 16. ./build_docker/./src/Compression/CachedCompressedReadBuffer.h:65: non-virtual thunk to DB::CachedCompressedReadBuffer::setReadUntilPosition(unsigned long) @ 0x000000003d47fb23 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:0: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48efd3 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c526 in /usr/bin/clickhouse 21. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::continueReadingChain(DB::MergeTreeRangeReader::ReadResult const&, unsigned long&) @ 0x000000003d50c8f3 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:979: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506ad7 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 2026.10.27 19:22:48.854755 [ 4272 ] {f38d7d58-db85-4003-8718-d14a48d9df12} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 289.52 MiB (attempt to allocate chunk of 1245184 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36540) (comment: 00061_storage_buffer.sql) (in query: INSERT INTO test.hits_buffer SELECT * FROM test.hits WHERE CounterID = 800784;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:165: DB::ColumnString::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x000000003b1a624d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/SquashingTransform.cpp:0: void DB::SquashingTransform::append(DB::Block&&) @ 0x000000003d6ed9ac in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/SquashingTransform.cpp:69: DB::Block DB::SquashingTransform::addImpl(DB::Block&&) @ 0x000000003d6ebcd6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/SquashingTransform.cpp:19: DB::SquashingTransform::add(DB::Block&&) @ 0x000000003d6eb0ce in /usr/bin/clickhouse 11. ./build_docker/./src/Core/Block.h:25: DB::SquashingChunksTransform::onConsume(DB::Chunk) @ 0x000000003ed183e1 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/SquashingChunksTransform.cpp:45: DB::SquashingChunksTransform::work() @ 0x000000003ed197ba in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1de0ed in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:50.810919 [ 1848 ] {a3c419ee-1542-4eea-a735-119537b82ca9} executeQuery: Code: 60. DB::Exception: Table test_11.test_01753 does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59006) (comment: 01753_system_zookeeper_query_param_path_long.sh) (in query: DROP TABLE test_01753 SYNC), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000371e70bc in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ab8ee2 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037acc0ca in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000003962cf21 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000003962ae47 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039629240 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:50.817003 [ 1848 ] {a3c419ee-1542-4eea-a735-119537b82ca9} TCPHandler: Code: 60. DB::Exception: Table test_11.test_01753 does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000371e70bc in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ab8ee2 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037acc0ca in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000003962cf21 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000003962ae47 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x0000000039629240 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:51.954473 [ 4272 ] {f38d7d58-db85-4003-8718-d14a48d9df12} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 289.52 MiB (attempt to allocate chunk of 1245184 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:165: DB::ColumnString::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x000000003b1a624d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/SquashingTransform.cpp:0: void DB::SquashingTransform::append(DB::Block&&) @ 0x000000003d6ed9ac in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/SquashingTransform.cpp:69: DB::Block DB::SquashingTransform::addImpl(DB::Block&&) @ 0x000000003d6ebcd6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/SquashingTransform.cpp:19: DB::SquashingTransform::add(DB::Block&&) @ 0x000000003d6eb0ce in /usr/bin/clickhouse 11. ./build_docker/./src/Core/Block.h:25: DB::SquashingChunksTransform::onConsume(DB::Chunk) @ 0x000000003ed183e1 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/SquashingChunksTransform.cpp:45: DB::SquashingChunksTransform::work() @ 0x000000003ed197ba in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1de0ed in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:54.710776 [ 1848 ] {58778d8c-2879-41d4-bafe-ba8bf240f6df} executeQuery: Code: 50. DB::Exception: Unknown BSON type: 0x00: While executing BSONEachRowRowInputFormat. (UNKNOWN_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59028) (comment: 02684_bson.sql) (in query: -- It correctly throws exception about incorrect data: SELECT * FROM format('BSONEachRow', 'WatchID Int64, JavaEnable Int16, Title String, GoodEvent Int16, EventTime DateTime, EventDate Date, CounterID Int32, ClientIP Int32, RegionID Int32, UserID Int64, CounterClass Int16, OS Int16, UserAgent Int16, URL String, Referer String, IsRefresh Int16, RefererCategoryID Int16, RefererRegionID Int32, URLCategoryID Int16, URLRegionID Int32, ResolutionWidth Int16, ResolutionHeight Int16, ResolutionDepth Int16, FlashMajor Int16, FlashMinor Int16, FlashMinor2 String, NetMajor Int16, NetMinor Int16, UserAgentMajor Int16, UserAgentMinor String, CookieEnable Int16, JavascriptEnable Int16, IsMobile Int16, MobilePhone Int16, MobilePhoneModel String, Params String, IPNetworkID Int32, TraficSourceID Int16, SearchEngineID Int16, SearchPhrase String, AdvEngineID Int16, IsArtifical Int16, WindowClientWidth Int16, WindowClientHeight Int16, ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 Int16, SilverlightVersion2 Int16, SilverlightVersion3 Int32, SilverlightVersion4 Int16, PageCharset String, CodeVersion Int32, IsLink Int16, IsDownload Int16, IsNotBounce Int16, FUniqID Int64, OriginalURL String, HID Int32, IsOldCounter Int16, IsEvent Int16, IsParameter Int16, DontCountHits Int16, WithHash Int16, HitColor String, LocalEventTime DateTime, Age Int16, Sex Int16, Income Int16, Interests Int16, Robotness Int16, RemoteIP Int32, WindowName Int32, OpenerName Int32, HistoryLength Int16, BrowserLanguage String, BrowserCountry String, SocialNetwork String, SocialAction String, HTTPError Int16, SendTiming Int32, DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32, FetchTiming Int32, SocialSourceNetworkID Int16, SocialSourcePage String, ParamPrice Int64, ParamOrderID String, ParamCurrency String, ParamCurrencyID Int16, OpenstatServiceName String, OpenstatCampaignID String, OpenstatAdID String, OpenstatSourceID String, UTMSource String, UTMMedium String, UTMCampaign String, UTMContent String, UTMTerm String, FromTag String, HasGCLID Int16, RefererHash Int64, URLHash Int64, CLID Int32', $$^WatchIDc*5/ !p~JavaEnableTitleGoodEventEventTime7��QEventDate>CounterIDClientIP��z�RegionIDGUserID� ��:6��CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID��9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZone����ClientEventTime��SilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime&��QAgeSexIncomeInterestsRobotnessRemoteIP^DI�WindowName����OpenerName����HistoryLength����BrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHash�|3��b.�CLID^WatchID��F�ӓ2qJavaEnableTitleGoodEventEventTimen$�QEventDate>CounterIDClientIP��z�RegionIDGUserID� ��:6��CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthmingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHashv�v����CLID�WatchID���\JavaEnableTitleGoodEventEventTime� �QEventDate>CounterIDClientIP�gURegionID�UserID�s�yy��fCounterClassOS,UserAgentURL1http://tours/Ekategoriya%2F&sr=http://slovareniyeRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionID�ResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajor UserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID��TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZone����ClientEventTime��SilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeY��QAgeSexIncomeInterestsRobotnessRemoteIP�=kWindowName����OpenerName����HistoryLength����BrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHashh��9�DCLID^WatchID�/E��J�{JavaEnableTitleGoodEventEventTime�1�QEventDate>CounterIDClientIP��z�RegionIDGUserID� ��:6��CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID��9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZone����ClientEventTime��SilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime���QAgeSexIncomeInterestsRobotnessRemoteIP^DI�WindowName����OpenerName����HistoryLength����BrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHash�|3��b.�CLID$$);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/BSONTypes.cpp:23: DB::getBSONType(unsigned char) @ 0x000000003e40c8a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e3fc6cb in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3aa92c in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 13. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x0000000034aebab9 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/ColumnsDescription.h:101: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034aed584 in /usr/bin/clickhouse 15. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000352fa831 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x0000000037894bfd in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e50466 in /usr/bin/clickhouse 18. ./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) @ 0x0000000039b09f73 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 22. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 2026.10.27 19:22:54.725726 [ 1848 ] {58778d8c-2879-41d4-bafe-ba8bf240f6df} TCPHandler: Code: 50. DB::Exception: Unknown BSON type: 0x00: While executing BSONEachRowRowInputFormat. (UNKNOWN_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/BSONTypes.cpp:23: DB::getBSONType(unsigned char) @ 0x000000003e40c8a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e3fc6cb in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3aa92c in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 13. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x0000000034aebab9 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/ColumnsDescription.h:101: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034aed584 in /usr/bin/clickhouse 15. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000352fa831 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x0000000037894bfd in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e50466 in /usr/bin/clickhouse 18. ./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) @ 0x0000000039b09f73 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 22. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 2026.10.27 19:22:56.448593 [ 2671 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:57176). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:22:56.556153 [ 9266 ] {3dcbfa8d-b8e7-4dff-a512-b59df58100f3} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:47482). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:47482) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:56.599562 [ 9266 ] {3dcbfa8d-b8e7-4dff-a512-b59df58100f3} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:47482). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:22:56.599836 [ 9266 ] {3dcbfa8d-b8e7-4dff-a512-b59df58100f3} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.1]:9000 -> [::ffff:127.0.0.1]:47482). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000210855a2 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendEndOfStream() @ 0x000000003e0ad08b in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e469 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:56.606341 [ 9266 ] {3dcbfa8d-b8e7-4dff-a512-b59df58100f3} TCPHandler: Client has gone away. 2026.10.27 19:22:57.499807 [ 3020 ] {fb7617dd-ab3a-4f35-92f1-18a77b97f9bd} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:58510). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:58510) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b0eea in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a9945 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:57.499841 [ 1848 ] {4bc715c4-c881-4cea-85f3-677a7ce50da3} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:54314). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54314) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b0eea in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a9945 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:58.445384 [ 4309 ] {45860da8-381a-434a-9106-88062be2cfb0} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:60542). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60542) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM remote('127.{1..10}', system.one) FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000003e0b1e72 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:919: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a8c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:58.445467 [ 1848 ] {4bc715c4-c881-4cea-85f3-677a7ce50da3} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:54314). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:22:58.445484 [ 3020 ] {fb7617dd-ab3a-4f35-92f1-18a77b97f9bd} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:58510). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:22:58.446002 [ 1848 ] {4bc715c4-c881-4cea-85f3-677a7ce50da3} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:54314). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b0eea in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a9945 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:58.446050 [ 3020 ] {fb7617dd-ab3a-4f35-92f1-18a77b97f9bd} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.4]:9000 -> [::ffff:127.0.0.1]:58510). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000003e0b0eea in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:37: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a9945 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:58.454150 [ 3020 ] {fb7617dd-ab3a-4f35-92f1-18a77b97f9bd} TCPHandler: Client has gone away. 2026.10.27 19:22:58.465646 [ 1848 ] {4bc715c4-c881-4cea-85f3-677a7ce50da3} TCPHandler: Client has gone away. 2026.10.27 19:22:58.503347 [ 4278 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:58520). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:22:58.527330 [ 9255 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:54326). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:22:58.541805 [ 9286 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:36328). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:22:58.585057 [ 9250 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:47686). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:22:58.621765 [ 4309 ] {45860da8-381a-434a-9106-88062be2cfb0} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:60542). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:22:58.622190 [ 4309 ] {45860da8-381a-434a-9106-88062be2cfb0} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:60542). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000003e0b1e72 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:919: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a8c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:22:58.684654 [ 4309 ] {45860da8-381a-434a-9106-88062be2cfb0} TCPHandler: Client has gone away. 2026.10.27 19:23:03.219654 [ 3817 ] {10f23b56-1b8e-4ffe-91e1-ec8cd11b8df6} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 55.19 MiB (attempt to allocate chunk of 1163432 bytes), maximum: 9.31 GiB: (while reading column URL): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_8_16_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 111 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60566) (comment: 00139_like.sql) (in query: /* Note that queries are written as the user doesn't really understand that the symbol _ has special meaning in LIKE pattern. */ SELECT count() FROM test.hits WHERE URL LIKE '%/avtomobili_s_probegom/_%__%__%__%';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b72 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:04.067459 [ 3817 ] {10f23b56-1b8e-4ffe-91e1-ec8cd11b8df6} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 55.19 MiB (attempt to allocate chunk of 1163432 bytes), maximum: 9.31 GiB: (while reading column URL): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_8_16_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 111 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b72 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:07.958926 [ 1850 ] {31698611-cf21-4d53-a24e-40e51c190984} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 100.00 thousand, current rows: 112.27 thousand: While executing Numbers. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53766) (comment: 01231_log_queries_min_type.sql) (in query: select '01231_log_queries_min_type w/ Settings/EXCEPTION_WHILE_PROCESSING', max(number) from system.numbers limit 1e6;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:07.965457 [ 1850 ] {31698611-cf21-4d53-a24e-40e51c190984} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 100.00 thousand, current rows: 112.27 thousand: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:10.019747 [ 3817 ] {c3a05320-6430-4921-93f8-239cab8d721d} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38416) (comment: 02707_skip_index_with_in.sql) (in query: EXPLAIN SELECT count() FROM t_skip_index_in WHERE c IN (SELECT throwIf(1)) SETTINGS use_skip_indexes = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d115203 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eb883db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1dd07d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/PreparedSets.cpp:0: DB::FutureSetFromSubquery::buildOrderedSetInplace(std::shared_ptr const&) @ 0x0000000039f6556a in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexConditionBloomFilter.cpp:316: DB::MergeTreeIndexConditionBloomFilter::traverseFunction(DB::RPNBuilderTreeNode const&, DB::MergeTreeIndexConditionBloomFilter::RPNElement&, DB::RPNBuilderTreeNode const*) @ 0x000000003d2df0d6 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexConditionBloomFilter.cpp:287: DB::MergeTreeIndexConditionBloomFilter::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::MergeTreeIndexConditionBloomFilter::RPNElement&) @ 0x000000003d2dec2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, DB::Block const&, unsigned long)::$_1, bool (DB::RPNBuilderTreeNode const&, DB::MergeTreeIndexConditionBloomFilter::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::MergeTreeIndexConditionBloomFilter::RPNElement&) @ 0x000000003d2ed7ff in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x000000003d310bbe in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/RPNBuilder.h:0: DB::RPNBuilder::RPNBuilder(std::shared_ptr const&, std::shared_ptr, DB::Block, std::shared_ptr, std::function const&) @ 0x000000003d2ee487 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::MergeTreeIndexConditionBloomFilter::MergeTreeIndexConditionBloomFilter(DB::SelectQueryInfo const&, std::shared_ptr, DB::Block const&, unsigned long) @ 0x000000003d2daa62 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::SelectQueryInfo const&, std::shared_ptr&, DB::Block const&, unsigned long const&, void>(std::allocator const&, DB::SelectQueryInfo const&, std::shared_ptr&, DB::Block const&, unsigned long const&) @ 0x000000003d2c6b11 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::MergeTreeIndexBloomFilter::createIndexCondition(DB::SelectQueryInfo const&, std::shared_ptr) const @ 0x000000003d2c1b79 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1335: DB::buildIndexes(std::optional&, std::shared_ptr, DB::MergeTreeData const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) @ 0x000000003f1bd715 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ReadFromMergeTree::applyFilters() @ 0x000000003f1b9a8b in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:208: DB::QueryPlanOptimizations::optimizeTreeThirdPass(DB::QueryPlan&, DB::QueryPlan::Node&, std::list>&) @ 0x000000003f303c70 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:486: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000003f152e95 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:458: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000396469ed in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000003963d9a4 in /usr/bin/clickhouse 2026.10.27 19:23:10.027770 [ 3817 ] {c3a05320-6430-4921-93f8-239cab8d721d} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d115203 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eb883db in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000003e1dd07d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/PreparedSets.cpp:0: DB::FutureSetFromSubquery::buildOrderedSetInplace(std::shared_ptr const&) @ 0x0000000039f6556a in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexConditionBloomFilter.cpp:316: DB::MergeTreeIndexConditionBloomFilter::traverseFunction(DB::RPNBuilderTreeNode const&, DB::MergeTreeIndexConditionBloomFilter::RPNElement&, DB::RPNBuilderTreeNode const*) @ 0x000000003d2df0d6 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexConditionBloomFilter.cpp:287: DB::MergeTreeIndexConditionBloomFilter::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::MergeTreeIndexConditionBloomFilter::RPNElement&) @ 0x000000003d2dec2c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, DB::Block const&, unsigned long)::$_1, bool (DB::RPNBuilderTreeNode const&, DB::MergeTreeIndexConditionBloomFilter::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::MergeTreeIndexConditionBloomFilter::RPNElement&) @ 0x000000003d2ed7ff in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x000000003d310bbe in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/RPNBuilder.h:0: DB::RPNBuilder::RPNBuilder(std::shared_ptr const&, std::shared_ptr, DB::Block, std::shared_ptr, std::function const&) @ 0x000000003d2ee487 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::MergeTreeIndexConditionBloomFilter::MergeTreeIndexConditionBloomFilter(DB::SelectQueryInfo const&, std::shared_ptr, DB::Block const&, unsigned long) @ 0x000000003d2daa62 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::SelectQueryInfo const&, std::shared_ptr&, DB::Block const&, unsigned long const&, void>(std::allocator const&, DB::SelectQueryInfo const&, std::shared_ptr&, DB::Block const&, unsigned long const&) @ 0x000000003d2c6b11 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::MergeTreeIndexBloomFilter::createIndexCondition(DB::SelectQueryInfo const&, std::shared_ptr) const @ 0x000000003d2c1b79 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1335: DB::buildIndexes(std::optional&, std::shared_ptr, DB::MergeTreeData const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) @ 0x000000003f1bd715 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ReadFromMergeTree::applyFilters() @ 0x000000003f1b9a8b in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:208: DB::QueryPlanOptimizations::optimizeTreeThirdPass(DB::QueryPlan&, DB::QueryPlan::Node&, std::list>&) @ 0x000000003f303c70 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:486: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000003f152e95 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:458: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000396469ed in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000003963d9a4 in /usr/bin/clickhouse 2026.10.27 19:23:11.315842 [ 5705 ] {11c707dc-dcc0-453d-bb34-22e77fdbfd8b} executeQuery: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59002) (comment: 00173_group_by_use_nulls.sql) (in query: -- { echoOn } set allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:11.330597 [ 5705 ] {11c707dc-dcc0-453d-bb34-22e77fdbfd8b} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:14.869320 [ 3020 ] {72f0c3ec-7d6e-4cad-849b-dc5747604b45} executeQuery: Code: 10. DB::Exception: Not found column CounterID in block. There are only columns: k, quantileBFloat16(0.5)(ResolutionWidth): While executing Remote. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60602) (comment: 00164_quantileBfloat16.sql) (in query: SELECT CounterID AS k, quantileBFloat16(0.5)(ResolutionWidth) FROM remote('127.0.0.{1,2}', test.hits) GROUP BY k ORDER BY count() DESC, CounterID LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfb3eb5 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/Block.cpp:315: DB::Block::getByName(String const&, bool) const @ 0x0000000036279def in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:215: DB::adaptBlockStructure(DB::Block const&, DB::Block const&) @ 0x0000000036a76486 in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:112: DB::RemoteQueryExecutor::processPacket(DB::Packet) @ 0x0000000036a6ed7c in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:390: DB::RemoteQueryExecutor::readAsync() @ 0x0000000036a73627 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:123: DB::RemoteSource::tryGenerate() @ 0x000000003ee22072 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:14.908427 [ 3020 ] {72f0c3ec-7d6e-4cad-849b-dc5747604b45} TCPHandler: Code: 10. DB::Exception: Not found column CounterID in block. There are only columns: k, quantileBFloat16(0.5)(ResolutionWidth): While executing Remote. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfb3eb5 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/Block.cpp:315: DB::Block::getByName(String const&, bool) const @ 0x0000000036279def in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:215: DB::adaptBlockStructure(DB::Block const&, DB::Block const&) @ 0x0000000036a76486 in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:112: DB::RemoteQueryExecutor::processPacket(DB::Packet) @ 0x0000000036a6ed7c in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:390: DB::RemoteQueryExecutor::readAsync() @ 0x0000000036a73627 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:123: DB::RemoteSource::tryGenerate() @ 0x000000003ee22072 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:20.924535 [ 4488 ] {1d465aa0-1a70-49bf-9632-d5a772e62cab} executeQuery: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33508) (comment: 00081_group_by_without_key_and_totals.sql) (in query: SET allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:20.934903 [ 4488 ] {1d465aa0-1a70-49bf-9632-d5a772e62cab} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:21.516861 [ 2292 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::PartLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 5188161 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:23:22.872153 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.53 GiB (attempt to allocate chunk of 4207035 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:269: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d650d45 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a471453 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:23:22.872326 [ 9306 ] {34298635-8057-405b-984c-92c6ed833665} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1536256 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing SourceFromNativeStream. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60928) (comment: 00084_external_aggregation.sql) (in query: SELECT URL, uniq(SearchPhrase) AS u FROM test.hits GROUP BY URL ORDER BY u DESC, URL LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:0: DB::CompressedReadBufferBase::readCompressedData(unsigned long&, unsigned long&, bool) @ 0x000000003688be8d in /usr/bin/clickhouse 10. ./build_docker/./src/Compression/CompressedReadBuffer.cpp:12: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x000000003688a7ac in /usr/bin/clickhouse 11. DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x0000000009e3ef0c in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:0: void DB::deserializeBinarySSE2<1>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x0000000036ffe71d in /usr/bin/clickhouse 13. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:0: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b44 in /usr/bin/clickhouse 14. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000003e149fb4 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::NativeReader::read() @ 0x000000003e14e5f5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/TemporaryDataOnDisk.cpp:229: DB::TemporaryFileStream::read() @ 0x000000003a642158 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::(anonymous namespace)::SourceFromNativeStream::generate() @ 0x000000003eb07da5 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:23.063768 [ 2242 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} WriteBufferFromS3: WriteBufferFromS3 was neither finished nor aborted, try to abort upload in destructor. Details: bucket test, key common/sos/nswaekchjyphuthuntfyhkkmzlsmh, total size 83886080, count 83886080, hidden_size 0, offset 0, with pool: true, prefinalized false, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LmM3YzIwMzI1LTZiNDctNDNmYS1hNGI5LTYzOTZmNjZmZjE4NXgxNzkzMTI1Mzg5NjMwMzY3NzI2, upload has finished false. 2026.10.27 19:23:23.064576 [ 2242 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} WriteBufferFromS3: Abort multipart upload. Details: bucket test, key common/sos/nswaekchjyphuthuntfyhkkmzlsmh, total size 83886080, count 83886080, hidden_size 0, offset 0, with pool: true, prefinalized false, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LmM3YzIwMzI1LTZiNDctNDNmYS1hNGI5LTYzOTZmNjZmZjE4NXgxNzkzMTI1Mzg5NjMwMzY3NzI2, upload has finished false 2026.10.27 19:23:23.073517 [ 2242 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} WriteBufferFromS3: Multipart upload has aborted successfully. Details: bucket test, key common/sos/nswaekchjyphuthuntfyhkkmzlsmh, total size 83886080, count 83886080, hidden_size 0, offset 0, with pool: true, prefinalized false, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LmM3YzIwMzI1LTZiNDctNDNmYS1hNGI5LTYzOTZmNjZmZjE4NXgxNzkzMTI1Mzg5NjMwMzY3NzI2, upload has finished false 2026.10.27 19:23:24.726142 [ 2242 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 2031616 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (avg_value_size_hint = 186.50619709794438, avg_chars_size = 214.20743651753324, limit = 6616): (while reading column Referer): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_7_7_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 22 with max_rows_to_read = 6616): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff78e6 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:612: DB::MergeTask::VerticalMergeStage::executeVerticalMergeForOneColumn() const @ 0x000000003cdc2b1f in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:842: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde698 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::VerticalMergeStage::execute() @ 0x000000003cdcadee in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 30. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:23:26.254068 [ 9255 ] {e36dbe4b-18e6-40a4-b793-2176b38a0c65} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 204.97 MiB (attempt to allocate chunk of 3080192 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38480) (comment: 00164_quantileBfloat16.sql) (in query: SELECT CounterID AS k, quantileBFloat16(0.5)(ResolutionWidth) FROM remote('127.0.0.{1,2}', test.hits) GROUP BY k ORDER BY count() DESC, CounterID LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c7cfb0f in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x00000000381cdc10 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x00000000380a3c89 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:3209: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x0000000037e34cbe in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x000000003ec097e4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 18. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:26.254778 [ 2240 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {1b472cab-7f44-4e61-9d4f-069834646e86::202610_1_51_11}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.52 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:310: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d65271e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePart(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d649640 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::MergeTask::MergeProjectionsStage::finalizeProjectionsAndWholeMerge() const @ 0x000000003cdcaadc in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cddedbf in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::MergeProjectionsStage::execute() @ 0x000000003cdcaeae in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:23:27.305541 [ 6141 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:35804). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:23:28.843417 [ 9306 ] {34298635-8057-405b-984c-92c6ed833665} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1536256 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing SourceFromNativeStream. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:0: DB::CompressedReadBufferBase::readCompressedData(unsigned long&, unsigned long&, bool) @ 0x000000003688be8d in /usr/bin/clickhouse 10. ./build_docker/./src/Compression/CompressedReadBuffer.cpp:12: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x000000003688a7ac in /usr/bin/clickhouse 11. DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x0000000009e3ef0c in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:0: void DB::deserializeBinarySSE2<1>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x0000000036ffe71d in /usr/bin/clickhouse 13. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:0: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b44 in /usr/bin/clickhouse 14. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000003e149fb4 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::NativeReader::read() @ 0x000000003e14e5f5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/TemporaryDataOnDisk.cpp:229: DB::TemporaryFileStream::read() @ 0x000000003a642158 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::(anonymous namespace)::SourceFromNativeStream::generate() @ 0x000000003eb07da5 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:30.648773 [ 9255 ] {e36dbe4b-18e6-40a4-b793-2176b38a0c65} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 204.97 MiB (attempt to allocate chunk of 3080192 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c7cfb0f in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x00000000381cdc10 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x00000000380a3c89 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:3209: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x0000000037e34cbe in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x000000003ec097e4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 18. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:38.965106 [ 5708 ] {84d1bb9f-9049-4eb5-8049-414cedfb876a} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 8.00 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 9.31 GiB: (while reading column WatchID): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46638) (comment: 00158_cache_dictionary_has.sql) (in query: SELECT sum(flag) FROM (SELECT dictHas('db_dict.cache_hits', toUInt64(WatchID)) as flag FROM test.hits PREWHERE WatchID % 1400 == 0 LIMIT 100);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:45: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770de9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 18. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/deque:1902: DB::MergeTreeReaderWide::prefetchBeginOfRange(Priority) @ 0x000000003d492334 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreePrefetchedReadPool.cpp:0: std::__packaged_task_func>> (DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)> DB::threadPoolCallbackRunner>, DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::operator()(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::'lambda'(), std::allocator>> (DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)> DB::threadPoolCallbackRunner>, DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::operator()(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::'lambda'()>, std::unique_ptr> ()>::operator()() @ 0x000000003f2415f1 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task> ()>::operator()() @ 0x000000003f24ff32 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>> (DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)> DB::threadPoolCallbackRunner>, DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::operator()(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003f241c4e in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:41.082221 [ 5708 ] {84d1bb9f-9049-4eb5-8049-414cedfb876a} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 8.00 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 9.31 GiB: (while reading column WatchID): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:45: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770de9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 18. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/deque:1902: DB::MergeTreeReaderWide::prefetchBeginOfRange(Priority) @ 0x000000003d492334 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreePrefetchedReadPool.cpp:0: std::__packaged_task_func>> (DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)> DB::threadPoolCallbackRunner>, DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::operator()(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::'lambda'(), std::allocator>> (DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)> DB::threadPoolCallbackRunner>, DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::operator()(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::'lambda'()>, std::unique_ptr> ()>::operator()() @ 0x000000003f2415f1 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task> ()>::operator()() @ 0x000000003f24ff32 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>> (DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)> DB::threadPoolCallbackRunner>, DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::operator()(DB::MergeTreePrefetchedReadPool::createPrefetchedReader(DB::IMergeTreeDataPart const&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::MarkRanges const&, Priority) const::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003f241c4e in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:48.346170 [ 9259 ] {3d7bcdf9-77d2-47c5-809c-2bef0210c745} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 134.99 MiB (attempt to allocate chunk of 1432149 bytes), maximum: 9.31 GiB: (while reading column MobilePhoneModel): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 336 with max_rows_to_read = 40960): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:41230) (comment: 00159_parallel_formatting_http.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a,MobilePhoneModel as b,ClientIP6 as c FROM test.hits ORDER BY a,b,c LIMIT 1000000 Format TSV ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b72 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:50.144891 [ 9259 ] {3d7bcdf9-77d2-47c5-809c-2bef0210c745} DynamicQueryHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 134.99 MiB (attempt to allocate chunk of 1432149 bytes), maximum: 9.31 GiB: (while reading column MobilePhoneModel): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 336 with max_rows_to_read = 40960): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b72 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:23:51.202178 [ 5705 ] {c7955d96-0146-4f3c-89d3-e2e3446e037d} executeQuery: Code: 36. DB::Exception: Column `path` should not be empty. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46224) (comment: 02311_system_zookeeper_insert.sql) (in query: -- test exceptions insert into system.zookeeper (name, value) values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000a74c8f7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/System/StorageSystemZooKeeper.cpp:0: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x00000000352177e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:51.212546 [ 5705 ] {c7955d96-0146-4f3c-89d3-e2e3446e037d} TCPHandler: Code: 36. DB::Exception: Column `path` should not be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000a74c8f7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/System/StorageSystemZooKeeper.cpp:0: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x00000000352177e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:52.209988 [ 5705 ] {17d0c7b1-6cb2-4a0e-b7ec-1713b2b2fcdc} executeQuery: Code: 36. DB::Exception: Column `name` should not be empty. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46224) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (path, value) values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000a74c8f7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/System/StorageSystemZooKeeper.cpp:0: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000003521785b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:52.212593 [ 5705 ] {17d0c7b1-6cb2-4a0e-b7ec-1713b2b2fcdc} TCPHandler: Code: 36. DB::Exception: Column `name` should not be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000a74c8f7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/System/StorageSystemZooKeeper.cpp:0: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000003521785b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:52.678622 [ 4399 ] {698fb973-9a01-41f7-86e5-2bd1b5a90891} OptimizeRegularExpression: Analyze RegularExpression failed, got error: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7fc25a4e0000, frame address: 0x7fc25a8dff90, stack size: 4194416, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:23:52.755568 [ 5705 ] {a4bd977a-5424-46f4-ba8c-c8eebba9409d} executeQuery: Code: 44. DB::Exception: Cannot insert column version, because it is MATERIALIZED column. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46224) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, version) values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x0000000039a92572 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x0000000039a9045c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:397: DB::InterpreterInsertQuery::execute() @ 0x0000000039a99005 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:52.784424 [ 5705 ] {a4bd977a-5424-46f4-ba8c-c8eebba9409d} TCPHandler: Code: 44. DB::Exception: Cannot insert column version, because it is MATERIALIZED column. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x0000000039a92572 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x0000000039a9045c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:397: DB::InterpreterInsertQuery::execute() @ 0x0000000039a99005 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:53.671636 [ 5705 ] {170df405-726c-446e-9cb7-079f92e00ee6} executeQuery: Code: 16. DB::Exception: No such column versionxyz in table system.zookeeper (362530e1-8ccd-421f-a5da-a6bf7c2f423e). (NO_SUCH_COLUMN_IN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46224) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, versionxyz) values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfb3eb5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:177: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x0000000039a923fd in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x0000000039a9045c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:397: DB::InterpreterInsertQuery::execute() @ 0x0000000039a99005 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:53.680385 [ 5705 ] {170df405-726c-446e-9cb7-079f92e00ee6} TCPHandler: Code: 16. DB::Exception: No such column versionxyz in table system.zookeeper (362530e1-8ccd-421f-a5da-a6bf7c2f423e). (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfb3eb5 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:177: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x0000000039a923fd in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x0000000039a9045c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:397: DB::InterpreterInsertQuery::execute() @ 0x0000000039a99005 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:54.503139 [ 5705 ] {c048ce73-7057-4aa9-961d-651d6a0cf529} executeQuery: Code: 36. DB::Exception: Column `name` should not contain '/'. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46224) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, path, value) values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c9e7437 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/System/StorageSystemZooKeeper.cpp:0: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x00000000352176ea in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:56.114192 [ 6792 ] {b90dfa19-7b6b-4c78-a33d-c185902c5220} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 577.24 MiB (attempt to allocate chunk of 1048704 bytes), maximum: 9.31 GiB: (while reading column MobilePhoneModel): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 24 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:41244) (comment: 00159_parallel_formatting_http.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a,MobilePhoneModel as b,ClientIP6 as c FROM test.hits ORDER BY a,b,c LIMIT 1000000 Format TSV ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b72 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:56.117841 [ 5705 ] {c048ce73-7057-4aa9-961d-651d6a0cf529} TCPHandler: Code: 36. DB::Exception: Column `name` should not contain '/'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c9e7437 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/System/StorageSystemZooKeeper.cpp:0: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x00000000352176ea in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:56.282884 [ 4399 ] {698fb973-9a01-41f7-86e5-2bd1b5a90891} executeQuery: Code: 427. DB::Exception: OptimizedRegularExpression: cannot compile re2: ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((, error: missing ): ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((. Look at https://github.com/google/re2/wiki/Syntax for reference. Please note that if you specify regex as an SQL string literal, the slashes have to be additionally escaped. For example, to match an opening brace, write '\(' -- the first slash is for SQL and the second one is for regex: While processing match('', repeat('(', 100000)). (CANNOT_COMPILE_REGEXP) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46240) (comment: 02831_regexp_analyze_recursion.sql) (in query: SELECT match('', repeat('(', 100000));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a9cffd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: OptimizedRegularExpressionImpl::OptimizedRegularExpressionImpl(String const&, int) @ 0x000000002088ae59 in /usr/bin/clickhouse 4. std::shared_ptr> DB::Regexps::LocalCacheTable::getOrSet(String const&) @ 0x00000000171b2444 in /usr/bin/clickhouse 5. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000171a79b3 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 27. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 31. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 2026.10.27 19:23:58.017157 [ 5705 ] {cffbce09-135f-45c7-99a9-a168d4b76dd4} executeQuery: Code: 36. DB::Exception: Column `name` should not contain '/'. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46224) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, path, value) values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c9e7437 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/System/StorageSystemZooKeeper.cpp:0: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x00000000352176ea in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:58.018276 [ 9259 ] {939dcf8d-2eb4-4c29-85f7-1ee2dc331f98} executeQuery: Code: 69. DB::Exception: The argument 'resolution' (24) of function geoToH3 is out of bounds because the maximum resolution in H3 library is 15: While processing geoToH3(37.63098076, 55.77922738, 24). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46268) (comment: 00926_geo_to_h3.sql) (in query: select geoToH3(37.63098076, 55.77922738, 24);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, int&&) @ 0x0000000010f460fa in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionGeoToH3::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010f437a6 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 25. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 29. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 2026.10.27 19:23:58.019501 [ 5705 ] {cffbce09-135f-45c7-99a9-a168d4b76dd4} TCPHandler: Code: 36. DB::Exception: Column `name` should not contain '/'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c9e7437 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/System/StorageSystemZooKeeper.cpp:0: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x00000000352176ea in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:58.020675 [ 9259 ] {939dcf8d-2eb4-4c29-85f7-1ee2dc331f98} TCPHandler: Code: 69. DB::Exception: The argument 'resolution' (24) of function geoToH3 is out of bounds because the maximum resolution in H3 library is 15: While processing geoToH3(37.63098076, 55.77922738, 24). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, int&&) @ 0x0000000010f460fa in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionGeoToH3::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010f437a6 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 25. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 29. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 2026.10.27 19:23:58.037240 [ 4399 ] {698fb973-9a01-41f7-86e5-2bd1b5a90891} TCPHandler: Code: 427. DB::Exception: OptimizedRegularExpression: cannot compile re2: ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((, error: missing ): ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((. Look at https://github.com/google/re2/wiki/Syntax for reference. Please note that if you specify regex as an SQL string literal, the slashes have to be additionally escaped. For example, to match an opening brace, write '\(' -- the first slash is for SQL and the second one is for regex: While processing match('', repeat('(', 100000)). (CANNOT_COMPILE_REGEXP), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a9cffd5 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: OptimizedRegularExpressionImpl::OptimizedRegularExpressionImpl(String const&, int) @ 0x000000002088ae59 in /usr/bin/clickhouse 4. std::shared_ptr> DB::Regexps::LocalCacheTable::getOrSet(String const&) @ 0x00000000171b2444 in /usr/bin/clickhouse 5. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000171a79b3 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 27. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 31. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 2026.10.27 19:23:58.057612 [ 5705 ] {1c7ab932-f20f-47e0-9d71-0da5a318dcc7} executeQuery: Code: 36. DB::Exception: Column `name` should not be empty. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46224) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, path, value) values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000a74c8f7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/System/StorageSystemZooKeeper.cpp:0: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000003521785b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:58.059564 [ 5705 ] {1c7ab932-f20f-47e0-9d71-0da5a318dcc7} TCPHandler: Code: 36. DB::Exception: Column `name` should not be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000a74c8f7 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/System/StorageSystemZooKeeper.cpp:0: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000003521785b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:59.375770 [ 5705 ] {a4679d19-c3ef-4faf-b780-ac2291123d54} executeQuery: Code: 36. DB::Exception: Sum of `name` length and `path` length should not exceed PATH_MAX. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46224) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, path, value) values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [66]) @ 0x000000000e970157 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/System/StorageSystemZooKeeper.cpp:0: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x0000000035217765 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:23:59.375842 [ 6792 ] {b90dfa19-7b6b-4c78-a33d-c185902c5220} DynamicQueryHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 577.24 MiB (attempt to allocate chunk of 1048704 bytes), maximum: 9.31 GiB: (while reading column MobilePhoneModel): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 24 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b72 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:23:59.385101 [ 5705 ] {a4679d19-c3ef-4faf-b780-ac2291123d54} TCPHandler: Code: 36. DB::Exception: Sum of `name` length and `path` length should not exceed PATH_MAX. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [66]) @ 0x000000000e970157 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/System/StorageSystemZooKeeper.cpp:0: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x0000000035217765 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:24:07.576558 [ 1850 ] {3d95ea05-5087-4799-91ce-9040ebc88c62} executeQuery: Code: 456. DB::Exception: Substitution `s` is not set. (UNKNOWN_QUERY_PARAMETER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58578) (comment: 00954_client_prepared_statements.sh) (in query: SELECT {s:String}), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:70: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000003a92c1fa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000003a927d3b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:0: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000003a92f2bf in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000003a927f46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:0: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000003a92f2bf in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000003a927f46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:0: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000003a92f2bf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000003a927f46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:0: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000003a92f2bf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000003a927f46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.h:23: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a97e190 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:24:07.600782 [ 1850 ] {3d95ea05-5087-4799-91ce-9040ebc88c62} TCPHandler: Code: 456. DB::Exception: Substitution `s` is not set. (UNKNOWN_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:70: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000003a92c1fa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000003a927d3b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:0: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000003a92f2bf in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000003a927f46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:0: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000003a92f2bf in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000003a927f46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:0: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000003a92f2bf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000003a927f46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:0: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000003a92f2bf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000003a927f46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.h:23: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a97e190 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:24:11.941993 [ 9259 ] {48284743-1d08-4228-ac4f-d83c45498be9} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1343488 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergeSortingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:38616) (comment: 00159_parallel_formatting_http.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a,MobilePhoneModel as b,ClientIP6 as c FROM test.hits ORDER BY a,b,c LIMIT 1000000 Format CSV ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:165: DB::ColumnString::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x000000003b1a624d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:113: DB::Chunk DB::MergeSorter::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003ed11981 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003ec34cf3 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergeSorter::read() @ 0x000000003ec1cfa8 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergeSortingTransform.cpp:236: DB::MergeSortingTransform::generate() @ 0x000000003ebf1521 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:354: DB::SortingTransform::work() @ 0x000000003ec2d564 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:24:11.942137 [ 4374 ] {588563e0-d288-466b-8c0f-df548720df1c} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57272) (comment: 02473_multistep_split_prewhere.sh) (in query: OPTIMIZE TABLE tab_02473 FINAL SETTINGS mutations_sync=2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:87: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13f899 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 2026.10.27 19:24:11.959801 [ 4374 ] {588563e0-d288-466b-8c0f-df548720df1c} DynamicQueryHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:87: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13f899 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:24:20.212597 [ 9250 ] {} DNSResolver: Cannot resolve host (non.existing.host.name), error 0: Host not found. 2026.10.27 19:24:20.223855 [ 9250 ] {} AddressPatterns: Failed to check if the allowed client hosts contain address 2001:3984:3989::242:ac11:2. DB::Exception: Not found address of host: non.existing.host.name, code = 198 2026.10.27 19:24:21.259806 [ 9278 ] {24338424-ddfe-4754-aee0-cb6432f9e7bd} executeQuery: Code: 497. DB::Exception: u_02015_denied: Not enough privileges. To execute this query, it's necessary to have the grant INSERT(id, s) ON test_3.async_inserts. (ACCESS_DENIED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:38156) (comment: 02015_async_inserts_4.sh) (in query: INSERT INTO async_inserts FORMAT JSONEachRow ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>, std::vector>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&, std::vector> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000035b68756 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:560: bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>, std::vector>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&, std::vector> const&) const @ 0x0000000035b66167 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:703: DB::ContextAccess::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>, std::vector> const&) const @ 0x0000000035ae8c52 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1200: void DB::Context::checkAccessImpl>>(DB::AccessFlags const&, String const&, String const&, std::vector> const&) const @ 0x00000000378f60b4 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Context::checkAccess(DB::AccessFlags const&, DB::StorageID const&, std::vector> const&) const @ 0x00000000378854e3 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::AsynchronousInsertQueue::push(std::shared_ptr, std::shared_ptr) @ 0x00000000377bcf05 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:950: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a985215 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df68bed in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df75e8e in /usr/bin/clickhouse 13. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f3061 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:24:21.259855 [ 9259 ] {48284743-1d08-4228-ac4f-d83c45498be9} DynamicQueryHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1343488 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergeSortingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:165: DB::ColumnString::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x000000003b1a624d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:113: DB::Chunk DB::MergeSorter::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003ed11981 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003ec34cf3 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergeSorter::read() @ 0x000000003ec1cfa8 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergeSortingTransform.cpp:236: DB::MergeSortingTransform::generate() @ 0x000000003ebf1521 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:354: DB::SortingTransform::work() @ 0x000000003ec2d564 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:24:21.261651 [ 9306 ] {f315c629-d71d-4583-ac87-2dddc59c7bac} executeQuery: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41916) (comment: 00081_group_by_without_key_and_totals.sql) (in query: SET allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:24:21.267320 [ 9306 ] {f315c629-d71d-4583-ac87-2dddc59c7bac} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:24:21.270621 [ 9278 ] {24338424-ddfe-4754-aee0-cb6432f9e7bd} DynamicQueryHandler: Code: 497. DB::Exception: u_02015_denied: Not enough privileges. To execute this query, it's necessary to have the grant INSERT(id, s) ON test_3.async_inserts. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>, std::vector>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&, std::vector> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000035b68756 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:560: bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>, std::vector>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&, std::vector> const&) const @ 0x0000000035b66167 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:703: DB::ContextAccess::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>, std::vector> const&) const @ 0x0000000035ae8c52 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1200: void DB::Context::checkAccessImpl>>(DB::AccessFlags const&, String const&, String const&, std::vector> const&) const @ 0x00000000378f60b4 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Context::checkAccess(DB::AccessFlags const&, DB::StorageID const&, std::vector> const&) const @ 0x00000000378854e3 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::AsynchronousInsertQueue::push(std::shared_ptr, std::shared_ptr) @ 0x00000000377bcf05 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:950: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a985215 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df68bed in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df75e8e in /usr/bin/clickhouse 13. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f3061 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:24:23.068546 [ 4278 ] {a4d24983-537a-42c9-af8f-302248a918a5} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 433.17 MiB (attempt to allocate chunk of 1078080 bytes), maximum: 9.31 GiB: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 272 with max_rows_to_read = 20040): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58662) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:24:27.008258 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.39 GiB (attempt to allocate chunk of 4229565 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:24:27.008479 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 4194418 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:0: DB::PODArray, 63ul, 64ul>::PODArray(signed char const*, signed char const*) @ 0x00000000208a346a in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: COWHelper>::clone() const @ 0x000000003b408d66 in /usr/bin/clickhouse 9. DB::IColumn::mutate(COW::immutable_ptr) @ 0x000000000a9ad52a in /usr/bin/clickhouse 10. DB::IColumn::mutate(COW::immutable_ptr)::'lambda'(COW::chameleon_ptr&)::operator()(COW::chameleon_ptr&) const @ 0x000000000a9ad9fe in /usr/bin/clickhouse 11. void std::__function::__policy_invoker::chameleon_ptr&)>::__call_impl::immutable_ptr)::'lambda'(COW::chameleon_ptr&), void (COW::chameleon_ptr&)>>(std::__function::__policy_storage const*, COW::chameleon_ptr&) @ 0x000000000a9ad8e9 in /usr/bin/clickhouse 12. ./build_docker/./src/Columns/ColumnNullable.h:137: DB::ColumnNullable::forEachSubcolumn(std::function::chameleon_ptr&)>) @ 0x000000003b13eb77 in /usr/bin/clickhouse 13. DB::IColumn::mutate(COW::immutable_ptr) @ 0x000000000a9ad6a3 in /usr/bin/clickhouse 14. ./build_docker/./src/Core/Block.cpp:0: DB::Block::mutateColumns() @ 0x000000003627dffd in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:169: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d1043eb in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a483e53 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a481142 in /usr/bin/clickhouse 30. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2fca7 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c2fb7f in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:24:27.008626 [ 4287 ] {4c660ef4-7302-4a91-815d-5d8f6e5ff1ed} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.52 GiB (attempt to allocate chunk of 1065056 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: (while reading column MobilePhoneModel): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 96 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:38178) (comment: 00159_parallel_formatting_http.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a,MobilePhoneModel as b,ClientIP6 as c FROM test.hits ORDER BY a,b,c LIMIT 1000000 Format CSV ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b72 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:24:27.008506 [ 2289 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::MetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 4198589 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:24:27.008587 [ 4278 ] {a4d24983-537a-42c9-af8f-302248a918a5} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 433.17 MiB (attempt to allocate chunk of 1078080 bytes), maximum: 9.31 GiB: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 272 with max_rows_to_read = 20040): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:24:27.008775 [ 2241 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_52_84_6}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.61 GiB (attempt to allocate chunk of 1065216 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (while reading from part /var/lib/clickhouse/disks/s3/store/29b/29baccac-732e-4d30-9f86-41a1af37e650/202610_52_78_5/ in table system.text_log (29baccac-732e-4d30-9f86-41a1af37e650) located on disk s3 of type s3, from mark 4 with max_rows_to_read = 8437): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:176: void DB::deserializeBinarySSE2<1>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x0000000036ffe5e3 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:0: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b44 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeReaderCompact::readData(DB::NameAndTypePair const&, COW::immutable_ptr&, unsigned long, unsigned long, unsigned long, unsigned long, std::optional>) @ 0x000000003d45c381 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d45a13b in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:24:27.108827 [ 2247 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 2031616 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (avg_value_size_hint = 194.7460341215205, avg_chars_size = 224.0952409458246, limit = 6682): (while reading column Referer): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_1_1_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 21 with max_rows_to_read = 6682): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff78e6 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:612: DB::MergeTask::VerticalMergeStage::executeVerticalMergeForOneColumn() const @ 0x000000003cdc2b1f in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:842: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde698 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::VerticalMergeStage::execute() @ 0x000000003cdcadee in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 30. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:24:27.239199 [ 2231 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_1_64_11}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.52 GiB (attempt to allocate chunk of 1209247 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:87: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13f899 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:24:28.642751 [ 4278 ] {50830632-9f22-4162-a0e7-430a7497b4ab} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 24.00 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 9.31 GiB: (while reading column ClientIP6): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_8_16_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 68 with max_rows_to_read = 20040): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39594) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:45: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770de9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 18. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:0: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d493acf in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 2026.10.27 19:24:28.642762 [ 4287 ] {4c660ef4-7302-4a91-815d-5d8f6e5ff1ed} DynamicQueryHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.52 GiB (attempt to allocate chunk of 1065056 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: (while reading column MobilePhoneModel): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 96 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b72 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:24:28.793880 [ 4278 ] {50830632-9f22-4162-a0e7-430a7497b4ab} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 24.00 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 9.31 GiB: (while reading column ClientIP6): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_8_16_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 68 with max_rows_to_read = 20040): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:45: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770de9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:322: void std::__function::__policy_invoker::__call_impl const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d498ec2 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 18. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeReaderWide::prefetchForColumn(Priority, DB::NameAndTypePair const&, std::shared_ptr const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d493423 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:111: DB::MergeTreeReaderWide::prefetchForAllColumns(Priority, unsigned long, unsigned long, unsigned long, bool) @ 0x000000003d492d00 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:0: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d493acf in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 2026.10.27 19:24:31.876936 [ 4278 ] {d6fd6517-b7c8-427b-8f9c-c261e59f4943} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 105.06 MiB (attempt to allocate chunk of 1063487 bytes), maximum: 9.31 GiB: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 136 with max_rows_to_read = 20040): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39602) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:0: DB::CompressedReadBufferBase::readCompressedData(unsigned long&, unsigned long&, bool) @ 0x000000003688be8d in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:122: DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000036893b18 in /usr/bin/clickhouse 9. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000036894c8d in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:160: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f81013 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:24:36.374443 [ 2132 ] {} DNSResolver: Cannot resolve host (non.existing.host.name), error 0: Host not found. 2026.10.27 19:24:37.108210 [ 4278 ] {d6fd6517-b7c8-427b-8f9c-c261e59f4943} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 105.06 MiB (attempt to allocate chunk of 1063487 bytes), maximum: 9.31 GiB: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 136 with max_rows_to_read = 20040): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:0: DB::CompressedReadBufferBase::readCompressedData(unsigned long&, unsigned long&, bool) @ 0x000000003688be8d in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:122: DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000036893b18 in /usr/bin/clickhouse 9. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000036894c8d in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:160: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f81013 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:24:37.107996 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.46 GiB (attempt to allocate chunk of 5094316 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:24:37.354464 [ 2264 ] {} test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b): Removing temporary directory /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/tmp_merge_201403_1_8_1/ 2026.10.27 19:24:37.354597 [ 2264 ] {} test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b): Since zero-copy replication is enabled we are not going to remove blobs from shared storage for /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/tmp_merge_201403_1_8_1/ 2026.10.27 19:24:38.979039 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.52 GiB (attempt to allocate chunk of 4198715 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:281: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d6516b7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a471453 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:24:38.979633 [ 4287 ] {ba2acd60-2c09-43bd-b4fc-dbfdd3f2d33a} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.55 GiB (attempt to allocate chunk of 1179648 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergeSortingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56858) (comment: 00159_parallel_formatting_http.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a,MobilePhoneModel as b,ClientIP6 as c FROM test.hits ORDER BY a,b,c LIMIT 1000000 Format JSONCompactEachRow ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x000000000a70408d in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:0: DB::ColumnString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b1c2e91 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:113: DB::Chunk DB::MergeSorter::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003ed117f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003ec34cf3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergeSorter::read() @ 0x000000003ec1cfa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/MergeSortingTransform.cpp:236: DB::MergeSortingTransform::generate() @ 0x000000003ebf1521 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:354: DB::SortingTransform::work() @ 0x000000003ec2d564 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:24:40.573363 [ 6141 ] {} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__algorithm/remove_if.h:32: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&, DB::SettingSource) const @ 0x0000000035dff22e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1904: DB::Context::checkSettingsConstraints(DB::SettingsChanges&, DB::SettingSource) const @ 0x000000003789d895 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:1704: DB::TCPHandler::receiveQuery() @ 0x000000003e0c5337 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000003e0a4ebe in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08c26e in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:24:40.573427 [ 9266 ] {9087a52f-cc02-4f92-83db-aff2b083beb8} executeQuery: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35886) (comment: 02493_analyzer_uniq_injective_functions_elimination.sql) (in query: SET allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:24:40.573814 [ 2233 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78f638d5-1538-4f74-a202-7a1eb8a2fda0::202610_1_65_13}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.55 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:24:40.573954 [ 2238 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.57 GiB (attempt to allocate chunk of 2062074 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (while reading column VisitID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_5_5_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 6656): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c526 in /usr/bin/clickhouse 21. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:24:40.578704 [ 9266 ] {9087a52f-cc02-4f92-83db-aff2b083beb8} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:24:40.940531 [ 2232 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_1_64_11}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.57 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/SerializationLowCardinality.cpp:0: DB::SerializationLowCardinality::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036f2c982 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::SerializationArray::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036ebd3a2 in /usr/bin/clickhouse 26. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 27. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:24:43.701076 [ 4287 ] {ba2acd60-2c09-43bd-b4fc-dbfdd3f2d33a} DynamicQueryHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.55 GiB (attempt to allocate chunk of 1179648 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergeSortingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x000000000a70408d in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:0: DB::ColumnString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b1c2e91 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:113: DB::Chunk DB::MergeSorter::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003ed117f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003ec34cf3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergeSorter::read() @ 0x000000003ec1cfa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/MergeSortingTransform.cpp:236: DB::MergeSortingTransform::generate() @ 0x000000003ebf1521 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:354: DB::SortingTransform::work() @ 0x000000003ec2d564 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:24:46.776404 [ 5708 ] {409361b3-39c5-48e4-8c15-d4c305b20a2d} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTimeBestEffort('', 3) AS a, toTypeName(a). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35900) (comment: 01442_date_time_with_params.sql) (in query: SELECT parseDateTimeBestEffort('', 3) AS a, toTypeName(a);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x00000000094b2b30 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:0: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x0000000020a1abd8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:0: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x0000000020a331ef in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ad4ee96 in /usr/bin/clickhouse 6. DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ad46cb3 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 28. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 2026.10.27 19:24:46.781979 [ 5708 ] {409361b3-39c5-48e4-8c15-d4c305b20a2d} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTimeBestEffort('', 3) AS a, toTypeName(a). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x00000000094b2b30 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:0: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x0000000020a1abd8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:0: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x0000000020a331ef in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ad4ee96 in /usr/bin/clickhouse 6. DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ad46cb3 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 28. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 2026.10.27 19:24:47.873519 [ 9266 ] {1e029af7-483e-4160-b283-a0b462cacaa6} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39082) (in query: select _path, _file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc1edc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba0e863 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b51878 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b36ae1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:24:47.881317 [ 9266 ] {1e029af7-483e-4160-b283-a0b462cacaa6} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc1edc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba0e863 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b51878 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b36ae1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:24:48.873708 [ 9245 ] {52c69a58-79ea-4ecc-9913-1c30ca6c45f5} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 525.76 MiB (attempt to allocate chunk of 1508460 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:40100) (comment: 00159_parallel_formatting_http.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a,MobilePhoneModel as b,ClientIP6 as c FROM test.hits ORDER BY a,b,c LIMIT 1000000 Format JSONCompactEachRow ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::(anonymous namespace)::getBlockSortPermutationImpl(DB::Block const&, DB::SortDescription const&, DB::IColumn::PermutationSortStability, unsigned long, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa25639 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa2460c in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:24:50.785266 [ 9245 ] {52c69a58-79ea-4ecc-9913-1c30ca6c45f5} DynamicQueryHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 525.76 MiB (attempt to allocate chunk of 1508460 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::(anonymous namespace)::getBlockSortPermutationImpl(DB::Block const&, DB::SortDescription const&, DB::IColumn::PermutationSortStability, unsigned long, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa25639 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa2460c in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:24:52.785918 [ 5708 ] {2af90926-124c-473e-8785-ad3f2301a30a} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTime32BestEffort('') AS a, toTypeName(a). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35900) (comment: 01442_date_time_with_params.sql) (in query: SELECT parseDateTime32BestEffort('') AS a, toTypeName(a);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x00000000094b2b30 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:0: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x0000000020a1abd8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:686: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x0000000020a12f6c in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ad838f2 in /usr/bin/clickhouse 6. DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ad80f5f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 28. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 2026.10.27 19:24:52.793055 [ 5708 ] {2af90926-124c-473e-8785-ad3f2301a30a} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTime32BestEffort('') AS a, toTypeName(a). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x00000000094b2b30 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:0: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x0000000020a1abd8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:686: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x0000000020a12f6c in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ad838f2 in /usr/bin/clickhouse 6. DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ad80f5f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 28. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 2026.10.27 19:24:57.997896 [ 6141 ] {4d40716a-99b5-48e5-a589-f64d11cd6731} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.39 GiB (attempt to allocate chunk of 1146880 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35892) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:165: DB::ColumnString::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x000000003b1a624d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:44: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003efbe24c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eed0553 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8e96 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 18. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:24:57.997949 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.40 GiB (attempt to allocate chunk of 4198715 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:281: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d6516b7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a471453 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:00.493867 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.38 GiB (attempt to allocate chunk of 5239036 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:00.497595 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.40 GiB (attempt to allocate chunk of 4202371 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:269: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d650d45 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3ef053 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:00.710750 [ 2266 ] {} test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b): Removing temporary directory /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/tmp_merge_201403_1_8_1/ 2026.10.27 19:25:00.710884 [ 2266 ] {} test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b): Since zero-copy replication is enabled we are not going to remove blobs from shared storage for /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/tmp_merge_201403_1_8_1/ 2026.10.27 19:25:04.109679 [ 2292 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::PartLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 4210814 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a401a53 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3fed42 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c27d07 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:04.109735 [ 2242 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_51_10}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.43 GiB (attempt to allocate chunk of 1837182 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePart(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d649640 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::MergeTask::MergeProjectionsStage::finalizeProjectionsAndWholeMerge() const @ 0x000000003cdcaadc in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cddedbf in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::MergeProjectionsStage::execute() @ 0x000000003cdcaeae in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:04.109871 [ 2234 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 16469093 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x00000000209e2844 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromS3::reallocateFirstBuffer() @ 0x00000000361edabc in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:126: DB::WriteBufferFromS3::nextImpl() @ 0x00000000361ec8a2 in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBuffer.h:60: DB::CachedOnDiskWriteBufferFromFile::nextImpl() @ 0x000000003584744a in /usr/bin/clickhouse 13. ./build_docker/./src/IO/WriteBuffer.h:60: DB::WriteBufferFromFileDecorator::nextImpl() @ 0x000000003584b666 in /usr/bin/clickhouse 14. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HashingWriteBuffer::nextImpl() @ 0x000000003cb90e85 in /usr/bin/clickhouse 15. DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000941dcac in /usr/bin/clickhouse 16. ./build_docker/./src/Compression/CompressedWriteBuffer.cpp:58: DB::CompressedWriteBuffer::nextImpl() @ 0x0000000036895c79 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HashingWriteBuffer::nextImpl() @ 0x000000003cb90e85 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/WriteBuffer.h:60: void std::__function::__policy_invoker::__call_impl, std::allocator>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d158779 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::getCurrentMarksForColumn(DB::NameAndTypePair const&, std::set, std::allocator>&) @ 0x000000003d14d4d0 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::writeColumn(DB::NameAndTypePair const&, DB::IColumn const&, std::set, std::allocator>&, std::vector> const&) @ 0x000000003d148dd2 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:251: DB::MergeTreeDataPartWriterWide::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d14255b in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::write(DB::Block const&) @ 0x000000003d648a09 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbbb02 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:04.233815 [ 6141 ] {4d40716a-99b5-48e5-a589-f64d11cd6731} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.39 GiB (attempt to allocate chunk of 1146880 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:165: DB::ColumnString::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x000000003b1a624d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:44: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003efbe24c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eed0553 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8e96 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 18. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:04.445948 [ 2238 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8df8736a-a319-4d55-b2ae-8f5ff840dbb7::all_1_6_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1278174 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderCompact.cpp:98: DB::MergeTreeReaderCompact::initialize() @ 0x000000003d452283 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderCompact.cpp:203: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d459361 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:06.172292 [ 2231 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8df8736a-a319-4d55-b2ae-8f5ff840dbb7::all_1_6_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.51 GiB (attempt to allocate chunk of 1278174 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderCompact.cpp:98: DB::MergeTreeReaderCompact::initialize() @ 0x000000003d452283 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderCompact.cpp:203: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d459361 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:06.261984 [ 2235 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1050750 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:72: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d12504a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 15. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:06.264780 [ 2289 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::MetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.51 GiB (attempt to allocate chunk of 4194307 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long const*, unsigned long const*) @ 0x000000002089f6cc in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: COWHelper>::clone() const @ 0x000000003b4083a6 in /usr/bin/clickhouse 9. DB::IColumn::mutate(COW::immutable_ptr) @ 0x000000000a9ad52a in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.cpp:0: DB::Block::mutateColumns() @ 0x000000003627dffd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:169: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d1043eb in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3dc813 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3d9902 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c259e7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c258bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:07.547935 [ 2238 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} TemporaryFileOnDisk: Temporary path 'tmp8a15be65-6935-4095-86db-c0ea2c2f3695' does not exist in '/var/lib/clickhouse/tmp/' 2026.10.27 19:25:08.346769 [ 4399 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.347089 [ 9140 ] {c02af433-b2bd-4ea7-bf9d-589738e93613} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 2883584 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: (while reading column URL): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 48 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60952) (comment: 00172_hits_joins.gen.sql) (in query: SELECT domain, hits, visits FROM ( SELECT domain(URL) AS domain, count() AS hits FROM test.hits GROUP BY domain ) ANY LEFT JOIN ( SELECT domain(StartURL) AS domain, sum(Sign) AS visits FROM test.visits GROUP BY domain ) USING domain ORDER BY hits DESC LIMIT 10 SETTINGS joined_subquery_requires_alias = 0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:176: void DB::deserializeBinarySSE2<4>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x0000000036ff9575 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:254: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7bec in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 27. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 31. ? @ 0x00007fc6eb378a83 in ? 2026.10.27 19:25:08.347249 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.51 GiB (attempt to allocate chunk of 5066920 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.347433 [ 9286 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.347446 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.51 GiB (attempt to allocate chunk of 4248802 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.347560 [ 2233 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_1_70_11}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1050750 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:72: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d12504a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 15. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.347504 [ 2244 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {de63dd19-7a9e-4999-8a86-22aee4e9402a::202610_1_68_14}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1092543 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.347515 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.51 GiB (attempt to allocate chunk of 5149505 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.347831 [ 9250 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.348256 [ 1850 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.348690 [ 9259 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.349087 [ 6792 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.349471 [ 9255 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.350049 [ 4278 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.350569 [ 9278 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.350859 [ 2236 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8df8736a-a319-4d55-b2ae-8f5ff840dbb7::all_1_6_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.350943 [ 9306 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.351472 [ 4488 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.351867 [ 4287 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.352419 [ 6141 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.352826 [ 5687 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.353160 [ 5708 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.353564 [ 5705 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.353998 [ 1848 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.354545 [ 12855 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.355022 [ 12858 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.355283 [ 2238 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.50 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::WriteBufferFromTemporaryFile::WriteBufferFromTemporaryFile(std::unique_ptr>&&) @ 0x0000000037253f84 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::TemporaryDataOnDisk::createRawStream(unsigned long) @ 0x000000003a63c2f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:296: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cda7825 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.355551 [ 12860 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.355917 [ 12863 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.356423 [ 12865 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.356989 [ 12868 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.357401 [ 12870 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.357856 [ 12872 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.358399 [ 12874 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.76 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.573000 [ 2237 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_52_10}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.50 GiB (attempt to allocate chunk of 1049663 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.773840 [ 2240 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} TemporaryFileOnDisk: Temporary path 'tmp08c306e0-737a-4005-8012-30a3fd92cb45' does not exist in '/var/lib/clickhouse/tmp/' 2026.10.27 19:25:08.782215 [ 2240 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.49 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::WriteBufferFromTemporaryFile::WriteBufferFromTemporaryFile(std::unique_ptr>&&) @ 0x0000000037253f84 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::TemporaryDataOnDisk::createRawStream(unsigned long) @ 0x000000003a63c2f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:296: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cda7825 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:08.835793 [ 2243 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {de63dd19-7a9e-4999-8a86-22aee4e9402a::202610_1_68_14}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.48 GiB (attempt to allocate chunk of 1092543 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:10.018086 [ 12874 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.47 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:10.087366 [ 2233 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8df8736a-a319-4d55-b2ae-8f5ff840dbb7::all_1_6_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.47 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderCompact.cpp:98: DB::MergeTreeReaderCompact::initialize() @ 0x000000003d452283 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderCompact.cpp:203: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d459361 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:10.100381 [ 2231 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {de63dd19-7a9e-4999-8a86-22aee4e9402a::202610_1_68_14}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.47 GiB (attempt to allocate chunk of 1114301 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 14. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 30. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:10.305017 [ 2238 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_1_70_11}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.47 GiB (attempt to allocate chunk of 1054909 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d125558 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:10.377152 [ 2239 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.46 GiB (attempt to allocate chunk of 1054909 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d125558 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:10.675454 [ 2243 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {de63dd19-7a9e-4999-8a86-22aee4e9402a::202610_1_68_14}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 1092543 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:10.863162 [ 9140 ] {c02af433-b2bd-4ea7-bf9d-589738e93613} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 2883584 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: (while reading column URL): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 48 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:176: void DB::deserializeBinarySSE2<4>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x0000000036ff9575 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:254: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7bec in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 27. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 31. ? @ 0x00007fc6eb378a83 in ? 2026.10.27 19:25:10.930683 [ 12874 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.39 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:10.992675 [ 2246 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} TemporaryFileOnDisk: Temporary path 'tmp6aa6219c-95de-4a8c-84da-26d4ba070479' does not exist in '/var/lib/clickhouse/tmp/' 2026.10.27 19:25:12.345922 [ 4305 ] {0cf8e1f6-a136-4662-a447-e4ab17f4d54a} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.40 GiB (attempt to allocate chunk of 1054909 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33638) (comment: 02723_zookeeper_name.sql) (in query: INSERT INTO t1 SELECT * FROM generateRandom('k UInt32, v UInt32') LIMIT 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:37: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d102291 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d93ef51 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 2026.10.27 19:25:12.346459 [ 12862 ] {abd92a8a-7a9f-4f52-a2f8-77fbd0558e65} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.40 GiB (attempt to allocate chunk of 2023297 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: (avg_value_size_hint = 168.8726806640625, avg_chars_size = 193.047216796875, limit = 8192): (while reading column message): (while reading from part /var/lib/clickhouse/disks/s3/store/29b/29baccac-732e-4d30-9f86-41a1af37e650/202610_52_89_6/ in table system.text_log (29baccac-732e-4d30-9f86-41a1af37e650) located on disk s3 of type s3, from mark 0 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59266) (comment: 01396_inactive_replica_cleanup_nodes_zookeeper.sh) (in query: SELECT sum(toUInt32(extract(message, 'Removed (\d+) old log entries'))) FROM system.text_log WHERE event_date >= yesterday() AND logger_name LIKE '%' || 'test_9' || '%r1%(ReplicatedMergeTreeCleanupThread)%' AND message LIKE '%Removed % old log entries%'), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff78e6 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:13.414300 [ 9290 ] {c8ec7f19-2835-4487-a657-938c930e8fbe} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.41 GiB (attempt to allocate chunk of 1338416 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46676) (comment: 00072_compare_date_and_string_index.sql) (in query: INSERT INTO test.hits_indexed_by_time SELECT EventDate, EventTime FROM test.hits SETTINGS max_block_size = 65000;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::PODArray, 4096ul, Allocator, 63ul, 64ul>::PODArray(unsigned long) @ 0x000000003b24587f in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnVector.cpp:0: auto DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const::'lambda'(auto, auto, auto)::operator()::less_stable>(auto, auto, auto) const @ 0x000000003b4b35c9 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/IColumnImpl.h:0: void DB::IColumn::updatePermutationImpl::less_stable, DB::ColumnVector::equals, DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const::'lambda'(auto, auto, auto), DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const::'lambda'(auto, auto, auto, auto)>(unsigned long, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&, auto, auto, auto, auto) const @ 0x000000003b28ef77 in /usr/bin/clickhouse 12. ./build_docker/./src/Columns/ColumnVector.cpp:0: DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const @ 0x000000003b28c7e3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/sortBlock.cpp:190: DB::(anonymous namespace)::getBlockSortPermutationImpl(DB::Block const&, DB::SortDescription const&, DB::IColumn::PermutationSortStability, unsigned long, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa25bbb in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/sortBlock.cpp:306: DB::stableGetPermutation(DB::Block const&, DB::SortDescription const&, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa26191 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62a1ae in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1de0ed in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:14.934751 [ 3817 ] {470cc816-0df7-4a85-beeb-e04f3e72bd2e} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.40 GiB (attempt to allocate chunk of 1082477 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 20040): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33620) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactStringsEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:15.572768 [ 3071 ] {c6451388-6384-4c91-8255-08b85ab1c301} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 1609759 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: Cache info: Buffer path: common/tmh/etmgynouheamochodjorlylrkodee, hash key: ce884c6e8f7595acb0048adc53598166, file_offset_of_buffer_end: 0, read_until_position: 13639, internal buffer end: 13639, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: c6451388-6384-4c91-8255-08b85ab1c301:2614, file segment info: File segment: [0, 13638], key: ce884c6e8f7595acb0048adc53598166, state: DOWNLOADING, downloaded size: 0, reserved size: 13639, downloader id: c6451388-6384-4c91-8255-08b85ab1c301:2614, current write offset: 0, caller id: c6451388-6384-4c91-8255-08b85ab1c301:2614, kind: Regular, unbound: 0: (while reading column AdvEngineID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 1048449): While executing MergeTreeInOrder. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48848) (comment: 00077_log_tinylog_stripelog.sql) (in query: INSERT INTO test.hits_stripelog SELECT CounterID, AdvEngineID, RegionID, SearchPhrase, UserID FROM test.hits;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::nextImpl() @ 0x000000003577e386 in /usr/bin/clickhouse 19. ./build_docker/./src/IO/ReadBuffer.h:72: DB::CompressedReadBufferBase::readCompressedData(unsigned long&, unsigned long&, bool) @ 0x000000003688b8a5 in /usr/bin/clickhouse 20. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:22: DB::CompressedReadBufferFromFile::nextImpl() @ 0x0000000036892717 in /usr/bin/clickhouse 21. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::nextImpl() @ 0x0000000036892cad in /usr/bin/clickhouse 22. ./build_docker/./src/IO/ReadBuffer.h:72: DB::SerializationSparse::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036fefe34 in /usr/bin/clickhouse 23. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 2026.10.27 19:25:15.578066 [ 3071 ] {c6451388-6384-4c91-8255-08b85ab1c301} FileChecker: Will truncate file store/80b/80bfc210-2e58-47f7-be5d-3b9a63ebee81/data.bin that has size 18352226 to size 0 2026.10.27 19:25:15.672870 [ 4305 ] {0cf8e1f6-a136-4662-a447-e4ab17f4d54a} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.40 GiB (attempt to allocate chunk of 1054909 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:37: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d102291 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000003d93ef51 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 2026.10.27 19:25:15.672885 [ 9245 ] {77931f3a-b792-4dee-895e-76c222c39b62} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.41 GiB (attempt to allocate chunk of 1249376 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 68 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33454) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:15.673126 [ 2246 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::WriteBufferFromTemporaryFile::WriteBufferFromTemporaryFile(std::unique_ptr>&&) @ 0x0000000037253f84 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::TemporaryDataOnDisk::createRawStream(unsigned long) @ 0x000000003a63c2f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:296: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cda7825 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:15.672894 [ 12862 ] {abd92a8a-7a9f-4f52-a2f8-77fbd0558e65} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.40 GiB (attempt to allocate chunk of 2023297 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: (avg_value_size_hint = 168.8726806640625, avg_chars_size = 193.047216796875, limit = 8192): (while reading column message): (while reading from part /var/lib/clickhouse/disks/s3/store/29b/29baccac-732e-4d30-9f86-41a1af37e650/202610_52_89_6/ in table system.text_log (29baccac-732e-4d30-9f86-41a1af37e650) located on disk s3 of type s3, from mark 0 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff78e6 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:15.673297 [ 2296 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::QueryLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 4284567 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IMergeTreeDataPart.cpp:138: DB::IMergeTreeDataPart::MinMaxIndex::store(std::vector> const&, std::vector, std::allocator>> const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003cc2a292 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::IMergeTreeDataPart::MinMaxIndex::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003cc28e2e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64f047 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:19.717556 [ 9290 ] {c8ec7f19-2835-4487-a657-938c930e8fbe} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.41 GiB (attempt to allocate chunk of 1338416 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::PODArray, 4096ul, Allocator, 63ul, 64ul>::PODArray(unsigned long) @ 0x000000003b24587f in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnVector.cpp:0: auto DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const::'lambda'(auto, auto, auto)::operator()::less_stable>(auto, auto, auto) const @ 0x000000003b4b35c9 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/IColumnImpl.h:0: void DB::IColumn::updatePermutationImpl::less_stable, DB::ColumnVector::equals, DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const::'lambda'(auto, auto, auto), DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const::'lambda'(auto, auto, auto, auto)>(unsigned long, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&, auto, auto, auto, auto) const @ 0x000000003b28ef77 in /usr/bin/clickhouse 12. ./build_docker/./src/Columns/ColumnVector.cpp:0: DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const @ 0x000000003b28c7e3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/sortBlock.cpp:190: DB::(anonymous namespace)::getBlockSortPermutationImpl(DB::Block const&, DB::SortDescription const&, DB::IColumn::PermutationSortStability, unsigned long, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa25bbb in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/sortBlock.cpp:306: DB::stableGetPermutation(DB::Block const&, DB::SortDescription const&, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa26191 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62a1ae in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1de0ed in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:19.717634 [ 3817 ] {470cc816-0df7-4a85-beeb-e04f3e72bd2e} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.40 GiB (attempt to allocate chunk of 1082477 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 20040): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:19.722664 [ 3071 ] {c6451388-6384-4c91-8255-08b85ab1c301} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 1609759 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: Cache info: Buffer path: common/tmh/etmgynouheamochodjorlylrkodee, hash key: ce884c6e8f7595acb0048adc53598166, file_offset_of_buffer_end: 0, read_until_position: 13639, internal buffer end: 13639, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: c6451388-6384-4c91-8255-08b85ab1c301:2614, file segment info: File segment: [0, 13638], key: ce884c6e8f7595acb0048adc53598166, state: DOWNLOADING, downloaded size: 0, reserved size: 13639, downloader id: c6451388-6384-4c91-8255-08b85ab1c301:2614, current write offset: 0, caller id: c6451388-6384-4c91-8255-08b85ab1c301:2614, kind: Regular, unbound: 0: (while reading column AdvEngineID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 1048449): While executing MergeTreeInOrder. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::nextImpl() @ 0x000000003577e386 in /usr/bin/clickhouse 19. ./build_docker/./src/IO/ReadBuffer.h:72: DB::CompressedReadBufferBase::readCompressedData(unsigned long&, unsigned long&, bool) @ 0x000000003688b8a5 in /usr/bin/clickhouse 20. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:22: DB::CompressedReadBufferFromFile::nextImpl() @ 0x0000000036892717 in /usr/bin/clickhouse 21. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::nextImpl() @ 0x0000000036892cad in /usr/bin/clickhouse 22. ./build_docker/./src/IO/ReadBuffer.h:72: DB::SerializationSparse::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036fefe34 in /usr/bin/clickhouse 23. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 2026.10.27 19:25:19.723066 [ 2237 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {43659c41-d52b-4751-a5e9-f90fc51f00e2::20261027_1_5_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.41 GiB (attempt to allocate chunk of 1093591 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:19.723211 [ 2231 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {51542bea-4345-4d36-94eb-7171c1c21706::202610_1_56_11}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 1178559 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:19.725308 [ 9245 ] {77931f3a-b792-4dee-895e-76c222c39b62} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.41 GiB (attempt to allocate chunk of 1249376 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 68 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:19.725706 [ 2236 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_52_10}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1051649 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x0000000009415a91 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:322: DB::ColumnVector::insertDefault() @ 0x000000003b33a155 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnSparse.cpp:0: DB::ColumnSparse::ColumnSparse(COW::mutable_ptr&&) @ 0x000000003b186f53 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: DB::IDataType::createColumn(DB::ISerialization const&) const @ 0x0000000036dbb55a in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:140: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4597fa in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:19.737482 [ 2240 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_1_70_11}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.41 GiB (attempt to allocate chunk of 1114301 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/SerializationSparse.cpp:0: DB::SerializationSparse::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036feb0d1 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:19.915059 [ 5687 ] {18457acc-0957-45ad-bf94-be2b3525610a} executeQuery: Code: 47. DB::Exception: Missing columns: 'BIT_AND' while processing query: 'SELECT BIT_AND', required columns: 'BIT_AND'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT BIT_AND;) 2026.10.27 19:25:19.918507 [ 5687 ] {18457acc-0957-45ad-bf94-be2b3525610a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'BIT_AND' while processing query: 'SELECT BIT_AND', required columns: 'BIT_AND'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:19.920360 [ 5708 ] {2bbc8686-8364-4e0d-be30-1d0391f69a05} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery39: While processing 1 = ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery39). (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38864) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4ea34 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5a94a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dfc3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d01f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a6eed7e 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) const @ 0x000000003a6de8f4 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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 2026.10.27 19:25:19.927223 [ 5708 ] {2bbc8686-8364-4e0d-be30-1d0391f69a05} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery39: While processing 1 = ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery39). (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4ea34 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5a94a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dfc3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d01f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a6eed7e 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) const @ 0x000000003a6de8f4 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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 2026.10.27 19:25:20.156272 [ 5687 ] {91f8a4d5-e32c-4123-9673-7ce9fdc970a2} executeQuery: Code: 47. DB::Exception: Missing columns: 'BIT_OR' while processing query: 'SELECT BIT_OR', required columns: 'BIT_OR'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT BIT_OR;) 2026.10.27 19:25:20.158732 [ 5687 ] {91f8a4d5-e32c-4123-9673-7ce9fdc970a2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'BIT_OR' while processing query: 'SELECT BIT_OR', required columns: 'BIT_OR'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:20.186059 [ 5687 ] {ff5be56a-4d41-4b5d-8dff-46d94a4881c0} executeQuery: Code: 47. DB::Exception: Missing columns: 'BIT_XOR' while processing query: 'SELECT BIT_XOR', required columns: 'BIT_XOR'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT BIT_XOR;) 2026.10.27 19:25:20.193029 [ 5687 ] {ff5be56a-4d41-4b5d-8dff-46d94a4881c0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'BIT_XOR' while processing query: 'SELECT BIT_XOR', required columns: 'BIT_XOR'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:20.226960 [ 5708 ] {a17974a0-08d1-4b28-ac22-e3b5d4f3078d} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38864) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:20.236442 [ 5708 ] {a17974a0-08d1-4b28-ac22-e3b5d4f3078d} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:20.267422 [ 5687 ] {4ec2fd2b-3172-4318-befc-5c1261901410} executeQuery: Code: 47. DB::Exception: Missing columns: 'BLAKE3' while processing query: 'SELECT BLAKE3', required columns: 'BLAKE3'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT BLAKE3;) 2026.10.27 19:25:20.280973 [ 5687 ] {4ec2fd2b-3172-4318-befc-5c1261901410} TCPHandler: Code: 47. DB::Exception: Missing columns: 'BLAKE3' while processing query: 'SELECT BLAKE3', required columns: 'BLAKE3'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:20.362498 [ 5687 ] {ee4c95a2-6a25-4618-b540-b6ba64d19bba} executeQuery: Code: 47. DB::Exception: Missing columns: 'CAST' while processing query: 'SELECT CAST', required columns: 'CAST'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT CAST;) 2026.10.27 19:25:20.371966 [ 5687 ] {ee4c95a2-6a25-4618-b540-b6ba64d19bba} TCPHandler: Code: 47. DB::Exception: Missing columns: 'CAST' while processing query: 'SELECT CAST', required columns: 'CAST'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:20.456432 [ 5687 ] {55c59a35-d18f-4112-ad47-5feea73c4965} executeQuery: Code: 47. DB::Exception: Missing columns: 'CHARACTER_LENGTH' while processing query: 'SELECT CHARACTER_LENGTH', required columns: 'CHARACTER_LENGTH'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT CHARACTER_LENGTH;) 2026.10.27 19:25:20.469567 [ 5687 ] {55c59a35-d18f-4112-ad47-5feea73c4965} TCPHandler: Code: 47. DB::Exception: Missing columns: 'CHARACTER_LENGTH' while processing query: 'SELECT CHARACTER_LENGTH', required columns: 'CHARACTER_LENGTH'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:20.543310 [ 5687 ] {8c6a087c-c5e3-4a8d-8b78-7bacf420fd6e} executeQuery: Code: 47. DB::Exception: Missing columns: 'CHAR_LENGTH' while processing query: 'SELECT CHAR_LENGTH', required columns: 'CHAR_LENGTH'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT CHAR_LENGTH;) 2026.10.27 19:25:20.558308 [ 5687 ] {8c6a087c-c5e3-4a8d-8b78-7bacf420fd6e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'CHAR_LENGTH' while processing query: 'SELECT CHAR_LENGTH', required columns: 'CHAR_LENGTH'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:20.672853 [ 5687 ] {44578e61-7e45-476f-8389-5a6a4609a238} executeQuery: Code: 47. DB::Exception: Missing columns: 'COVAR_POP' while processing query: 'SELECT COVAR_POP', required columns: 'COVAR_POP'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT COVAR_POP;) 2026.10.27 19:25:20.683828 [ 5687 ] {44578e61-7e45-476f-8389-5a6a4609a238} TCPHandler: Code: 47. DB::Exception: Missing columns: 'COVAR_POP' while processing query: 'SELECT COVAR_POP', required columns: 'COVAR_POP'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:20.765318 [ 5687 ] {7f8a429b-6ee8-4dc6-b176-7ce42ac8ff14} executeQuery: Code: 47. DB::Exception: Missing columns: 'COVAR_SAMP' while processing query: 'SELECT COVAR_SAMP', required columns: 'COVAR_SAMP'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT COVAR_SAMP;) 2026.10.27 19:25:20.774459 [ 5687 ] {7f8a429b-6ee8-4dc6-b176-7ce42ac8ff14} TCPHandler: Code: 47. DB::Exception: Missing columns: 'COVAR_SAMP' while processing query: 'SELECT COVAR_SAMP', required columns: 'COVAR_SAMP'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:20.817840 [ 5687 ] {86db6edc-52ca-43f5-b076-49fc04dadb33} executeQuery: Code: 47. DB::Exception: Missing columns: 'CRC32' while processing query: 'SELECT CRC32', required columns: 'CRC32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT CRC32;) 2026.10.27 19:25:20.827493 [ 5687 ] {86db6edc-52ca-43f5-b076-49fc04dadb33} TCPHandler: Code: 47. DB::Exception: Missing columns: 'CRC32' while processing query: 'SELECT CRC32', required columns: 'CRC32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:20.893007 [ 5687 ] {97a885a6-d02f-49d3-a6d2-ec5625c3acec} executeQuery: Code: 47. DB::Exception: Missing columns: 'CRC32IEEE' while processing query: 'SELECT CRC32IEEE', required columns: 'CRC32IEEE'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT CRC32IEEE;) 2026.10.27 19:25:20.910755 [ 5687 ] {97a885a6-d02f-49d3-a6d2-ec5625c3acec} TCPHandler: Code: 47. DB::Exception: Missing columns: 'CRC32IEEE' while processing query: 'SELECT CRC32IEEE', required columns: 'CRC32IEEE'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:21.032353 [ 5687 ] {21114148-7b1d-4a63-b810-ec50177ec6bf} executeQuery: Code: 47. DB::Exception: Missing columns: 'CRC64' while processing query: 'SELECT CRC64', required columns: 'CRC64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT CRC64;) 2026.10.27 19:25:21.050893 [ 5687 ] {21114148-7b1d-4a63-b810-ec50177ec6bf} TCPHandler: Code: 47. DB::Exception: Missing columns: 'CRC64' while processing query: 'SELECT CRC64', required columns: 'CRC64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:21.163175 [ 5687 ] {9315174d-376b-4ded-adc2-832cd30aa23c} executeQuery: Code: 47. DB::Exception: Missing columns: 'DATABASE' while processing query: 'SELECT DATABASE', required columns: 'DATABASE'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT DATABASE;) 2026.10.27 19:25:21.175633 [ 5687 ] {9315174d-376b-4ded-adc2-832cd30aa23c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'DATABASE' while processing query: 'SELECT DATABASE', required columns: 'DATABASE'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:21.386938 [ 5687 ] {16ca462f-4040-4e82-b6ca-e764b595eaf8} executeQuery: Code: 47. DB::Exception: Missing columns: 'DATE' while processing query: 'SELECT DATE', required columns: 'DATE'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT DATE;) 2026.10.27 19:25:21.395177 [ 5687 ] {16ca462f-4040-4e82-b6ca-e764b595eaf8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'DATE' while processing query: 'SELECT DATE', required columns: 'DATE'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:21.621674 [ 5708 ] {331b442a-d526-4f52-abfc-8d73fde3265d} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 15.00 million, current rows: 17.75 million: While executing MergeTreeThread. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38864) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:21.637146 [ 5687 ] {9663bb70-3069-4163-b561-97457c646ee5} executeQuery: Code: 47. DB::Exception: Missing columns: 'DATE_DIFF' while processing query: 'SELECT DATE_DIFF', required columns: 'DATE_DIFF'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT DATE_DIFF;) 2026.10.27 19:25:21.653928 [ 5687 ] {9663bb70-3069-4163-b561-97457c646ee5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'DATE_DIFF' while processing query: 'SELECT DATE_DIFF', required columns: 'DATE_DIFF'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:21.733047 [ 5687 ] {97f5d542-7c3d-4ba7-8996-c3629f3fa8ae} executeQuery: Code: 47. DB::Exception: Missing columns: 'DATE_FORMAT' while processing query: 'SELECT DATE_FORMAT', required columns: 'DATE_FORMAT'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT DATE_FORMAT;) 2026.10.27 19:25:21.745334 [ 5687 ] {97f5d542-7c3d-4ba7-8996-c3629f3fa8ae} TCPHandler: Code: 47. DB::Exception: Missing columns: 'DATE_FORMAT' while processing query: 'SELECT DATE_FORMAT', required columns: 'DATE_FORMAT'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:21.844529 [ 5687 ] {b876855a-8061-4a75-8c3e-e333be91ab81} executeQuery: Code: 47. DB::Exception: Missing columns: 'DATE_TRUNC' while processing query: 'SELECT DATE_TRUNC', required columns: 'DATE_TRUNC'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT DATE_TRUNC;) 2026.10.27 19:25:21.862858 [ 5687 ] {b876855a-8061-4a75-8c3e-e333be91ab81} TCPHandler: Code: 47. DB::Exception: Missing columns: 'DATE_TRUNC' while processing query: 'SELECT DATE_TRUNC', required columns: 'DATE_TRUNC'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:21.964725 [ 5687 ] {d4148f1d-9520-446d-864a-851e88db6c98} executeQuery: Code: 47. DB::Exception: Missing columns: 'DAY' while processing query: 'SELECT DAY', required columns: 'DAY'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT DAY;) 2026.10.27 19:25:21.977768 [ 5687 ] {d4148f1d-9520-446d-864a-851e88db6c98} TCPHandler: Code: 47. DB::Exception: Missing columns: 'DAY' while processing query: 'SELECT DAY', required columns: 'DAY'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:21.983000 [ 5708 ] {331b442a-d526-4f52-abfc-8d73fde3265d} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 15.00 million, current rows: 17.75 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:22.048560 [ 5687 ] {77ed3808-3678-4621-bc16-df2e48d798ba} executeQuery: Code: 47. DB::Exception: Missing columns: 'DAYOFMONTH' while processing query: 'SELECT DAYOFMONTH', required columns: 'DAYOFMONTH'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT DAYOFMONTH;) 2026.10.27 19:25:22.078357 [ 5687 ] {77ed3808-3678-4621-bc16-df2e48d798ba} TCPHandler: Code: 47. DB::Exception: Missing columns: 'DAYOFMONTH' while processing query: 'SELECT DAYOFMONTH', required columns: 'DAYOFMONTH'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:22.180891 [ 5687 ] {1d858bd4-dd83-46e4-a20a-14a6d9e525bc} executeQuery: Code: 47. DB::Exception: Missing columns: 'DAYOFWEEK' while processing query: 'SELECT DAYOFWEEK', required columns: 'DAYOFWEEK'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT DAYOFWEEK;) 2026.10.27 19:25:22.187556 [ 5687 ] {1d858bd4-dd83-46e4-a20a-14a6d9e525bc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'DAYOFWEEK' while processing query: 'SELECT DAYOFWEEK', required columns: 'DAYOFWEEK'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:22.268365 [ 5687 ] {5b487c1e-064d-4aee-8669-695748f93335} executeQuery: Code: 47. DB::Exception: Missing columns: 'DAYOFYEAR' while processing query: 'SELECT DAYOFYEAR', required columns: 'DAYOFYEAR'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT DAYOFYEAR;) 2026.10.27 19:25:22.287834 [ 5708 ] {fff30003-ebf5-4007-9434-7055d502f92a} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery42: While processing CounterID > ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery42). (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38864) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4ea34 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5a94a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dfc3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a6eed7e 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) const @ 0x000000003a6de8f4 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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 2026.10.27 19:25:22.300653 [ 5708 ] {fff30003-ebf5-4007-9434-7055d502f92a} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery42: While processing CounterID > ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery42). (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4ea34 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5a94a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dfc3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a6eed7e 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) const @ 0x000000003a6de8f4 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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 2026.10.27 19:25:22.376991 [ 5687 ] {5b487c1e-064d-4aee-8669-695748f93335} TCPHandler: Code: 47. DB::Exception: Missing columns: 'DAYOFYEAR' while processing query: 'SELECT DAYOFYEAR', required columns: 'DAYOFYEAR'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:22.547062 [ 5687 ] {d223e144-1774-4f4d-b4a9-5a990b285c3e} executeQuery: Code: 47. DB::Exception: Missing columns: 'FQDN' while processing query: 'SELECT FQDN', required columns: 'FQDN'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT FQDN;) 2026.10.27 19:25:22.685144 [ 5687 ] {d223e144-1774-4f4d-b4a9-5a990b285c3e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'FQDN' while processing query: 'SELECT FQDN', required columns: 'FQDN'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:22.790079 [ 5687 ] {bfb70e9e-b9b6-45cd-87a7-52ef80ef5adc} executeQuery: Code: 47. DB::Exception: Missing columns: 'FROM_BASE64' while processing query: 'SELECT FROM_BASE64', required columns: 'FROM_BASE64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT FROM_BASE64;) 2026.10.27 19:25:22.808566 [ 5687 ] {bfb70e9e-b9b6-45cd-87a7-52ef80ef5adc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'FROM_BASE64' while processing query: 'SELECT FROM_BASE64', required columns: 'FROM_BASE64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:22.890810 [ 5687 ] {fea71801-8741-4efb-8b3d-5475b0e4e36a} executeQuery: Code: 47. DB::Exception: Missing columns: 'FROM_UNIXTIME' while processing query: 'SELECT FROM_UNIXTIME', required columns: 'FROM_UNIXTIME'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT FROM_UNIXTIME;) 2026.10.27 19:25:22.903415 [ 5687 ] {fea71801-8741-4efb-8b3d-5475b0e4e36a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'FROM_UNIXTIME' while processing query: 'SELECT FROM_UNIXTIME', required columns: 'FROM_UNIXTIME'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:22.984388 [ 5687 ] {18718c03-6024-403b-a78f-7eeda26ae5ee} executeQuery: Code: 47. DB::Exception: Missing columns: 'HOUR' while processing query: 'SELECT HOUR', required columns: 'HOUR'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT HOUR;) 2026.10.27 19:25:22.994728 [ 5687 ] {18718c03-6024-403b-a78f-7eeda26ae5ee} TCPHandler: Code: 47. DB::Exception: Missing columns: 'HOUR' while processing query: 'SELECT HOUR', required columns: 'HOUR'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:23.068504 [ 5687 ] {5fd16af3-e8d9-4ef3-9601-47c446895c14} executeQuery: Code: 47. DB::Exception: Missing columns: 'INET6_ATON' while processing query: 'SELECT INET6_ATON', required columns: 'INET6_ATON'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT INET6_ATON;) 2026.10.27 19:25:23.079313 [ 5687 ] {5fd16af3-e8d9-4ef3-9601-47c446895c14} TCPHandler: Code: 47. DB::Exception: Missing columns: 'INET6_ATON' while processing query: 'SELECT INET6_ATON', required columns: 'INET6_ATON'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:23.151393 [ 5687 ] {cad96062-2b72-4a1a-9e05-64f4bca7d560} executeQuery: Code: 47. DB::Exception: Missing columns: 'INET6_NTOA' while processing query: 'SELECT INET6_NTOA', required columns: 'INET6_NTOA'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT INET6_NTOA;) 2026.10.27 19:25:23.161815 [ 5687 ] {cad96062-2b72-4a1a-9e05-64f4bca7d560} TCPHandler: Code: 47. DB::Exception: Missing columns: 'INET6_NTOA' while processing query: 'SELECT INET6_NTOA', required columns: 'INET6_NTOA'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:23.232924 [ 5687 ] {8c8e2212-ffc4-4f8a-bd1d-c94f9cbef36c} executeQuery: Code: 47. DB::Exception: Missing columns: 'INET_ATON' while processing query: 'SELECT INET_ATON', required columns: 'INET_ATON'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT INET_ATON;) 2026.10.27 19:25:23.245997 [ 5687 ] {8c8e2212-ffc4-4f8a-bd1d-c94f9cbef36c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'INET_ATON' while processing query: 'SELECT INET_ATON', required columns: 'INET_ATON'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:23.308272 [ 5687 ] {29224dd8-56da-4220-b107-f46f1be4ffe4} executeQuery: Code: 47. DB::Exception: Missing columns: 'INET_NTOA' while processing query: 'SELECT INET_NTOA', required columns: 'INET_NTOA'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT INET_NTOA;) 2026.10.27 19:25:23.321473 [ 5687 ] {29224dd8-56da-4220-b107-f46f1be4ffe4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'INET_NTOA' while processing query: 'SELECT INET_NTOA', required columns: 'INET_NTOA'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:23.404836 [ 5687 ] {75d996a1-23e3-4750-968d-dada2b50a22b} executeQuery: Code: 47. DB::Exception: Missing columns: 'IPv4CIDRToRange' while processing query: 'SELECT IPv4CIDRToRange', required columns: 'IPv4CIDRToRange'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT IPv4CIDRToRange;) 2026.10.27 19:25:23.418840 [ 5687 ] {75d996a1-23e3-4750-968d-dada2b50a22b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'IPv4CIDRToRange' while processing query: 'SELECT IPv4CIDRToRange', required columns: 'IPv4CIDRToRange'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:23.607893 [ 5687 ] {c9dad2ac-bbc4-45ed-80c2-1e2b82f0e798} executeQuery: Code: 47. DB::Exception: Missing columns: 'IPv4NumToString' while processing query: 'SELECT IPv4NumToString', required columns: 'IPv4NumToString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT IPv4NumToString;) 2026.10.27 19:25:23.623887 [ 5687 ] {c9dad2ac-bbc4-45ed-80c2-1e2b82f0e798} TCPHandler: Code: 47. DB::Exception: Missing columns: 'IPv4NumToString' while processing query: 'SELECT IPv4NumToString', required columns: 'IPv4NumToString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:23.715694 [ 5687 ] {83174d3e-a33c-4d04-a130-add88405f0e2} executeQuery: Code: 47. DB::Exception: Missing columns: 'IPv4NumToStringClassC' while processing query: 'SELECT IPv4NumToStringClassC', required columns: 'IPv4NumToStringClassC'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT IPv4NumToStringClassC;) 2026.10.27 19:25:23.832435 [ 5687 ] {83174d3e-a33c-4d04-a130-add88405f0e2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'IPv4NumToStringClassC' while processing query: 'SELECT IPv4NumToStringClassC', required columns: 'IPv4NumToStringClassC'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:23.899959 [ 5687 ] {32be7891-f69d-42fe-8759-5ddbe00a4a57} executeQuery: Code: 47. DB::Exception: Missing columns: 'IPv4StringToNum' while processing query: 'SELECT IPv4StringToNum', required columns: 'IPv4StringToNum'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT IPv4StringToNum;) 2026.10.27 19:25:23.912641 [ 5687 ] {32be7891-f69d-42fe-8759-5ddbe00a4a57} TCPHandler: Code: 47. DB::Exception: Missing columns: 'IPv4StringToNum' while processing query: 'SELECT IPv4StringToNum', required columns: 'IPv4StringToNum'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:24.000259 [ 5687 ] {baa77e13-d39d-40f0-86f8-c7882b715cda} executeQuery: Code: 47. DB::Exception: Missing columns: 'IPv4StringToNumOrDefault' while processing query: 'SELECT IPv4StringToNumOrDefault', required columns: 'IPv4StringToNumOrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT IPv4StringToNumOrDefault;) 2026.10.27 19:25:24.010663 [ 5687 ] {baa77e13-d39d-40f0-86f8-c7882b715cda} TCPHandler: Code: 47. DB::Exception: Missing columns: 'IPv4StringToNumOrDefault' while processing query: 'SELECT IPv4StringToNumOrDefault', required columns: 'IPv4StringToNumOrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:24.100141 [ 5687 ] {291eb7a7-f937-41a4-926a-56ffda83d349} executeQuery: Code: 47. DB::Exception: Missing columns: 'IPv4StringToNumOrNull' while processing query: 'SELECT IPv4StringToNumOrNull', required columns: 'IPv4StringToNumOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT IPv4StringToNumOrNull;) 2026.10.27 19:25:24.111031 [ 5687 ] {291eb7a7-f937-41a4-926a-56ffda83d349} TCPHandler: Code: 47. DB::Exception: Missing columns: 'IPv4StringToNumOrNull' while processing query: 'SELECT IPv4StringToNumOrNull', required columns: 'IPv4StringToNumOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:24.276410 [ 5687 ] {45006d86-3a82-4d83-8900-87f976c66b34} executeQuery: Code: 47. DB::Exception: Missing columns: 'IPv4ToIPv6' while processing query: 'SELECT IPv4ToIPv6', required columns: 'IPv4ToIPv6'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT IPv4ToIPv6;) 2026.10.27 19:25:24.289626 [ 5687 ] {45006d86-3a82-4d83-8900-87f976c66b34} TCPHandler: Code: 47. DB::Exception: Missing columns: 'IPv4ToIPv6' while processing query: 'SELECT IPv4ToIPv6', required columns: 'IPv4ToIPv6'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:24.358389 [ 5687 ] {d90c0285-4ab5-4eb6-86b8-b6bf9e5aefd5} executeQuery: Code: 47. DB::Exception: Missing columns: 'IPv6CIDRToRange' while processing query: 'SELECT IPv6CIDRToRange', required columns: 'IPv6CIDRToRange'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT IPv6CIDRToRange;) 2026.10.27 19:25:24.366327 [ 5687 ] {d90c0285-4ab5-4eb6-86b8-b6bf9e5aefd5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'IPv6CIDRToRange' while processing query: 'SELECT IPv6CIDRToRange', required columns: 'IPv6CIDRToRange'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:24.458136 [ 5687 ] {ac1e0335-8747-4f62-b6e1-03e83030231b} executeQuery: Code: 47. DB::Exception: Missing columns: 'IPv6NumToString' while processing query: 'SELECT IPv6NumToString', required columns: 'IPv6NumToString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT IPv6NumToString;) 2026.10.27 19:25:24.469911 [ 5687 ] {ac1e0335-8747-4f62-b6e1-03e83030231b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'IPv6NumToString' while processing query: 'SELECT IPv6NumToString', required columns: 'IPv6NumToString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:24.558054 [ 5687 ] {394c7684-1037-4292-8682-7e7082b5901a} executeQuery: Code: 47. DB::Exception: Missing columns: 'IPv6StringToNum' while processing query: 'SELECT IPv6StringToNum', required columns: 'IPv6StringToNum'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT IPv6StringToNum;) 2026.10.27 19:25:24.562889 [ 5687 ] {394c7684-1037-4292-8682-7e7082b5901a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'IPv6StringToNum' while processing query: 'SELECT IPv6StringToNum', required columns: 'IPv6StringToNum'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:24.640586 [ 5687 ] {200432b5-591d-48d8-a921-ef0b6824d0b9} executeQuery: Code: 47. DB::Exception: Missing columns: 'IPv6StringToNumOrDefault' while processing query: 'SELECT IPv6StringToNumOrDefault', required columns: 'IPv6StringToNumOrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT IPv6StringToNumOrDefault;) 2026.10.27 19:25:24.651703 [ 5687 ] {200432b5-591d-48d8-a921-ef0b6824d0b9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'IPv6StringToNumOrDefault' while processing query: 'SELECT IPv6StringToNumOrDefault', required columns: 'IPv6StringToNumOrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:24.708675 [ 5687 ] {87472233-9283-4496-a0b2-2538542c3c13} executeQuery: Code: 47. DB::Exception: Missing columns: 'IPv6StringToNumOrNull' while processing query: 'SELECT IPv6StringToNumOrNull', required columns: 'IPv6StringToNumOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT IPv6StringToNumOrNull;) 2026.10.27 19:25:24.720757 [ 5687 ] {87472233-9283-4496-a0b2-2538542c3c13} TCPHandler: Code: 47. DB::Exception: Missing columns: 'IPv6StringToNumOrNull' while processing query: 'SELECT IPv6StringToNumOrNull', required columns: 'IPv6StringToNumOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:24.805092 [ 5687 ] {f3438b96-86c9-4e78-b8ee-7b4b27dff9e5} executeQuery: Code: 47. DB::Exception: Missing columns: 'JSONArrayLength' while processing query: 'SELECT JSONArrayLength', required columns: 'JSONArrayLength'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT JSONArrayLength;) 2026.10.27 19:25:24.814342 [ 5687 ] {f3438b96-86c9-4e78-b8ee-7b4b27dff9e5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'JSONArrayLength' while processing query: 'SELECT JSONArrayLength', required columns: 'JSONArrayLength'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:24.863313 [ 5687 ] {3473a5b9-a935-4064-af6b-fafc9d0f5e19} executeQuery: Code: 47. DB::Exception: Missing columns: 'JSONExtract' while processing query: 'SELECT JSONExtract', required columns: 'JSONExtract'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT JSONExtract;) 2026.10.27 19:25:24.875685 [ 5687 ] {3473a5b9-a935-4064-af6b-fafc9d0f5e19} TCPHandler: Code: 47. DB::Exception: Missing columns: 'JSONExtract' while processing query: 'SELECT JSONExtract', required columns: 'JSONExtract'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:24.933732 [ 5687 ] {347e3845-3b37-4fb1-92f8-016a2bc4cc52} executeQuery: Code: 47. DB::Exception: Missing columns: 'JSONExtractArrayRaw' while processing query: 'SELECT JSONExtractArrayRaw', required columns: 'JSONExtractArrayRaw'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT JSONExtractArrayRaw;) 2026.10.27 19:25:24.937024 [ 5687 ] {347e3845-3b37-4fb1-92f8-016a2bc4cc52} TCPHandler: Code: 47. DB::Exception: Missing columns: 'JSONExtractArrayRaw' while processing query: 'SELECT JSONExtractArrayRaw', required columns: 'JSONExtractArrayRaw'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:24.975418 [ 5687 ] {ee48d3f3-0dc6-4a6e-8735-05c93f467e9b} executeQuery: Code: 47. DB::Exception: Missing columns: 'JSONExtractBool' while processing query: 'SELECT JSONExtractBool', required columns: 'JSONExtractBool'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT JSONExtractBool;) 2026.10.27 19:25:24.981173 [ 5687 ] {ee48d3f3-0dc6-4a6e-8735-05c93f467e9b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'JSONExtractBool' while processing query: 'SELECT JSONExtractBool', required columns: 'JSONExtractBool'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:25.006488 [ 9250 ] {565a555c-0f36-442f-8807-abb238f02568} executeQuery: Code: 558. DB::Exception: Expected ALL or DISTINCT in SelectWithUnion query, because setting (union_default_mode) is empty: While processing SELECT 1 UNION SELECT 1 UNION ALL SELECT 1. (EXPECTED_ALL_OR_DISTINCT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38938) (comment: 01732_union_and_union_all.sql) (in query: select 1 UNION select 1 UNION ALL select 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [97]) @ 0x000000000946fff7 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp:74: DB::NormalizeSelectWithUnionQueryMatcher::visit(DB::ASTSelectWithUnionQuery&, DB::NormalizeSelectWithUnionQueryMatcher::Data&) @ 0x000000003a9b8467 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp:0: DB::NormalizeSelectWithUnionQueryMatcher::visit(std::shared_ptr&, DB::NormalizeSelectWithUnionQueryMatcher::Data&) @ 0x000000003a9b4eb9 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000003a9a4915 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:807: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a97f505 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:25.006891 [ 5687 ] {2fbc0ebe-c974-4664-bfed-ad6bcad241b8} executeQuery: Code: 47. DB::Exception: Missing columns: 'JSONExtractFloat' while processing query: 'SELECT JSONExtractFloat', required columns: 'JSONExtractFloat'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT JSONExtractFloat;) 2026.10.27 19:25:25.014481 [ 9250 ] {565a555c-0f36-442f-8807-abb238f02568} TCPHandler: Code: 558. DB::Exception: Expected ALL or DISTINCT in SelectWithUnion query, because setting (union_default_mode) is empty: While processing SELECT 1 UNION SELECT 1 UNION ALL SELECT 1. (EXPECTED_ALL_OR_DISTINCT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [97]) @ 0x000000000946fff7 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp:74: DB::NormalizeSelectWithUnionQueryMatcher::visit(DB::ASTSelectWithUnionQuery&, DB::NormalizeSelectWithUnionQueryMatcher::Data&) @ 0x000000003a9b8467 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp:0: DB::NormalizeSelectWithUnionQueryMatcher::visit(std::shared_ptr&, DB::NormalizeSelectWithUnionQueryMatcher::Data&) @ 0x000000003a9b4eb9 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000003a9a4915 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:807: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a97f505 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:25.015173 [ 5687 ] {2fbc0ebe-c974-4664-bfed-ad6bcad241b8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'JSONExtractFloat' while processing query: 'SELECT JSONExtractFloat', required columns: 'JSONExtractFloat'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:25.078224 [ 5687 ] {ac096adf-b8c5-4162-84eb-17148b0f53e6} executeQuery: Code: 47. DB::Exception: Missing columns: 'JSONExtractInt' while processing query: 'SELECT JSONExtractInt', required columns: 'JSONExtractInt'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT JSONExtractInt;) 2026.10.27 19:25:25.084621 [ 5687 ] {ac096adf-b8c5-4162-84eb-17148b0f53e6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'JSONExtractInt' while processing query: 'SELECT JSONExtractInt', required columns: 'JSONExtractInt'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:25.133744 [ 5687 ] {9bacc1ce-849b-4700-92d6-ad8e385369e7} executeQuery: Code: 47. DB::Exception: Missing columns: 'JSONExtractKeys' while processing query: 'SELECT JSONExtractKeys', required columns: 'JSONExtractKeys'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT JSONExtractKeys;) 2026.10.27 19:25:25.138855 [ 5687 ] {9bacc1ce-849b-4700-92d6-ad8e385369e7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'JSONExtractKeys' while processing query: 'SELECT JSONExtractKeys', required columns: 'JSONExtractKeys'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:25.169823 [ 5687 ] {eb2c824c-c350-4c1f-9c68-c6ce81922708} executeQuery: Code: 47. DB::Exception: Missing columns: 'JSONExtractKeysAndValues' while processing query: 'SELECT JSONExtractKeysAndValues', required columns: 'JSONExtractKeysAndValues'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT JSONExtractKeysAndValues;) 2026.10.27 19:25:25.175007 [ 5687 ] {eb2c824c-c350-4c1f-9c68-c6ce81922708} TCPHandler: Code: 47. DB::Exception: Missing columns: 'JSONExtractKeysAndValues' while processing query: 'SELECT JSONExtractKeysAndValues', required columns: 'JSONExtractKeysAndValues'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:25.226094 [ 5687 ] {b06abee3-4852-4ca8-8a31-39e098a92dfc} executeQuery: Code: 47. DB::Exception: Missing columns: 'JSONExtractKeysAndValuesRaw' while processing query: 'SELECT JSONExtractKeysAndValuesRaw', required columns: 'JSONExtractKeysAndValuesRaw'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT JSONExtractKeysAndValuesRaw;) 2026.10.27 19:25:25.331043 [ 5687 ] {b06abee3-4852-4ca8-8a31-39e098a92dfc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'JSONExtractKeysAndValuesRaw' while processing query: 'SELECT JSONExtractKeysAndValuesRaw', required columns: 'JSONExtractKeysAndValuesRaw'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:25.365970 [ 2238 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_1_70_11}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.40 GiB (attempt to allocate chunk of 1114301 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/SerializationSparse.cpp:0: DB::SerializationSparse::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036feb0d1 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:25.569399 [ 5687 ] {1916b8c8-3fa8-403a-8737-68f509f40005} executeQuery: Code: 47. DB::Exception: Missing columns: 'JSONExtractRaw' while processing query: 'SELECT JSONExtractRaw', required columns: 'JSONExtractRaw'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT JSONExtractRaw;) 2026.10.27 19:25:25.572402 [ 5687 ] {1916b8c8-3fa8-403a-8737-68f509f40005} TCPHandler: Code: 47. DB::Exception: Missing columns: 'JSONExtractRaw' while processing query: 'SELECT JSONExtractRaw', required columns: 'JSONExtractRaw'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:25.609752 [ 5687 ] {a4342762-83c6-4530-8eab-1c3eece17261} executeQuery: Code: 47. DB::Exception: Missing columns: 'JSONExtractString' while processing query: 'SELECT JSONExtractString', required columns: 'JSONExtractString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT JSONExtractString;) 2026.10.27 19:25:25.713019 [ 5687 ] {a4342762-83c6-4530-8eab-1c3eece17261} TCPHandler: Code: 47. DB::Exception: Missing columns: 'JSONExtractString' while processing query: 'SELECT JSONExtractString', required columns: 'JSONExtractString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:25.738336 [ 5687 ] {c84df3ea-ae89-44a4-bfbd-04d23dd936af} executeQuery: Code: 47. DB::Exception: Missing columns: 'JSONExtractUInt' while processing query: 'SELECT JSONExtractUInt', required columns: 'JSONExtractUInt'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT JSONExtractUInt;) 2026.10.27 19:25:25.742058 [ 5687 ] {c84df3ea-ae89-44a4-bfbd-04d23dd936af} TCPHandler: Code: 47. DB::Exception: Missing columns: 'JSONExtractUInt' while processing query: 'SELECT JSONExtractUInt', required columns: 'JSONExtractUInt'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:25.765191 [ 5687 ] {c1fe1af9-fe4c-461c-a8c0-aee08e5d05d5} executeQuery: Code: 47. DB::Exception: Missing columns: 'JSONHas' while processing query: 'SELECT JSONHas', required columns: 'JSONHas'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT JSONHas;) 2026.10.27 19:25:25.767092 [ 5687 ] {c1fe1af9-fe4c-461c-a8c0-aee08e5d05d5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'JSONHas' while processing query: 'SELECT JSONHas', required columns: 'JSONHas'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:25.784232 [ 5687 ] {e6dbcb6c-997b-4731-8957-40c2917af572} executeQuery: Code: 47. DB::Exception: Missing columns: 'JSONKey' while processing query: 'SELECT JSONKey', required columns: 'JSONKey'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT JSONKey;) 2026.10.27 19:25:25.785795 [ 5687 ] {e6dbcb6c-997b-4731-8957-40c2917af572} TCPHandler: Code: 47. DB::Exception: Missing columns: 'JSONKey' while processing query: 'SELECT JSONKey', required columns: 'JSONKey'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:25.803241 [ 5687 ] {a672b80d-1d73-4fc6-88ff-839c8894a74c} executeQuery: Code: 47. DB::Exception: Missing columns: 'JSONLength' while processing query: 'SELECT JSONLength', required columns: 'JSONLength'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT JSONLength;) 2026.10.27 19:25:25.805005 [ 5687 ] {a672b80d-1d73-4fc6-88ff-839c8894a74c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'JSONLength' while processing query: 'SELECT JSONLength', required columns: 'JSONLength'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:25.822538 [ 5687 ] {e9d1de6e-70ee-4b1c-a423-793a6cfd0029} executeQuery: Code: 47. DB::Exception: Missing columns: 'JSONType' while processing query: 'SELECT JSONType', required columns: 'JSONType'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT JSONType;) 2026.10.27 19:25:25.824281 [ 5687 ] {e9d1de6e-70ee-4b1c-a423-793a6cfd0029} TCPHandler: Code: 47. DB::Exception: Missing columns: 'JSONType' while processing query: 'SELECT JSONType', required columns: 'JSONType'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:25.841828 [ 5687 ] {d6fa736b-ef34-4d91-a293-ff6ebeb35e83} executeQuery: Code: 47. DB::Exception: Missing columns: 'JSON_ARRAY_LENGTH' while processing query: 'SELECT JSON_ARRAY_LENGTH', required columns: 'JSON_ARRAY_LENGTH'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT JSON_ARRAY_LENGTH;) 2026.10.27 19:25:25.845160 [ 5687 ] {d6fa736b-ef34-4d91-a293-ff6ebeb35e83} TCPHandler: Code: 47. DB::Exception: Missing columns: 'JSON_ARRAY_LENGTH' while processing query: 'SELECT JSON_ARRAY_LENGTH', required columns: 'JSON_ARRAY_LENGTH'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:25.887128 [ 5687 ] {86e6ee18-3e70-4a06-94e5-9576769a1c9f} executeQuery: Code: 47. DB::Exception: Missing columns: 'JSON_EXISTS' while processing query: 'SELECT JSON_EXISTS', required columns: 'JSON_EXISTS'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT JSON_EXISTS;) 2026.10.27 19:25:25.890036 [ 5687 ] {86e6ee18-3e70-4a06-94e5-9576769a1c9f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'JSON_EXISTS' while processing query: 'SELECT JSON_EXISTS', required columns: 'JSON_EXISTS'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:26.084396 [ 5687 ] {4edc8582-58b3-4118-a306-24e7bf47ef9a} executeQuery: Code: 47. DB::Exception: Missing columns: 'JSON_QUERY' while processing query: 'SELECT JSON_QUERY', required columns: 'JSON_QUERY'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT JSON_QUERY;) 2026.10.27 19:25:26.086037 [ 5687 ] {4edc8582-58b3-4118-a306-24e7bf47ef9a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'JSON_QUERY' while processing query: 'SELECT JSON_QUERY', required columns: 'JSON_QUERY'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:26.106095 [ 5705 ] {65f944f3-dbaf-4b0f-be25-28cb44a562cb} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 200.17 MiB (attempt to allocate chunk of 1194400 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38882) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactStringsEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::(anonymous namespace)::getBlockSortPermutationImpl(DB::Block const&, DB::SortDescription const&, DB::IColumn::PermutationSortStability, unsigned long, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa25639 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa2460c in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:26.106321 [ 4287 ] {e0c021f0-ea97-4457-8495-b7b9452c3536} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.39 GiB (attempt to allocate chunk of 1193032 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38838) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnFixedString.cpp:339: COW::immutable_ptr DB::ColumnFixedString::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0adfba in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnFixedString.cpp:314: DB::ColumnFixedString::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0720bc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa24844 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:26.127885 [ 5687 ] {02f12b09-67c4-4080-9885-3346a5e1bb77} executeQuery: Code: 47. DB::Exception: Missing columns: 'JSON_VALUE' while processing query: 'SELECT JSON_VALUE', required columns: 'JSON_VALUE'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT JSON_VALUE;) 2026.10.27 19:25:26.134030 [ 5687 ] {02f12b09-67c4-4080-9885-3346a5e1bb77} TCPHandler: Code: 47. DB::Exception: Missing columns: 'JSON_VALUE' while processing query: 'SELECT JSON_VALUE', required columns: 'JSON_VALUE'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:26.190596 [ 5687 ] {f8a6e399-e853-48bd-ad74-00bcb233bc45} executeQuery: Code: 47. DB::Exception: Missing columns: 'L1Distance' while processing query: 'SELECT L1Distance', required columns: 'L1Distance'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT L1Distance;) 2026.10.27 19:25:26.195670 [ 5687 ] {f8a6e399-e853-48bd-ad74-00bcb233bc45} TCPHandler: Code: 47. DB::Exception: Missing columns: 'L1Distance' while processing query: 'SELECT L1Distance', required columns: 'L1Distance'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:26.233698 [ 5687 ] {066a3dc0-537e-46cc-9c3e-b35c48278bad} executeQuery: Code: 47. DB::Exception: Missing columns: 'L1Norm' while processing query: 'SELECT L1Norm', required columns: 'L1Norm'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT L1Norm;) 2026.10.27 19:25:26.239545 [ 5687 ] {066a3dc0-537e-46cc-9c3e-b35c48278bad} TCPHandler: Code: 47. DB::Exception: Missing columns: 'L1Norm' while processing query: 'SELECT L1Norm', required columns: 'L1Norm'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:26.294680 [ 5687 ] {b1187ab1-3c35-414f-9907-c5fb41bfb8b7} executeQuery: Code: 47. DB::Exception: Missing columns: 'L1Normalize' while processing query: 'SELECT L1Normalize', required columns: 'L1Normalize'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT L1Normalize;) 2026.10.27 19:25:26.299727 [ 5687 ] {b1187ab1-3c35-414f-9907-c5fb41bfb8b7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'L1Normalize' while processing query: 'SELECT L1Normalize', required columns: 'L1Normalize'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:26.352707 [ 5687 ] {46cb71c6-b5fe-447a-afc5-a773caf539a1} executeQuery: Code: 47. DB::Exception: Missing columns: 'L2Distance' while processing query: 'SELECT L2Distance', required columns: 'L2Distance'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT L2Distance;) 2026.10.27 19:25:26.358877 [ 5687 ] {46cb71c6-b5fe-447a-afc5-a773caf539a1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'L2Distance' while processing query: 'SELECT L2Distance', required columns: 'L2Distance'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:26.398395 [ 5687 ] {fb74dec6-dd7f-44c5-92bc-d0b67da0f544} executeQuery: Code: 47. DB::Exception: Missing columns: 'L2Norm' while processing query: 'SELECT L2Norm', required columns: 'L2Norm'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT L2Norm;) 2026.10.27 19:25:26.403797 [ 5687 ] {fb74dec6-dd7f-44c5-92bc-d0b67da0f544} TCPHandler: Code: 47. DB::Exception: Missing columns: 'L2Norm' while processing query: 'SELECT L2Norm', required columns: 'L2Norm'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:26.425943 [ 5687 ] {f1c9cdf6-7fd3-4e0f-9e78-2a7cc0afb195} executeQuery: Code: 47. DB::Exception: Missing columns: 'L2Normalize' while processing query: 'SELECT L2Normalize', required columns: 'L2Normalize'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT L2Normalize;) 2026.10.27 19:25:26.429965 [ 5687 ] {f1c9cdf6-7fd3-4e0f-9e78-2a7cc0afb195} TCPHandler: Code: 47. DB::Exception: Missing columns: 'L2Normalize' while processing query: 'SELECT L2Normalize', required columns: 'L2Normalize'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:26.568629 [ 5687 ] {46fff124-bcc1-409a-85ee-e46c6c86f733} executeQuery: Code: 47. DB::Exception: Missing columns: 'L2SquaredDistance' while processing query: 'SELECT L2SquaredDistance', required columns: 'L2SquaredDistance'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT L2SquaredDistance;) 2026.10.27 19:25:26.573725 [ 5687 ] {46fff124-bcc1-409a-85ee-e46c6c86f733} TCPHandler: Code: 47. DB::Exception: Missing columns: 'L2SquaredDistance' while processing query: 'SELECT L2SquaredDistance', required columns: 'L2SquaredDistance'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:26.619332 [ 5687 ] {b51133db-e33b-407f-9c01-ddcb66d396b8} executeQuery: Code: 47. DB::Exception: Missing columns: 'L2SquaredNorm' while processing query: 'SELECT L2SquaredNorm', required columns: 'L2SquaredNorm'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT L2SquaredNorm;) 2026.10.27 19:25:26.632343 [ 5687 ] {b51133db-e33b-407f-9c01-ddcb66d396b8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'L2SquaredNorm' while processing query: 'SELECT L2SquaredNorm', required columns: 'L2SquaredNorm'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:26.758621 [ 5687 ] {2b34dc43-5dc2-4354-9666-1010a3295728} executeQuery: Code: 47. DB::Exception: Missing columns: 'LAST_DAY' while processing query: 'SELECT LAST_DAY', required columns: 'LAST_DAY'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT LAST_DAY;) 2026.10.27 19:25:26.766753 [ 5687 ] {2b34dc43-5dc2-4354-9666-1010a3295728} TCPHandler: Code: 47. DB::Exception: Missing columns: 'LAST_DAY' while processing query: 'SELECT LAST_DAY', required columns: 'LAST_DAY'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:26.797624 [ 5687 ] {2f015c37-1762-4370-9e14-ef30ff120f6b} executeQuery: Code: 47. DB::Exception: Missing columns: 'LinfDistance' while processing query: 'SELECT LinfDistance', required columns: 'LinfDistance'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT LinfDistance;) 2026.10.27 19:25:26.799842 [ 5687 ] {2f015c37-1762-4370-9e14-ef30ff120f6b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'LinfDistance' while processing query: 'SELECT LinfDistance', required columns: 'LinfDistance'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:26.831541 [ 5687 ] {77ccb215-606e-4717-b648-bc109c60d077} executeQuery: Code: 47. DB::Exception: Missing columns: 'LinfNorm' while processing query: 'SELECT LinfNorm', required columns: 'LinfNorm'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT LinfNorm;) 2026.10.27 19:25:26.838999 [ 5687 ] {77ccb215-606e-4717-b648-bc109c60d077} TCPHandler: Code: 47. DB::Exception: Missing columns: 'LinfNorm' while processing query: 'SELECT LinfNorm', required columns: 'LinfNorm'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:26.871126 [ 5687 ] {6a87693d-af22-4b62-945e-a9199f7950b7} executeQuery: Code: 47. DB::Exception: Missing columns: 'LinfNormalize' while processing query: 'SELECT LinfNormalize', required columns: 'LinfNormalize'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT LinfNormalize;) 2026.10.27 19:25:26.877476 [ 5687 ] {6a87693d-af22-4b62-945e-a9199f7950b7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'LinfNormalize' while processing query: 'SELECT LinfNormalize', required columns: 'LinfNormalize'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:26.903849 [ 5687 ] {33262b7c-9d1f-45ae-9ecf-082180435886} executeQuery: Code: 47. DB::Exception: Missing columns: 'LpDistance' while processing query: 'SELECT LpDistance', required columns: 'LpDistance'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT LpDistance;) 2026.10.27 19:25:27.007205 [ 5687 ] {33262b7c-9d1f-45ae-9ecf-082180435886} TCPHandler: Code: 47. DB::Exception: Missing columns: 'LpDistance' while processing query: 'SELECT LpDistance', required columns: 'LpDistance'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:27.147189 [ 5687 ] {f842b31a-9366-47e9-9a90-9b4a83c4c6be} executeQuery: Code: 47. DB::Exception: Missing columns: 'LpNorm' while processing query: 'SELECT LpNorm', required columns: 'LpNorm'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT LpNorm;) 2026.10.27 19:25:27.151372 [ 5687 ] {f842b31a-9366-47e9-9a90-9b4a83c4c6be} TCPHandler: Code: 47. DB::Exception: Missing columns: 'LpNorm' while processing query: 'SELECT LpNorm', required columns: 'LpNorm'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:27.182316 [ 5687 ] {b7bc2ea7-c841-4531-827c-f3e6fb619aeb} executeQuery: Code: 47. DB::Exception: Missing columns: 'LpNormalize' while processing query: 'SELECT LpNormalize', required columns: 'LpNormalize'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT LpNormalize;) 2026.10.27 19:25:27.188139 [ 5687 ] {b7bc2ea7-c841-4531-827c-f3e6fb619aeb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'LpNormalize' while processing query: 'SELECT LpNormalize', required columns: 'LpNormalize'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:27.217191 [ 5687 ] {6bd68961-35fb-46e7-8016-b7cc78f46aa8} executeQuery: Code: 47. DB::Exception: Missing columns: 'MACNumToString' while processing query: 'SELECT MACNumToString', required columns: 'MACNumToString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT MACNumToString;) 2026.10.27 19:25:27.220130 [ 5687 ] {6bd68961-35fb-46e7-8016-b7cc78f46aa8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'MACNumToString' while processing query: 'SELECT MACNumToString', required columns: 'MACNumToString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:27.255462 [ 5687 ] {6da41e4d-5f18-4d36-85f0-9a9b036af1a1} executeQuery: Code: 47. DB::Exception: Missing columns: 'MACStringToNum' while processing query: 'SELECT MACStringToNum', required columns: 'MACStringToNum'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT MACStringToNum;) 2026.10.27 19:25:27.258339 [ 5687 ] {6da41e4d-5f18-4d36-85f0-9a9b036af1a1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'MACStringToNum' while processing query: 'SELECT MACStringToNum', required columns: 'MACStringToNum'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:27.292502 [ 5687 ] {24f333c4-3be5-420a-b9e6-6ee9dedfcbc1} executeQuery: Code: 47. DB::Exception: Missing columns: 'MACStringToOUI' while processing query: 'SELECT MACStringToOUI', required columns: 'MACStringToOUI'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT MACStringToOUI;) 2026.10.27 19:25:27.297685 [ 5687 ] {24f333c4-3be5-420a-b9e6-6ee9dedfcbc1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'MACStringToOUI' while processing query: 'SELECT MACStringToOUI', required columns: 'MACStringToOUI'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:27.299275 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.39 GiB (attempt to allocate chunk of 4198715 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:297: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d65200a in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a4a9253 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:27.427128 [ 5687 ] {389e5b7d-87f1-466e-83b5-f44f1c4d3df8} executeQuery: Code: 47. DB::Exception: Missing columns: 'MAP_FROM_ARRAYS' while processing query: 'SELECT MAP_FROM_ARRAYS', required columns: 'MAP_FROM_ARRAYS'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT MAP_FROM_ARRAYS;) 2026.10.27 19:25:27.435667 [ 5687 ] {389e5b7d-87f1-466e-83b5-f44f1c4d3df8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'MAP_FROM_ARRAYS' while processing query: 'SELECT MAP_FROM_ARRAYS', required columns: 'MAP_FROM_ARRAYS'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:27.466694 [ 5687 ] {249540ec-c1e9-4f94-b3e0-c866440f115e} executeQuery: Code: 47. DB::Exception: Missing columns: 'MD4' while processing query: 'SELECT MD4', required columns: 'MD4'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT MD4;) 2026.10.27 19:25:27.469830 [ 5687 ] {249540ec-c1e9-4f94-b3e0-c866440f115e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'MD4' while processing query: 'SELECT MD4', required columns: 'MD4'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:27.492355 [ 5687 ] {1d852704-6494-45a7-bb25-3e8457b242d1} executeQuery: Code: 47. DB::Exception: Missing columns: 'MD5' while processing query: 'SELECT MD5', required columns: 'MD5'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT MD5;) 2026.10.27 19:25:27.495274 [ 5687 ] {1d852704-6494-45a7-bb25-3e8457b242d1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'MD5' while processing query: 'SELECT MD5', required columns: 'MD5'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:27.514314 [ 5687 ] {09ac9812-c3a1-4ead-9421-e62f8c35ba0c} executeQuery: Code: 47. DB::Exception: Missing columns: 'MINUTE' while processing query: 'SELECT MINUTE', required columns: 'MINUTE'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT MINUTE;) 2026.10.27 19:25:27.519306 [ 5687 ] {09ac9812-c3a1-4ead-9421-e62f8c35ba0c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'MINUTE' while processing query: 'SELECT MINUTE', required columns: 'MINUTE'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:27.640847 [ 5687 ] {49129543-72ca-4ed1-8730-3c1a0e9ac0f2} executeQuery: Code: 47. DB::Exception: Missing columns: 'MONTH' while processing query: 'SELECT MONTH', required columns: 'MONTH'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT MONTH;) 2026.10.27 19:25:27.645126 [ 5687 ] {49129543-72ca-4ed1-8730-3c1a0e9ac0f2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'MONTH' while processing query: 'SELECT MONTH', required columns: 'MONTH'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:27.681081 [ 5687 ] {46c44bdd-45d0-4b87-a3bc-2095f5ba2cdc} executeQuery: Code: 47. DB::Exception: Missing columns: 'OCTET_LENGTH' while processing query: 'SELECT OCTET_LENGTH', required columns: 'OCTET_LENGTH'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT OCTET_LENGTH;) 2026.10.27 19:25:27.685340 [ 5687 ] {46c44bdd-45d0-4b87-a3bc-2095f5ba2cdc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'OCTET_LENGTH' while processing query: 'SELECT OCTET_LENGTH', required columns: 'OCTET_LENGTH'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:27.718751 [ 5687 ] {68b09ffa-938f-4323-b5af-b9e515fd9068} executeQuery: Code: 47. DB::Exception: Missing columns: 'QUARTER' while processing query: 'SELECT QUARTER', required columns: 'QUARTER'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT QUARTER;) 2026.10.27 19:25:27.722191 [ 5687 ] {68b09ffa-938f-4323-b5af-b9e515fd9068} TCPHandler: Code: 47. DB::Exception: Missing columns: 'QUARTER' while processing query: 'SELECT QUARTER', required columns: 'QUARTER'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:27.853439 [ 5687 ] {0d05994b-d7aa-450f-9e2c-e6333743d73c} executeQuery: Code: 47. DB::Exception: Missing columns: 'REGEXP_EXTRACT' while processing query: 'SELECT REGEXP_EXTRACT', required columns: 'REGEXP_EXTRACT'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT REGEXP_EXTRACT;) 2026.10.27 19:25:27.858740 [ 5687 ] {0d05994b-d7aa-450f-9e2c-e6333743d73c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'REGEXP_EXTRACT' while processing query: 'SELECT REGEXP_EXTRACT', required columns: 'REGEXP_EXTRACT'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:27.984489 [ 5687 ] {13efbeff-7278-499e-a81b-0149dfbc8b6a} executeQuery: Code: 47. DB::Exception: Missing columns: 'REGEXP_MATCHES' while processing query: 'SELECT REGEXP_MATCHES', required columns: 'REGEXP_MATCHES'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT REGEXP_MATCHES;) 2026.10.27 19:25:27.988084 [ 5687 ] {13efbeff-7278-499e-a81b-0149dfbc8b6a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'REGEXP_MATCHES' while processing query: 'SELECT REGEXP_MATCHES', required columns: 'REGEXP_MATCHES'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:28.117727 [ 5687 ] {458f0714-2e54-405b-bc8e-a56dcc7b3d4e} executeQuery: Code: 47. DB::Exception: Missing columns: 'REGEXP_REPLACE' while processing query: 'SELECT REGEXP_REPLACE', required columns: 'REGEXP_REPLACE'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT REGEXP_REPLACE;) 2026.10.27 19:25:28.120272 [ 5687 ] {458f0714-2e54-405b-bc8e-a56dcc7b3d4e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'REGEXP_REPLACE' while processing query: 'SELECT REGEXP_REPLACE', required columns: 'REGEXP_REPLACE'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:28.253490 [ 5687 ] {a1dd67c5-ca05-4142-86cd-a1d0b9e04833} executeQuery: Code: 47. DB::Exception: Missing columns: 'SCHEMA' while processing query: 'SELECT SCHEMA', required columns: 'SCHEMA'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT SCHEMA;) 2026.10.27 19:25:28.257814 [ 5687 ] {a1dd67c5-ca05-4142-86cd-a1d0b9e04833} TCPHandler: Code: 47. DB::Exception: Missing columns: 'SCHEMA' while processing query: 'SELECT SCHEMA', required columns: 'SCHEMA'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:28.380457 [ 5687 ] {b1a8172b-b683-47c3-8bf2-c317fa12ce48} executeQuery: Code: 47. DB::Exception: Missing columns: 'SECOND' while processing query: 'SELECT SECOND', required columns: 'SECOND'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT SECOND;) 2026.10.27 19:25:28.383275 [ 5687 ] {b1a8172b-b683-47c3-8bf2-c317fa12ce48} TCPHandler: Code: 47. DB::Exception: Missing columns: 'SECOND' while processing query: 'SELECT SECOND', required columns: 'SECOND'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:28.413953 [ 5687 ] {50bccc1d-36d1-4a7a-88e2-5766ecda7b49} executeQuery: Code: 47. DB::Exception: Missing columns: 'SHA1' while processing query: 'SELECT SHA1', required columns: 'SHA1'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT SHA1;) 2026.10.27 19:25:28.522090 [ 5687 ] {50bccc1d-36d1-4a7a-88e2-5766ecda7b49} TCPHandler: Code: 47. DB::Exception: Missing columns: 'SHA1' while processing query: 'SELECT SHA1', required columns: 'SHA1'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:28.541782 [ 5687 ] {9783359c-8d09-4d6f-9881-9cd967abbecc} executeQuery: Code: 47. DB::Exception: Missing columns: 'SHA224' while processing query: 'SELECT SHA224', required columns: 'SHA224'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT SHA224;) 2026.10.27 19:25:28.545534 [ 5687 ] {9783359c-8d09-4d6f-9881-9cd967abbecc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'SHA224' while processing query: 'SELECT SHA224', required columns: 'SHA224'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:28.568383 [ 5687 ] {0bf10607-cd80-47c3-9e96-895923d740ae} executeQuery: Code: 47. DB::Exception: Missing columns: 'SHA256' while processing query: 'SELECT SHA256', required columns: 'SHA256'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT SHA256;) 2026.10.27 19:25:28.571995 [ 5687 ] {0bf10607-cd80-47c3-9e96-895923d740ae} TCPHandler: Code: 47. DB::Exception: Missing columns: 'SHA256' while processing query: 'SELECT SHA256', required columns: 'SHA256'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:28.590161 [ 5687 ] {1d465087-e30e-41d6-be7f-0e061a806f0d} executeQuery: Code: 47. DB::Exception: Missing columns: 'SHA384' while processing query: 'SELECT SHA384', required columns: 'SHA384'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT SHA384;) 2026.10.27 19:25:28.592795 [ 5687 ] {1d465087-e30e-41d6-be7f-0e061a806f0d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'SHA384' while processing query: 'SELECT SHA384', required columns: 'SHA384'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:28.615725 [ 5687 ] {c0216ccc-3fc0-49c1-863a-e380e8c46281} executeQuery: Code: 47. DB::Exception: Missing columns: 'SHA512' while processing query: 'SELECT SHA512', required columns: 'SHA512'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT SHA512;) 2026.10.27 19:25:28.618004 [ 5687 ] {c0216ccc-3fc0-49c1-863a-e380e8c46281} TCPHandler: Code: 47. DB::Exception: Missing columns: 'SHA512' while processing query: 'SELECT SHA512', required columns: 'SHA512'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:28.670830 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.38 GiB (attempt to allocate chunk of 5017921 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:28.692437 [ 5687 ] {9c739b77-e603-43d8-bde8-fa9c37f7e787} executeQuery: Code: 47. DB::Exception: Missing columns: 'STDDEV_POP' while processing query: 'SELECT STDDEV_POP', required columns: 'STDDEV_POP'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT STDDEV_POP;) 2026.10.27 19:25:28.703646 [ 5687 ] {9c739b77-e603-43d8-bde8-fa9c37f7e787} TCPHandler: Code: 47. DB::Exception: Missing columns: 'STDDEV_POP' while processing query: 'SELECT STDDEV_POP', required columns: 'STDDEV_POP'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:28.739407 [ 5687 ] {201337f3-847d-4aa4-8f65-50a9e8754255} executeQuery: Code: 47. DB::Exception: Missing columns: 'STDDEV_SAMP' while processing query: 'SELECT STDDEV_SAMP', required columns: 'STDDEV_SAMP'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT STDDEV_SAMP;) 2026.10.27 19:25:28.753264 [ 5687 ] {201337f3-847d-4aa4-8f65-50a9e8754255} TCPHandler: Code: 47. DB::Exception: Missing columns: 'STDDEV_SAMP' while processing query: 'SELECT STDDEV_SAMP', required columns: 'STDDEV_SAMP'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:28.818730 [ 5687 ] {a1a51cb8-35bc-4c97-bfba-e03b14113a21} executeQuery: Code: 47. DB::Exception: Missing columns: 'SUBSTRING_INDEX' while processing query: 'SELECT SUBSTRING_INDEX', required columns: 'SUBSTRING_INDEX'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT SUBSTRING_INDEX;) 2026.10.27 19:25:28.825096 [ 5687 ] {a1a51cb8-35bc-4c97-bfba-e03b14113a21} TCPHandler: Code: 47. DB::Exception: Missing columns: 'SUBSTRING_INDEX' while processing query: 'SELECT SUBSTRING_INDEX', required columns: 'SUBSTRING_INDEX'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:28.952739 [ 5687 ] {43be26eb-807e-471c-8666-f34c98763619} executeQuery: Code: 47. DB::Exception: Missing columns: 'SVG' while processing query: 'SELECT SVG', required columns: 'SVG'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT SVG;) 2026.10.27 19:25:28.958995 [ 5687 ] {43be26eb-807e-471c-8666-f34c98763619} TCPHandler: Code: 47. DB::Exception: Missing columns: 'SVG' while processing query: 'SELECT SVG', required columns: 'SVG'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:29.098686 [ 5687 ] {eaca5d0d-20f4-4493-974b-2b546e447426} executeQuery: Code: 47. DB::Exception: Missing columns: 'TIMESTAMP_DIFF' while processing query: 'SELECT TIMESTAMP_DIFF', required columns: 'TIMESTAMP_DIFF'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT TIMESTAMP_DIFF;) 2026.10.27 19:25:29.110205 [ 5687 ] {eaca5d0d-20f4-4493-974b-2b546e447426} TCPHandler: Code: 47. DB::Exception: Missing columns: 'TIMESTAMP_DIFF' while processing query: 'SELECT TIMESTAMP_DIFF', required columns: 'TIMESTAMP_DIFF'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:29.151712 [ 5687 ] {0b7de9ba-6213-4156-88e4-f91a32df1014} executeQuery: Code: 47. DB::Exception: Missing columns: 'TO_BASE64' while processing query: 'SELECT TO_BASE64', required columns: 'TO_BASE64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT TO_BASE64;) 2026.10.27 19:25:29.361558 [ 5687 ] {0b7de9ba-6213-4156-88e4-f91a32df1014} TCPHandler: Code: 47. DB::Exception: Missing columns: 'TO_BASE64' while processing query: 'SELECT TO_BASE64', required columns: 'TO_BASE64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:29.491844 [ 5687 ] {15909a2c-fd72-4632-ac15-9281780e84c5} executeQuery: Code: 47. DB::Exception: Missing columns: 'TO_UNIXTIME' while processing query: 'SELECT TO_UNIXTIME', required columns: 'TO_UNIXTIME'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT TO_UNIXTIME;) 2026.10.27 19:25:29.498489 [ 5687 ] {15909a2c-fd72-4632-ac15-9281780e84c5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'TO_UNIXTIME' while processing query: 'SELECT TO_UNIXTIME', required columns: 'TO_UNIXTIME'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:29.529055 [ 5687 ] {90c73edb-1370-4957-b992-c3909ad40a6a} executeQuery: Code: 47. DB::Exception: Missing columns: 'TimeDiff' while processing query: 'SELECT TimeDiff', required columns: 'TimeDiff'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT TimeDiff;) 2026.10.27 19:25:29.531172 [ 5687 ] {90c73edb-1370-4957-b992-c3909ad40a6a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'TimeDiff' while processing query: 'SELECT TimeDiff', required columns: 'TimeDiff'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:29.596597 [ 5687 ] {d21f9bfd-37c2-4a7b-ab4b-1454c88598bb} executeQuery: Code: 47. DB::Exception: Missing columns: 'ULIDStringToDateTime' while processing query: 'SELECT ULIDStringToDateTime', required columns: 'ULIDStringToDateTime'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ULIDStringToDateTime;) 2026.10.27 19:25:29.602129 [ 5687 ] {d21f9bfd-37c2-4a7b-ab4b-1454c88598bb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ULIDStringToDateTime' while processing query: 'SELECT ULIDStringToDateTime', required columns: 'ULIDStringToDateTime'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:29.607770 [ 2292 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::PartLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.38 GiB (attempt to allocate chunk of 4198207 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d102e0d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a401a53 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3fed42 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c27d07 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c27bdf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:29.607875 [ 5705 ] {65f944f3-dbaf-4b0f-be25-28cb44a562cb} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 200.17 MiB (attempt to allocate chunk of 1194400 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::(anonymous namespace)::getBlockSortPermutationImpl(DB::Block const&, DB::SortDescription const&, DB::IColumn::PermutationSortStability, unsigned long, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa25639 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa2460c in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:29.607933 [ 5708 ] {d1847625-0e8b-4527-8775-146cd01f0bab} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 10.00 million, current rows: 13.11 million: While executing MergeTreeThread. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38864) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:29.609068 [ 2239 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_53_10}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 1050124 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x0000000009415a91 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:322: DB::ColumnVector::insertDefault() @ 0x000000003b2a1fd5 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnSparse.cpp:0: DB::ColumnSparse::ColumnSparse(COW::mutable_ptr&&) @ 0x000000003b186f53 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: DB::IDataType::createColumn(DB::ISerialization const&) const @ 0x0000000036dbb55a in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:140: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4597fa in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:29.609482 [ 2242 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_52_95_7}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.38 GiB (attempt to allocate chunk of 1677999 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x00000000209e2844 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromS3::reallocateFirstBuffer() @ 0x00000000361edabc in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:126: DB::WriteBufferFromS3::nextImpl() @ 0x00000000361ec8a2 in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBuffer.h:60: DB::WriteBufferFromFileDecorator::nextImpl() @ 0x000000003584b666 in /usr/bin/clickhouse 13. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HashingWriteBuffer::nextImpl() @ 0x000000003cb90e85 in /usr/bin/clickhouse 14. DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000941dcac in /usr/bin/clickhouse 15. ./build_docker/./src/Compression/CompressedWriteBuffer.cpp:58: DB::CompressedWriteBuffer::nextImpl() @ 0x0000000036895c79 in /usr/bin/clickhouse 16. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HashingWriteBuffer::nextImpl() @ 0x000000003cb90e85 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/WriteBuffer.h:60: void std::__function::__policy_invoker::__call_impl, std::allocator>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d158779 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 19. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::getCurrentMarksForColumn(DB::NameAndTypePair const&, std::set, std::allocator>&) @ 0x000000003d14d4d0 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::writeColumn(DB::NameAndTypePair const&, DB::IColumn const&, std::set, std::allocator>&, std::vector> const&) @ 0x000000003d148dd2 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:251: DB::MergeTreeDataPartWriterWide::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d14255b in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::write(DB::Block const&) @ 0x000000003d648a09 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbbb02 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:29.610265 [ 4287 ] {e0c021f0-ea97-4457-8495-b7b9452c3536} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.39 GiB (attempt to allocate chunk of 1193032 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnFixedString.cpp:339: COW::immutable_ptr DB::ColumnFixedString::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0adfba in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnFixedString.cpp:314: DB::ColumnFixedString::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0720bc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa24844 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:29.610287 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.38 GiB (attempt to allocate chunk of 4198715 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:281: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d6516b7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a471453 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:29.610276 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.38 GiB (attempt to allocate chunk of 4198715 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:281: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d6516b7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3ef053 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:29.782329 [ 2241 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_1_71_11}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1256095 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:87: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13f899 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:29.784837 [ 5687 ] {a4657083-4f4a-45de-9092-ea67d0c0239c} executeQuery: Code: 47. DB::Exception: Missing columns: 'URLHash' while processing query: 'SELECT URLHash', required columns: 'URLHash'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT URLHash;) 2026.10.27 19:25:29.792939 [ 5687 ] {a4657083-4f4a-45de-9092-ea67d0c0239c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'URLHash' while processing query: 'SELECT URLHash', required columns: 'URLHash'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:29.971326 [ 5708 ] {d1847625-0e8b-4527-8775-146cd01f0bab} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 10.00 million, current rows: 13.11 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:30.051840 [ 5687 ] {c5b44d23-529d-4be3-9486-1f725411bb96} executeQuery: Code: 47. DB::Exception: Missing columns: 'URLHierarchy' while processing query: 'SELECT URLHierarchy', required columns: 'URLHierarchy'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT URLHierarchy;) 2026.10.27 19:25:30.063555 [ 5687 ] {c5b44d23-529d-4be3-9486-1f725411bb96} TCPHandler: Code: 47. DB::Exception: Missing columns: 'URLHierarchy' while processing query: 'SELECT URLHierarchy', required columns: 'URLHierarchy'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:30.164755 [ 5687 ] {e74c2d7f-6b3d-4212-ae60-0da3cd098f66} executeQuery: Code: 47. DB::Exception: Missing columns: 'URLPathHierarchy' while processing query: 'SELECT URLPathHierarchy', required columns: 'URLPathHierarchy'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT URLPathHierarchy;) 2026.10.27 19:25:30.180066 [ 5687 ] {e74c2d7f-6b3d-4212-ae60-0da3cd098f66} TCPHandler: Code: 47. DB::Exception: Missing columns: 'URLPathHierarchy' while processing query: 'SELECT URLPathHierarchy', required columns: 'URLPathHierarchy'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:30.278905 [ 5687 ] {667712a1-8646-4d88-a447-16719415b62f} executeQuery: Code: 47. DB::Exception: Missing columns: 'UTCTimestamp' while processing query: 'SELECT UTCTimestamp', required columns: 'UTCTimestamp'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT UTCTimestamp;) 2026.10.27 19:25:30.294943 [ 5687 ] {667712a1-8646-4d88-a447-16719415b62f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'UTCTimestamp' while processing query: 'SELECT UTCTimestamp', required columns: 'UTCTimestamp'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:30.374242 [ 5687 ] {7783e1c5-2962-4a9b-9470-d5521e0db3d9} executeQuery: Code: 47. DB::Exception: Missing columns: 'UTC_timestamp' while processing query: 'SELECT UTC_timestamp', required columns: 'UTC_timestamp'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT UTC_timestamp;) 2026.10.27 19:25:30.385745 [ 5687 ] {7783e1c5-2962-4a9b-9470-d5521e0db3d9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'UTC_timestamp' while processing query: 'SELECT UTC_timestamp', required columns: 'UTC_timestamp'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:30.494708 [ 5687 ] {d15e167a-a0cf-43a5-9f35-935c871e5163} executeQuery: Code: 47. DB::Exception: Missing columns: 'UUIDNumToString' while processing query: 'SELECT UUIDNumToString', required columns: 'UUIDNumToString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT UUIDNumToString;) 2026.10.27 19:25:30.503233 [ 5687 ] {d15e167a-a0cf-43a5-9f35-935c871e5163} TCPHandler: Code: 47. DB::Exception: Missing columns: 'UUIDNumToString' while processing query: 'SELECT UUIDNumToString', required columns: 'UUIDNumToString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:30.586385 [ 5687 ] {80e1488a-518b-418c-aa1f-b69bcbe3c03d} executeQuery: Code: 47. DB::Exception: Missing columns: 'UUIDStringToNum' while processing query: 'SELECT UUIDStringToNum', required columns: 'UUIDStringToNum'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT UUIDStringToNum;) 2026.10.27 19:25:30.607045 [ 5687 ] {80e1488a-518b-418c-aa1f-b69bcbe3c03d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'UUIDStringToNum' while processing query: 'SELECT UUIDStringToNum', required columns: 'UUIDStringToNum'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:30.760761 [ 5687 ] {01ec40e9-7567-485e-8453-a8a5f79d9ca9} executeQuery: Code: 47. DB::Exception: Missing columns: 'VAR_POP' while processing query: 'SELECT VAR_POP', required columns: 'VAR_POP'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT VAR_POP;) 2026.10.27 19:25:30.778002 [ 5687 ] {01ec40e9-7567-485e-8453-a8a5f79d9ca9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'VAR_POP' while processing query: 'SELECT VAR_POP', required columns: 'VAR_POP'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:31.055164 [ 5687 ] {5286c2db-1d3c-440f-8aec-f676965393b5} executeQuery: Code: 47. DB::Exception: Missing columns: 'VAR_SAMP' while processing query: 'SELECT VAR_SAMP', required columns: 'VAR_SAMP'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT VAR_SAMP;) 2026.10.27 19:25:31.066422 [ 5687 ] {5286c2db-1d3c-440f-8aec-f676965393b5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'VAR_SAMP' while processing query: 'SELECT VAR_SAMP', required columns: 'VAR_SAMP'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:31.161148 [ 5687 ] {3b72510b-8dcd-4030-89ef-ec5d0c2f11f7} executeQuery: Code: 47. DB::Exception: Missing columns: 'YEAR' while processing query: 'SELECT YEAR', required columns: 'YEAR'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT YEAR;) 2026.10.27 19:25:31.169114 [ 5687 ] {3b72510b-8dcd-4030-89ef-ec5d0c2f11f7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'YEAR' while processing query: 'SELECT YEAR', required columns: 'YEAR'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:31.194181 [ 5687 ] {0765bbfa-c1be-4b46-bc98-2f6b36951b6c} executeQuery: Code: 47. DB::Exception: Missing columns: '_CAST' while processing query: 'SELECT _CAST', required columns: '_CAST'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT _CAST;) 2026.10.27 19:25:31.201646 [ 5687 ] {0765bbfa-c1be-4b46-bc98-2f6b36951b6c} TCPHandler: Code: 47. DB::Exception: Missing columns: '_CAST' while processing query: 'SELECT _CAST', required columns: '_CAST'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:31.238594 [ 5687 ] {6aeaf325-22a8-489e-bcf6-acf0c331d28e} executeQuery: Code: 47. DB::Exception: Missing columns: '__bitBoolMaskAnd' while processing query: 'SELECT __bitBoolMaskAnd', required columns: '__bitBoolMaskAnd'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT __bitBoolMaskAnd;) 2026.10.27 19:25:31.242050 [ 5687 ] {6aeaf325-22a8-489e-bcf6-acf0c331d28e} TCPHandler: Code: 47. DB::Exception: Missing columns: '__bitBoolMaskAnd' while processing query: 'SELECT __bitBoolMaskAnd', required columns: '__bitBoolMaskAnd'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:31.263467 [ 5687 ] {60c77d61-cc3b-4549-942c-49e4ae86254d} executeQuery: Code: 47. DB::Exception: Missing columns: '__bitBoolMaskOr' while processing query: 'SELECT __bitBoolMaskOr', required columns: '__bitBoolMaskOr'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT __bitBoolMaskOr;) 2026.10.27 19:25:31.265914 [ 5687 ] {60c77d61-cc3b-4549-942c-49e4ae86254d} TCPHandler: Code: 47. DB::Exception: Missing columns: '__bitBoolMaskOr' while processing query: 'SELECT __bitBoolMaskOr', required columns: '__bitBoolMaskOr'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:31.285801 [ 5687 ] {4b3d8db2-e72a-4c56-bf78-99371065caa0} executeQuery: Code: 47. DB::Exception: Missing columns: '__bitSwapLastTwo' while processing query: 'SELECT __bitSwapLastTwo', required columns: '__bitSwapLastTwo'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT __bitSwapLastTwo;) 2026.10.27 19:25:31.287385 [ 5687 ] {4b3d8db2-e72a-4c56-bf78-99371065caa0} TCPHandler: Code: 47. DB::Exception: Missing columns: '__bitSwapLastTwo' while processing query: 'SELECT __bitSwapLastTwo', required columns: '__bitSwapLastTwo'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:31.304491 [ 5687 ] {45a5be05-fd83-4b7b-95b5-dd09eb89fc7b} executeQuery: Code: 47. DB::Exception: Missing columns: '__bitWrapperFunc' while processing query: 'SELECT __bitWrapperFunc', required columns: '__bitWrapperFunc'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT __bitWrapperFunc;) 2026.10.27 19:25:31.306090 [ 5687 ] {45a5be05-fd83-4b7b-95b5-dd09eb89fc7b} TCPHandler: Code: 47. DB::Exception: Missing columns: '__bitWrapperFunc' while processing query: 'SELECT __bitWrapperFunc', required columns: '__bitWrapperFunc'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:31.435009 [ 5687 ] {1f102c5c-c087-47fb-a725-04487204b74f} executeQuery: Code: 47. DB::Exception: Missing columns: '__getScalar' while processing query: 'SELECT __getScalar', required columns: '__getScalar'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT __getScalar;) 2026.10.27 19:25:31.437752 [ 5687 ] {1f102c5c-c087-47fb-a725-04487204b74f} TCPHandler: Code: 47. DB::Exception: Missing columns: '__getScalar' while processing query: 'SELECT __getScalar', required columns: '__getScalar'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:31.470542 [ 5687 ] {56a43047-2016-49ec-8bd8-0ab843b95d65} executeQuery: Code: 47. DB::Exception: Missing columns: 'abs' while processing query: 'SELECT abs', required columns: 'abs'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT abs;) 2026.10.27 19:25:31.473514 [ 5687 ] {56a43047-2016-49ec-8bd8-0ab843b95d65} TCPHandler: Code: 47. DB::Exception: Missing columns: 'abs' while processing query: 'SELECT abs', required columns: 'abs'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:31.708785 [ 5687 ] {f8024aae-2bdc-4c99-ab75-5f6bc81ad9e3} executeQuery: Code: 47. DB::Exception: Missing columns: 'accurateCast' while processing query: 'SELECT accurateCast', required columns: 'accurateCast'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT accurateCast;) 2026.10.27 19:25:31.711593 [ 5687 ] {f8024aae-2bdc-4c99-ab75-5f6bc81ad9e3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'accurateCast' while processing query: 'SELECT accurateCast', required columns: 'accurateCast'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:31.744953 [ 5687 ] {5cf0fad4-c199-4d1a-aaa0-41700ff104a3} executeQuery: Code: 47. DB::Exception: Missing columns: 'accurateCastOrDefault' while processing query: 'SELECT accurateCastOrDefault', required columns: 'accurateCastOrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT accurateCastOrDefault;) 2026.10.27 19:25:31.747533 [ 5687 ] {5cf0fad4-c199-4d1a-aaa0-41700ff104a3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'accurateCastOrDefault' while processing query: 'SELECT accurateCastOrDefault', required columns: 'accurateCastOrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:31.779973 [ 5687 ] {7bdd897e-8dfa-41c4-829e-263a2eb0a388} executeQuery: Code: 47. DB::Exception: Missing columns: 'accurateCastOrNull' while processing query: 'SELECT accurateCastOrNull', required columns: 'accurateCastOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT accurateCastOrNull;) 2026.10.27 19:25:31.783127 [ 5687 ] {7bdd897e-8dfa-41c4-829e-263a2eb0a388} TCPHandler: Code: 47. DB::Exception: Missing columns: 'accurateCastOrNull' while processing query: 'SELECT accurateCastOrNull', required columns: 'accurateCastOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:31.811879 [ 5687 ] {ffc3587c-4331-49f2-b695-0171cae27c02} executeQuery: Code: 47. DB::Exception: Missing columns: 'acos' while processing query: 'SELECT acos', required columns: 'acos'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT acos;) 2026.10.27 19:25:31.814004 [ 5687 ] {ffc3587c-4331-49f2-b695-0171cae27c02} TCPHandler: Code: 47. DB::Exception: Missing columns: 'acos' while processing query: 'SELECT acos', required columns: 'acos'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:31.841399 [ 5687 ] {933461fc-309f-466e-a534-3437d678a0c2} executeQuery: Code: 47. DB::Exception: Missing columns: 'acosh' while processing query: 'SELECT acosh', required columns: 'acosh'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT acosh;) 2026.10.27 19:25:31.843554 [ 5687 ] {933461fc-309f-466e-a534-3437d678a0c2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'acosh' while processing query: 'SELECT acosh', required columns: 'acosh'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:31.870574 [ 5687 ] {09d28ed1-72b4-495c-a020-9f5526e69562} executeQuery: Code: 47. DB::Exception: Missing columns: 'addDays' while processing query: 'SELECT addDays', required columns: 'addDays'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT addDays;) 2026.10.27 19:25:31.872668 [ 5687 ] {09d28ed1-72b4-495c-a020-9f5526e69562} TCPHandler: Code: 47. DB::Exception: Missing columns: 'addDays' while processing query: 'SELECT addDays', required columns: 'addDays'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:31.896881 [ 5687 ] {db976fde-b94b-4354-833b-123054289f03} executeQuery: Code: 47. DB::Exception: Missing columns: 'addHours' while processing query: 'SELECT addHours', required columns: 'addHours'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT addHours;) 2026.10.27 19:25:31.898534 [ 5687 ] {db976fde-b94b-4354-833b-123054289f03} TCPHandler: Code: 47. DB::Exception: Missing columns: 'addHours' while processing query: 'SELECT addHours', required columns: 'addHours'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:31.927745 [ 5687 ] {fabfe8d3-4a5c-49dd-82ef-83b77d9e3025} executeQuery: Code: 47. DB::Exception: Missing columns: 'addInterval' while processing query: 'SELECT addInterval', required columns: 'addInterval'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT addInterval;) 2026.10.27 19:25:32.031405 [ 5687 ] {fabfe8d3-4a5c-49dd-82ef-83b77d9e3025} TCPHandler: Code: 47. DB::Exception: Missing columns: 'addInterval' while processing query: 'SELECT addInterval', required columns: 'addInterval'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:32.065936 [ 5687 ] {140a82c8-bcfb-4c6b-ad1b-03a976ad78af} executeQuery: Code: 47. DB::Exception: Missing columns: 'addMicroseconds' while processing query: 'SELECT addMicroseconds', required columns: 'addMicroseconds'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT addMicroseconds;) 2026.10.27 19:25:32.068875 [ 5687 ] {140a82c8-bcfb-4c6b-ad1b-03a976ad78af} TCPHandler: Code: 47. DB::Exception: Missing columns: 'addMicroseconds' while processing query: 'SELECT addMicroseconds', required columns: 'addMicroseconds'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:32.101359 [ 5687 ] {f980ae1e-06b3-4c11-96de-451b1a62814e} executeQuery: Code: 47. DB::Exception: Missing columns: 'addMilliseconds' while processing query: 'SELECT addMilliseconds', required columns: 'addMilliseconds'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT addMilliseconds;) 2026.10.27 19:25:32.103994 [ 5687 ] {f980ae1e-06b3-4c11-96de-451b1a62814e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'addMilliseconds' while processing query: 'SELECT addMilliseconds', required columns: 'addMilliseconds'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:32.136643 [ 5687 ] {2288e769-57a6-4c05-901a-f8e58d0fd76c} executeQuery: Code: 47. DB::Exception: Missing columns: 'addMinutes' while processing query: 'SELECT addMinutes', required columns: 'addMinutes'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT addMinutes;) 2026.10.27 19:25:32.139485 [ 5687 ] {2288e769-57a6-4c05-901a-f8e58d0fd76c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'addMinutes' while processing query: 'SELECT addMinutes', required columns: 'addMinutes'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:32.171642 [ 5687 ] {e5108903-bf2a-41a8-a60b-7fd410519160} executeQuery: Code: 47. DB::Exception: Missing columns: 'addMonths' while processing query: 'SELECT addMonths', required columns: 'addMonths'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT addMonths;) 2026.10.27 19:25:32.174629 [ 5687 ] {e5108903-bf2a-41a8-a60b-7fd410519160} TCPHandler: Code: 47. DB::Exception: Missing columns: 'addMonths' while processing query: 'SELECT addMonths', required columns: 'addMonths'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:32.209399 [ 5687 ] {566ed63c-4830-4c4f-a709-81c693a7dd9d} executeQuery: Code: 47. DB::Exception: Missing columns: 'addNanoseconds' while processing query: 'SELECT addNanoseconds', required columns: 'addNanoseconds'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT addNanoseconds;) 2026.10.27 19:25:32.212329 [ 5687 ] {566ed63c-4830-4c4f-a709-81c693a7dd9d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'addNanoseconds' while processing query: 'SELECT addNanoseconds', required columns: 'addNanoseconds'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:32.447641 [ 5687 ] {2dc11ca5-db0f-48ee-b72b-436507d23aca} executeQuery: Code: 47. DB::Exception: Missing columns: 'addQuarters' while processing query: 'SELECT addQuarters', required columns: 'addQuarters'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT addQuarters;) 2026.10.27 19:25:32.450799 [ 5687 ] {2dc11ca5-db0f-48ee-b72b-436507d23aca} TCPHandler: Code: 47. DB::Exception: Missing columns: 'addQuarters' while processing query: 'SELECT addQuarters', required columns: 'addQuarters'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:32.484343 [ 5687 ] {dbe8eadb-3a90-4026-94db-234e9fc70ff7} executeQuery: Code: 47. DB::Exception: Missing columns: 'addSeconds' while processing query: 'SELECT addSeconds', required columns: 'addSeconds'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT addSeconds;) 2026.10.27 19:25:32.486983 [ 5687 ] {dbe8eadb-3a90-4026-94db-234e9fc70ff7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'addSeconds' while processing query: 'SELECT addSeconds', required columns: 'addSeconds'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:32.620764 [ 5687 ] {2d08b095-b448-4bdd-a2fb-93aef55ccb91} executeQuery: Code: 47. DB::Exception: Missing columns: 'addTupleOfIntervals' while processing query: 'SELECT addTupleOfIntervals', required columns: 'addTupleOfIntervals'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT addTupleOfIntervals;) 2026.10.27 19:25:32.624009 [ 5687 ] {2d08b095-b448-4bdd-a2fb-93aef55ccb91} TCPHandler: Code: 47. DB::Exception: Missing columns: 'addTupleOfIntervals' while processing query: 'SELECT addTupleOfIntervals', required columns: 'addTupleOfIntervals'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:32.658180 [ 5687 ] {8d431c31-87ad-4c8a-a7d7-861e8708de86} executeQuery: Code: 47. DB::Exception: Missing columns: 'addWeeks' while processing query: 'SELECT addWeeks', required columns: 'addWeeks'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT addWeeks;) 2026.10.27 19:25:32.661344 [ 5687 ] {8d431c31-87ad-4c8a-a7d7-861e8708de86} TCPHandler: Code: 47. DB::Exception: Missing columns: 'addWeeks' while processing query: 'SELECT addWeeks', required columns: 'addWeeks'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:32.695498 [ 5687 ] {663e70d3-7c56-4818-867e-bfbb7888b2b1} executeQuery: Code: 47. DB::Exception: Missing columns: 'addYears' while processing query: 'SELECT addYears', required columns: 'addYears'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT addYears;) 2026.10.27 19:25:32.698380 [ 5687 ] {663e70d3-7c56-4818-867e-bfbb7888b2b1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'addYears' while processing query: 'SELECT addYears', required columns: 'addYears'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:32.833154 [ 5687 ] {ba0edc17-df31-49b7-a689-ede97ba29b9d} executeQuery: Code: 47. DB::Exception: Missing columns: 'addressToLine' while processing query: 'SELECT addressToLine', required columns: 'addressToLine'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT addressToLine;) 2026.10.27 19:25:32.835937 [ 5687 ] {ba0edc17-df31-49b7-a689-ede97ba29b9d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'addressToLine' while processing query: 'SELECT addressToLine', required columns: 'addressToLine'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:32.869531 [ 5687 ] {c37de77e-8742-48a8-918e-55a9c93bd809} executeQuery: Code: 47. DB::Exception: Missing columns: 'addressToLineWithInlines' while processing query: 'SELECT addressToLineWithInlines', required columns: 'addressToLineWithInlines'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT addressToLineWithInlines;) 2026.10.27 19:25:32.872528 [ 5687 ] {c37de77e-8742-48a8-918e-55a9c93bd809} TCPHandler: Code: 47. DB::Exception: Missing columns: 'addressToLineWithInlines' while processing query: 'SELECT addressToLineWithInlines', required columns: 'addressToLineWithInlines'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:32.904784 [ 5687 ] {ffda529e-6d46-4fae-824a-af4e6c2732b7} executeQuery: Code: 47. DB::Exception: Missing columns: 'addressToSymbol' while processing query: 'SELECT addressToSymbol', required columns: 'addressToSymbol'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT addressToSymbol;) 2026.10.27 19:25:32.907647 [ 5687 ] {ffda529e-6d46-4fae-824a-af4e6c2732b7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'addressToSymbol' while processing query: 'SELECT addressToSymbol', required columns: 'addressToSymbol'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:32.937111 [ 5687 ] {24015034-fcf6-481c-883a-276daf4a18b3} executeQuery: Code: 47. DB::Exception: Missing columns: 'aes_decrypt_mysql' while processing query: 'SELECT aes_decrypt_mysql', required columns: 'aes_decrypt_mysql'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT aes_decrypt_mysql;) 2026.10.27 19:25:32.939772 [ 5687 ] {24015034-fcf6-481c-883a-276daf4a18b3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'aes_decrypt_mysql' while processing query: 'SELECT aes_decrypt_mysql', required columns: 'aes_decrypt_mysql'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:32.971191 [ 5687 ] {1676e7f6-3c1e-4fd8-8382-fc0cbf05fecb} executeQuery: Code: 47. DB::Exception: Missing columns: 'aes_encrypt_mysql' while processing query: 'SELECT aes_encrypt_mysql', required columns: 'aes_encrypt_mysql'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT aes_encrypt_mysql;) 2026.10.27 19:25:32.974097 [ 5687 ] {1676e7f6-3c1e-4fd8-8382-fc0cbf05fecb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'aes_encrypt_mysql' while processing query: 'SELECT aes_encrypt_mysql', required columns: 'aes_encrypt_mysql'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:33.103237 [ 5687 ] {a0aa57a7-7f60-419c-9b1f-9b88ad52ce7b} executeQuery: Code: 47. DB::Exception: Missing columns: 'age' while processing query: 'SELECT age', required columns: 'age'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT age;) 2026.10.27 19:25:33.106293 [ 5687 ] {a0aa57a7-7f60-419c-9b1f-9b88ad52ce7b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'age' while processing query: 'SELECT age', required columns: 'age'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:33.139336 [ 5687 ] {32ea9419-b2cd-4ba3-a72b-305733babd93} executeQuery: Code: 47. DB::Exception: Missing columns: 'aggThrow' while processing query: 'SELECT aggThrow', required columns: 'aggThrow'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT aggThrow;) 2026.10.27 19:25:33.142244 [ 5687 ] {32ea9419-b2cd-4ba3-a72b-305733babd93} TCPHandler: Code: 47. DB::Exception: Missing columns: 'aggThrow' while processing query: 'SELECT aggThrow', required columns: 'aggThrow'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:33.174887 [ 5687 ] {5219ba67-545a-4cdc-8dd2-a80c8d8b7085} executeQuery: Code: 47. DB::Exception: Missing columns: 'alphaTokens' while processing query: 'SELECT alphaTokens', required columns: 'alphaTokens'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT alphaTokens;) 2026.10.27 19:25:33.177849 [ 5687 ] {5219ba67-545a-4cdc-8dd2-a80c8d8b7085} TCPHandler: Code: 47. DB::Exception: Missing columns: 'alphaTokens' while processing query: 'SELECT alphaTokens', required columns: 'alphaTokens'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:33.209535 [ 5687 ] {ca5c3530-40c6-4a10-ab36-8efb49f0478c} executeQuery: Code: 47. DB::Exception: Missing columns: 'analysisOfVariance' while processing query: 'SELECT analysisOfVariance', required columns: 'analysisOfVariance'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT analysisOfVariance;) 2026.10.27 19:25:33.212352 [ 5687 ] {ca5c3530-40c6-4a10-ab36-8efb49f0478c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'analysisOfVariance' while processing query: 'SELECT analysisOfVariance', required columns: 'analysisOfVariance'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:33.242429 [ 5687 ] {f3cdbdd8-6eb1-42fd-a9ee-847b3fb5a0b8} executeQuery: Code: 47. DB::Exception: Missing columns: 'and' while processing query: 'SELECT and', required columns: 'and'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT and;) 2026.10.27 19:25:33.245615 [ 5687 ] {f3cdbdd8-6eb1-42fd-a9ee-847b3fb5a0b8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'and' while processing query: 'SELECT and', required columns: 'and'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:33.275165 [ 5687 ] {18d57f3d-4664-4d63-8a61-42812c3bde16} executeQuery: Code: 47. DB::Exception: Missing columns: 'anova' while processing query: 'SELECT anova', required columns: 'anova'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT anova;) 2026.10.27 19:25:33.278103 [ 5687 ] {18d57f3d-4664-4d63-8a61-42812c3bde16} TCPHandler: Code: 47. DB::Exception: Missing columns: 'anova' while processing query: 'SELECT anova', required columns: 'anova'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:33.308852 [ 5687 ] {7a0bc3de-f3fb-4364-abdb-88135802b9af} executeQuery: Code: 47. DB::Exception: Missing columns: 'any' while processing query: 'SELECT any', required columns: 'any'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT any;) 2026.10.27 19:25:33.311599 [ 5687 ] {7a0bc3de-f3fb-4364-abdb-88135802b9af} TCPHandler: Code: 47. DB::Exception: Missing columns: 'any' while processing query: 'SELECT any', required columns: 'any'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:33.343740 [ 5687 ] {fe59eee2-df33-4f50-8762-3fd616154da2} executeQuery: Code: 47. DB::Exception: Missing columns: 'anyHeavy' while processing query: 'SELECT anyHeavy', required columns: 'anyHeavy'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT anyHeavy;) 2026.10.27 19:25:33.352510 [ 5687 ] {fe59eee2-df33-4f50-8762-3fd616154da2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'anyHeavy' while processing query: 'SELECT anyHeavy', required columns: 'anyHeavy'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:33.487161 [ 5687 ] {c7bcecaa-18d8-4bcb-89d8-cc3301969a89} executeQuery: Code: 47. DB::Exception: Missing columns: 'anyLast' while processing query: 'SELECT anyLast', required columns: 'anyLast'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT anyLast;) 2026.10.27 19:25:33.489872 [ 5687 ] {c7bcecaa-18d8-4bcb-89d8-cc3301969a89} TCPHandler: Code: 47. DB::Exception: Missing columns: 'anyLast' while processing query: 'SELECT anyLast', required columns: 'anyLast'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:33.521979 [ 5687 ] {fb56ee69-1883-4aec-b589-3a739d6f4f2c} executeQuery: Code: 47. DB::Exception: Missing columns: 'any_value' while processing query: 'SELECT any_value', required columns: 'any_value'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT any_value;) 2026.10.27 19:25:33.524964 [ 5687 ] {fb56ee69-1883-4aec-b589-3a739d6f4f2c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'any_value' while processing query: 'SELECT any_value', required columns: 'any_value'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:33.556589 [ 5687 ] {3527bd1f-5078-4142-a8c3-5a7b7fe59cad} executeQuery: Code: 47. DB::Exception: Missing columns: 'appendTrailingCharIfAbsent' while processing query: 'SELECT appendTrailingCharIfAbsent', required columns: 'appendTrailingCharIfAbsent'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT appendTrailingCharIfAbsent;) 2026.10.27 19:25:33.559192 [ 5687 ] {3527bd1f-5078-4142-a8c3-5a7b7fe59cad} TCPHandler: Code: 47. DB::Exception: Missing columns: 'appendTrailingCharIfAbsent' while processing query: 'SELECT appendTrailingCharIfAbsent', required columns: 'appendTrailingCharIfAbsent'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:33.589596 [ 5687 ] {ee025e2b-1b14-4494-87d1-1c7292d0756e} executeQuery: Code: 47. DB::Exception: Missing columns: 'argMax' while processing query: 'SELECT argMax', required columns: 'argMax'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT argMax;) 2026.10.27 19:25:33.592348 [ 5687 ] {ee025e2b-1b14-4494-87d1-1c7292d0756e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'argMax' while processing query: 'SELECT argMax', required columns: 'argMax'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:33.623522 [ 5687 ] {ad41d68f-2e9c-48a8-9d79-cde85fd092cb} executeQuery: Code: 47. DB::Exception: Missing columns: 'argMin' while processing query: 'SELECT argMin', required columns: 'argMin'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT argMin;) 2026.10.27 19:25:33.626309 [ 5687 ] {ad41d68f-2e9c-48a8-9d79-cde85fd092cb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'argMin' while processing query: 'SELECT argMin', required columns: 'argMin'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:33.631656 [ 2232 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 4218943 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x00000000209e2844 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromS3::reallocateFirstBuffer() @ 0x00000000361edabc in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:126: DB::WriteBufferFromS3::nextImpl() @ 0x00000000361ec8a2 in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBuffer.h:60: DB::CachedOnDiskWriteBufferFromFile::nextImpl() @ 0x000000003584744a in /usr/bin/clickhouse 13. ./build_docker/./src/IO/WriteBuffer.h:60: DB::WriteBufferFromFileDecorator::nextImpl() @ 0x000000003584b666 in /usr/bin/clickhouse 14. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HashingWriteBuffer::nextImpl() @ 0x000000003cb90e85 in /usr/bin/clickhouse 15. DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000941dcac in /usr/bin/clickhouse 16. ./build_docker/./src/Compression/CompressedWriteBuffer.cpp:58: DB::CompressedWriteBuffer::nextImpl() @ 0x0000000036895c79 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HashingWriteBuffer::nextImpl() @ 0x000000003cb90e85 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/WriteBuffer.h:60: void std::__function::__policy_invoker::__call_impl, std::allocator>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d158779 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::getCurrentMarksForColumn(DB::NameAndTypePair const&, std::set, std::allocator>&) @ 0x000000003d14d4d0 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::writeColumn(DB::NameAndTypePair const&, DB::IColumn const&, std::set, std::allocator>&, std::vector> const&) @ 0x000000003d148dd2 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:251: DB::MergeTreeDataPartWriterWide::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d14255b in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::write(DB::Block const&) @ 0x000000003d648a09 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbbb02 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:33.757261 [ 5687 ] {2d5afdb9-81d0-4380-bc6a-d8e6e076e6c4} executeQuery: Code: 47. DB::Exception: Missing columns: 'array' while processing query: 'SELECT array', required columns: 'array'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT array;) 2026.10.27 19:25:33.759909 [ 5687 ] {2d5afdb9-81d0-4380-bc6a-d8e6e076e6c4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'array' while processing query: 'SELECT array', required columns: 'array'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:33.792982 [ 5687 ] {c88db1ec-447d-4bab-9749-97c970624c6d} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayAUC' while processing query: 'SELECT arrayAUC', required columns: 'arrayAUC'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayAUC;) 2026.10.27 19:25:33.795908 [ 5687 ] {c88db1ec-447d-4bab-9749-97c970624c6d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayAUC' while processing query: 'SELECT arrayAUC', required columns: 'arrayAUC'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:33.929444 [ 5687 ] {e1063e81-bc2a-40b8-90db-3b9482b16776} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayAll' while processing query: 'SELECT arrayAll', required columns: 'arrayAll'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayAll;) 2026.10.27 19:25:33.932580 [ 5687 ] {e1063e81-bc2a-40b8-90db-3b9482b16776} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayAll' while processing query: 'SELECT arrayAll', required columns: 'arrayAll'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:34.067047 [ 5687 ] {8f1e3cf3-bc41-4d83-911f-8f3b51c55006} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayAvg' while processing query: 'SELECT arrayAvg', required columns: 'arrayAvg'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayAvg;) 2026.10.27 19:25:34.070118 [ 5687 ] {8f1e3cf3-bc41-4d83-911f-8f3b51c55006} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayAvg' while processing query: 'SELECT arrayAvg', required columns: 'arrayAvg'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:34.207428 [ 5687 ] {fa49d6cb-f734-493a-be40-b673e2b160c2} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayCompact' while processing query: 'SELECT arrayCompact', required columns: 'arrayCompact'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayCompact;) 2026.10.27 19:25:34.211107 [ 5687 ] {fa49d6cb-f734-493a-be40-b673e2b160c2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayCompact' while processing query: 'SELECT arrayCompact', required columns: 'arrayCompact'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:34.323323 [ 5687 ] {f0700d2c-29d5-4dfa-a0bc-adf382c5d50b} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayConcat' while processing query: 'SELECT arrayConcat', required columns: 'arrayConcat'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayConcat;) 2026.10.27 19:25:34.325195 [ 5687 ] {f0700d2c-29d5-4dfa-a0bc-adf382c5d50b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayConcat' while processing query: 'SELECT arrayConcat', required columns: 'arrayConcat'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:34.352332 [ 5687 ] {ae139d8f-154e-433a-b19a-b67b49b0470a} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayCount' while processing query: 'SELECT arrayCount', required columns: 'arrayCount'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayCount;) 2026.10.27 19:25:34.353999 [ 5687 ] {ae139d8f-154e-433a-b19a-b67b49b0470a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayCount' while processing query: 'SELECT arrayCount', required columns: 'arrayCount'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:34.380319 [ 5687 ] {0fcf71f7-4478-488e-b7d5-5a20d8c2d6b1} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayCumSum' while processing query: 'SELECT arrayCumSum', required columns: 'arrayCumSum'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayCumSum;) 2026.10.27 19:25:34.381878 [ 5687 ] {0fcf71f7-4478-488e-b7d5-5a20d8c2d6b1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayCumSum' while processing query: 'SELECT arrayCumSum', required columns: 'arrayCumSum'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:34.413801 [ 5687 ] {7aee9fcc-d154-4505-92ec-5a068b9fc8e1} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayCumSumNonNegative' while processing query: 'SELECT arrayCumSumNonNegative', required columns: 'arrayCumSumNonNegative'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayCumSumNonNegative;) 2026.10.27 19:25:34.416555 [ 5687 ] {7aee9fcc-d154-4505-92ec-5a068b9fc8e1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayCumSumNonNegative' while processing query: 'SELECT arrayCumSumNonNegative', required columns: 'arrayCumSumNonNegative'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:34.448898 [ 5687 ] {00fceac6-acf4-4a29-99ad-dd6f69e43dfe} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayDifference' while processing query: 'SELECT arrayDifference', required columns: 'arrayDifference'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayDifference;) 2026.10.27 19:25:34.451556 [ 5687 ] {00fceac6-acf4-4a29-99ad-dd6f69e43dfe} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayDifference' while processing query: 'SELECT arrayDifference', required columns: 'arrayDifference'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:34.481578 [ 5687 ] {ed94154b-c044-4bf1-bd42-b8059e0bba54} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayDistinct' while processing query: 'SELECT arrayDistinct', required columns: 'arrayDistinct'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayDistinct;) 2026.10.27 19:25:34.484658 [ 5687 ] {ed94154b-c044-4bf1-bd42-b8059e0bba54} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayDistinct' while processing query: 'SELECT arrayDistinct', required columns: 'arrayDistinct'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:34.502307 [ 5687 ] {372e2083-3407-4212-b412-42d78dc4ec0e} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayDotProduct' while processing query: 'SELECT arrayDotProduct', required columns: 'arrayDotProduct'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayDotProduct;) 2026.10.27 19:25:34.503952 [ 5687 ] {372e2083-3407-4212-b412-42d78dc4ec0e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayDotProduct' while processing query: 'SELECT arrayDotProduct', required columns: 'arrayDotProduct'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:34.529154 [ 5687 ] {4c99fdc0-16c1-4d0f-872c-cffd2f2d7908} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayElement' while processing query: 'SELECT arrayElement', required columns: 'arrayElement'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayElement;) 2026.10.27 19:25:34.531262 [ 5687 ] {4c99fdc0-16c1-4d0f-872c-cffd2f2d7908} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayElement' while processing query: 'SELECT arrayElement', required columns: 'arrayElement'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:34.557070 [ 5687 ] {5eee9ee8-4b67-416e-b75e-5ab62b972d45} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayEnumerate' while processing query: 'SELECT arrayEnumerate', required columns: 'arrayEnumerate'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayEnumerate;) 2026.10.27 19:25:34.559113 [ 5687 ] {5eee9ee8-4b67-416e-b75e-5ab62b972d45} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayEnumerate' while processing query: 'SELECT arrayEnumerate', required columns: 'arrayEnumerate'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:34.687058 [ 5687 ] {699bc28f-6956-4e6c-bda8-e3258608dfea} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayEnumerateDense' while processing query: 'SELECT arrayEnumerateDense', required columns: 'arrayEnumerateDense'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayEnumerateDense;) 2026.10.27 19:25:34.689404 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 4198715 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:297: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d65200a in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a4a9253 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:34.689457 [ 2350 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::AsynchronousMetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 4273912 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3b72d3 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3b47b2 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c23847 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:34.689674 [ 6141 ] {61dafbda-9832-469d-b5a2-94b8c9bcb745} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 1179648 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergeSortingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38870) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnString.h:147: DB::ColumnString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b1c2d7d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:113: DB::Chunk DB::MergeSorter::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003ed117f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003ec34cf3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergeSorter::read() @ 0x000000003ec1cfa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/MergeSortingTransform.cpp:236: DB::MergeSortingTransform::generate() @ 0x000000003ebf1521 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:354: DB::SortingTransform::work() @ 0x000000003ec2d564 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:34.689773 [ 5687 ] {699bc28f-6956-4e6c-bda8-e3258608dfea} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayEnumerateDense' while processing query: 'SELECT arrayEnumerateDense', required columns: 'arrayEnumerateDense'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:34.690099 [ 2234 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_52_95_7}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:34.690106 [ 2240 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_1_71_11}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1256095 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:87: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13f899 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:34.725934 [ 5687 ] {5ad07abd-a486-4fe8-9bd8-20f27e6b462a} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayEnumerateDenseRanked' while processing query: 'SELECT arrayEnumerateDenseRanked', required columns: 'arrayEnumerateDenseRanked'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayEnumerateDenseRanked;) 2026.10.27 19:25:34.729126 [ 5687 ] {5ad07abd-a486-4fe8-9bd8-20f27e6b462a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayEnumerateDenseRanked' while processing query: 'SELECT arrayEnumerateDenseRanked', required columns: 'arrayEnumerateDenseRanked'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:34.763097 [ 5687 ] {9a1a983c-0996-4259-80b1-d51bcf631fc3} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayEnumerateUniq' while processing query: 'SELECT arrayEnumerateUniq', required columns: 'arrayEnumerateUniq'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayEnumerateUniq;) 2026.10.27 19:25:34.766535 [ 5687 ] {9a1a983c-0996-4259-80b1-d51bcf631fc3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayEnumerateUniq' while processing query: 'SELECT arrayEnumerateUniq', required columns: 'arrayEnumerateUniq'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:34.800627 [ 5687 ] {6317905d-267b-4715-94d9-0b27d76c2bce} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayEnumerateUniqRanked' while processing query: 'SELECT arrayEnumerateUniqRanked', required columns: 'arrayEnumerateUniqRanked'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayEnumerateUniqRanked;) 2026.10.27 19:25:34.803487 [ 5687 ] {6317905d-267b-4715-94d9-0b27d76c2bce} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayEnumerateUniqRanked' while processing query: 'SELECT arrayEnumerateUniqRanked', required columns: 'arrayEnumerateUniqRanked'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:34.834861 [ 5687 ] {80d140bd-8ffa-438c-ba3f-3a909eb7240e} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayExists' while processing query: 'SELECT arrayExists', required columns: 'arrayExists'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayExists;) 2026.10.27 19:25:34.837920 [ 5687 ] {80d140bd-8ffa-438c-ba3f-3a909eb7240e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayExists' while processing query: 'SELECT arrayExists', required columns: 'arrayExists'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:34.873013 [ 5687 ] {e8fb2e81-4efa-41e3-a358-3f10c25dbcdd} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayFill' while processing query: 'SELECT arrayFill', required columns: 'arrayFill'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayFill;) 2026.10.27 19:25:34.875842 [ 5687 ] {e8fb2e81-4efa-41e3-a358-3f10c25dbcdd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayFill' while processing query: 'SELECT arrayFill', required columns: 'arrayFill'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:35.007298 [ 5687 ] {3abb903c-f4fe-4321-80ea-8a31bfee526e} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayFilter' while processing query: 'SELECT arrayFilter', required columns: 'arrayFilter'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayFilter;) 2026.10.27 19:25:35.010943 [ 5687 ] {3abb903c-f4fe-4321-80ea-8a31bfee526e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayFilter' while processing query: 'SELECT arrayFilter', required columns: 'arrayFilter'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:35.074183 [ 5687 ] {867524ee-f879-47f1-8c0a-f491f5a8bb9b} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayFirst' while processing query: 'SELECT arrayFirst', required columns: 'arrayFirst'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayFirst;) 2026.10.27 19:25:35.088319 [ 5687 ] {867524ee-f879-47f1-8c0a-f491f5a8bb9b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayFirst' while processing query: 'SELECT arrayFirst', required columns: 'arrayFirst'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:35.208294 [ 5687 ] {9a53d70c-a3d7-4044-aa08-7223d495aa86} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayFirstIndex' while processing query: 'SELECT arrayFirstIndex', required columns: 'arrayFirstIndex'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayFirstIndex;) 2026.10.27 19:25:35.223764 [ 5687 ] {9a53d70c-a3d7-4044-aa08-7223d495aa86} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayFirstIndex' while processing query: 'SELECT arrayFirstIndex', required columns: 'arrayFirstIndex'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:35.311315 [ 5687 ] {bd2c5bd9-8788-4136-adc1-682715270c3d} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayFirstOrNull' while processing query: 'SELECT arrayFirstOrNull', required columns: 'arrayFirstOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayFirstOrNull;) 2026.10.27 19:25:35.325678 [ 5687 ] {bd2c5bd9-8788-4136-adc1-682715270c3d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayFirstOrNull' while processing query: 'SELECT arrayFirstOrNull', required columns: 'arrayFirstOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:35.451951 [ 5687 ] {5358d699-2ba8-4bbe-8e89-1363ee1b02ed} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayFlatten' while processing query: 'SELECT arrayFlatten', required columns: 'arrayFlatten'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayFlatten;) 2026.10.27 19:25:35.461390 [ 5687 ] {5358d699-2ba8-4bbe-8e89-1363ee1b02ed} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayFlatten' while processing query: 'SELECT arrayFlatten', required columns: 'arrayFlatten'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:35.631529 [ 5687 ] {7257e008-d9d2-4ee8-b207-bf173f4cb608} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayIntersect' while processing query: 'SELECT arrayIntersect', required columns: 'arrayIntersect'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayIntersect;) 2026.10.27 19:25:35.636828 [ 5687 ] {7257e008-d9d2-4ee8-b207-bf173f4cb608} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayIntersect' while processing query: 'SELECT arrayIntersect', required columns: 'arrayIntersect'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:35.793223 [ 5687 ] {957bf6bd-9a67-44a5-935c-75e1c64e9fa6} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayJaccardIndex' while processing query: 'SELECT arrayJaccardIndex', required columns: 'arrayJaccardIndex'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayJaccardIndex;) 2026.10.27 19:25:35.809063 [ 5687 ] {957bf6bd-9a67-44a5-935c-75e1c64e9fa6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayJaccardIndex' while processing query: 'SELECT arrayJaccardIndex', required columns: 'arrayJaccardIndex'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:35.865179 [ 5687 ] {46c7fb8d-94e4-43c4-bca8-5268384d2f83} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayJoin' while processing query: 'SELECT arrayJoin', required columns: 'arrayJoin'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayJoin;) 2026.10.27 19:25:35.880120 [ 5687 ] {46c7fb8d-94e4-43c4-bca8-5268384d2f83} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayJoin' while processing query: 'SELECT arrayJoin', required columns: 'arrayJoin'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:35.971557 [ 5687 ] {c48a928b-8ef5-4d26-816d-46892b1afb07} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayLast' while processing query: 'SELECT arrayLast', required columns: 'arrayLast'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayLast;) 2026.10.27 19:25:35.982850 [ 5687 ] {c48a928b-8ef5-4d26-816d-46892b1afb07} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayLast' while processing query: 'SELECT arrayLast', required columns: 'arrayLast'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:36.074200 [ 5687 ] {fa37b09b-9df0-49a8-a14e-ab2229dab38a} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayLastIndex' while processing query: 'SELECT arrayLastIndex', required columns: 'arrayLastIndex'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayLastIndex;) 2026.10.27 19:25:36.081598 [ 5687 ] {fa37b09b-9df0-49a8-a14e-ab2229dab38a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayLastIndex' while processing query: 'SELECT arrayLastIndex', required columns: 'arrayLastIndex'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:36.167821 [ 5687 ] {2d35271e-3d8d-462c-96f2-dd19415f0842} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayLastOrNull' while processing query: 'SELECT arrayLastOrNull', required columns: 'arrayLastOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayLastOrNull;) 2026.10.27 19:25:36.187384 [ 5687 ] {2d35271e-3d8d-462c-96f2-dd19415f0842} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayLastOrNull' while processing query: 'SELECT arrayLastOrNull', required columns: 'arrayLastOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:36.190034 [ 2296 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::QueryLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 4195186 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x000000002089f09b in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnVector.h:0: COW::immutable_ptr DB::ColumnVector::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b4ea87f in /usr/bin/clickhouse 9. ./build_docker/./src/Columns/ColumnVector.cpp:729: DB::ColumnVector::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b2b38c6 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/IMergeTreeDataPartWriter.cpp:0: DB::permuteBlockIfNeeded(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d11b4c2 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:166: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d10410d in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a414433 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a411722 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c28f87 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c28e5f in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:36.193144 [ 2233 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_54_10}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1049919 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:36.329866 [ 5687 ] {c6159d3c-1e4d-4f1b-88a7-46ed56f96692} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayMap' while processing query: 'SELECT arrayMap', required columns: 'arrayMap'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayMap;) 2026.10.27 19:25:36.346881 [ 5687 ] {c6159d3c-1e4d-4f1b-88a7-46ed56f96692} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayMap' while processing query: 'SELECT arrayMap', required columns: 'arrayMap'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:36.430933 [ 5687 ] {0c95ed43-0fde-4320-8638-b79ccdb3047d} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayMax' while processing query: 'SELECT arrayMax', required columns: 'arrayMax'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayMax;) 2026.10.27 19:25:36.436678 [ 5687 ] {0c95ed43-0fde-4320-8638-b79ccdb3047d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayMax' while processing query: 'SELECT arrayMax', required columns: 'arrayMax'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:36.507407 [ 5687 ] {30d07967-2efb-487c-ba3a-04bb42e0b15c} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayMin' while processing query: 'SELECT arrayMin', required columns: 'arrayMin'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayMin;) 2026.10.27 19:25:36.527543 [ 5687 ] {30d07967-2efb-487c-ba3a-04bb42e0b15c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayMin' while processing query: 'SELECT arrayMin', required columns: 'arrayMin'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:36.634652 [ 5687 ] {89ecff95-db59-44bd-ae45-5970f9cff82c} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayPartialReverseSort' while processing query: 'SELECT arrayPartialReverseSort', required columns: 'arrayPartialReverseSort'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayPartialReverseSort;) 2026.10.27 19:25:36.654682 [ 5687 ] {89ecff95-db59-44bd-ae45-5970f9cff82c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayPartialReverseSort' while processing query: 'SELECT arrayPartialReverseSort', required columns: 'arrayPartialReverseSort'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:36.732725 [ 5687 ] {dd7ccbce-392f-454e-9cdc-0465e111dff8} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayPartialShuffle' while processing query: 'SELECT arrayPartialShuffle', required columns: 'arrayPartialShuffle'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayPartialShuffle;) 2026.10.27 19:25:36.745654 [ 5687 ] {dd7ccbce-392f-454e-9cdc-0465e111dff8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayPartialShuffle' while processing query: 'SELECT arrayPartialShuffle', required columns: 'arrayPartialShuffle'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:36.981926 [ 5687 ] {44dab87a-b2b2-48bc-bd31-2e79e5f1de00} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayPartialSort' while processing query: 'SELECT arrayPartialSort', required columns: 'arrayPartialSort'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayPartialSort;) 2026.10.27 19:25:36.993831 [ 5687 ] {44dab87a-b2b2-48bc-bd31-2e79e5f1de00} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayPartialSort' while processing query: 'SELECT arrayPartialSort', required columns: 'arrayPartialSort'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:37.214659 [ 5687 ] {afa4a92f-02c3-4287-8ebc-3f146a4d84e9} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayPopBack' while processing query: 'SELECT arrayPopBack', required columns: 'arrayPopBack'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayPopBack;) 2026.10.27 19:25:37.219533 [ 5687 ] {afa4a92f-02c3-4287-8ebc-3f146a4d84e9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayPopBack' while processing query: 'SELECT arrayPopBack', required columns: 'arrayPopBack'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:37.297965 [ 5687 ] {bac686a6-386c-49c0-8b01-25e2204ae26c} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayPopFront' while processing query: 'SELECT arrayPopFront', required columns: 'arrayPopFront'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayPopFront;) 2026.10.27 19:25:37.306170 [ 5687 ] {bac686a6-386c-49c0-8b01-25e2204ae26c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayPopFront' while processing query: 'SELECT arrayPopFront', required columns: 'arrayPopFront'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:37.327225 [ 5687 ] {a7654a0c-96d1-4f8b-b1e6-60d76a8062b9} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayProduct' while processing query: 'SELECT arrayProduct', required columns: 'arrayProduct'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayProduct;) 2026.10.27 19:25:37.339511 [ 5687 ] {a7654a0c-96d1-4f8b-b1e6-60d76a8062b9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayProduct' while processing query: 'SELECT arrayProduct', required columns: 'arrayProduct'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:37.368268 [ 5687 ] {c3a80ef0-ad54-4115-bae7-5ef4fdd8aaf3} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayPushBack' while processing query: 'SELECT arrayPushBack', required columns: 'arrayPushBack'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayPushBack;) 2026.10.27 19:25:37.370786 [ 5687 ] {c3a80ef0-ad54-4115-bae7-5ef4fdd8aaf3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayPushBack' while processing query: 'SELECT arrayPushBack', required columns: 'arrayPushBack'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:37.397033 [ 5687 ] {32d804f9-b517-4454-8b89-44c9c50aa487} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayPushFront' while processing query: 'SELECT arrayPushFront', required columns: 'arrayPushFront'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayPushFront;) 2026.10.27 19:25:37.398856 [ 5687 ] {32d804f9-b517-4454-8b89-44c9c50aa487} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayPushFront' while processing query: 'SELECT arrayPushFront', required columns: 'arrayPushFront'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:37.415004 [ 5687 ] {b9a953ee-1f65-4ff1-95e2-2c77c2ddb79d} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayReduce' while processing query: 'SELECT arrayReduce', required columns: 'arrayReduce'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayReduce;) 2026.10.27 19:25:37.416914 [ 5687 ] {b9a953ee-1f65-4ff1-95e2-2c77c2ddb79d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayReduce' while processing query: 'SELECT arrayReduce', required columns: 'arrayReduce'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:37.443207 [ 5687 ] {3fa2f20a-a1f5-4c35-9dfc-366d20aef40e} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayReduceInRanges' while processing query: 'SELECT arrayReduceInRanges', required columns: 'arrayReduceInRanges'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayReduceInRanges;) 2026.10.27 19:25:37.445001 [ 5687 ] {3fa2f20a-a1f5-4c35-9dfc-366d20aef40e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayReduceInRanges' while processing query: 'SELECT arrayReduceInRanges', required columns: 'arrayReduceInRanges'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:37.573577 [ 5687 ] {12bb9254-2aff-4937-a85a-08045f8418fc} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayResize' while processing query: 'SELECT arrayResize', required columns: 'arrayResize'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayResize;) 2026.10.27 19:25:37.576444 [ 5687 ] {12bb9254-2aff-4937-a85a-08045f8418fc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayResize' while processing query: 'SELECT arrayResize', required columns: 'arrayResize'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:37.609790 [ 5687 ] {86a7a73b-8e4c-4b5e-a02f-1b9c12488fd9} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayReverse' while processing query: 'SELECT arrayReverse', required columns: 'arrayReverse'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayReverse;) 2026.10.27 19:25:37.614210 [ 5687 ] {86a7a73b-8e4c-4b5e-a02f-1b9c12488fd9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayReverse' while processing query: 'SELECT arrayReverse', required columns: 'arrayReverse'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:37.648667 [ 5687 ] {44300807-e7ea-413b-a289-155f63b5d7e1} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayReverseFill' while processing query: 'SELECT arrayReverseFill', required columns: 'arrayReverseFill'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayReverseFill;) 2026.10.27 19:25:37.651487 [ 5687 ] {44300807-e7ea-413b-a289-155f63b5d7e1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayReverseFill' while processing query: 'SELECT arrayReverseFill', required columns: 'arrayReverseFill'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:37.682972 [ 5687 ] {e5d1e848-9fc6-419a-80af-2e564fc3be95} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayReverseSort' while processing query: 'SELECT arrayReverseSort', required columns: 'arrayReverseSort'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayReverseSort;) 2026.10.27 19:25:37.686089 [ 5687 ] {e5d1e848-9fc6-419a-80af-2e564fc3be95} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayReverseSort' while processing query: 'SELECT arrayReverseSort', required columns: 'arrayReverseSort'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:37.717839 [ 5687 ] {ecc62c55-4eed-4995-bf36-f535fbda534d} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayReverseSplit' while processing query: 'SELECT arrayReverseSplit', required columns: 'arrayReverseSplit'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayReverseSplit;) 2026.10.27 19:25:37.720685 [ 5687 ] {ecc62c55-4eed-4995-bf36-f535fbda534d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayReverseSplit' while processing query: 'SELECT arrayReverseSplit', required columns: 'arrayReverseSplit'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:37.752402 [ 5687 ] {49cab9db-411d-4e27-8b28-2de9769a015e} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayRotateLeft' while processing query: 'SELECT arrayRotateLeft', required columns: 'arrayRotateLeft'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayRotateLeft;) 2026.10.27 19:25:37.755266 [ 5687 ] {49cab9db-411d-4e27-8b28-2de9769a015e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayRotateLeft' while processing query: 'SELECT arrayRotateLeft', required columns: 'arrayRotateLeft'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:37.790572 [ 5687 ] {772e7b98-3800-41f2-9783-e538fe05c7a9} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayRotateRight' while processing query: 'SELECT arrayRotateRight', required columns: 'arrayRotateRight'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayRotateRight;) 2026.10.27 19:25:37.793950 [ 5687 ] {772e7b98-3800-41f2-9783-e538fe05c7a9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayRotateRight' while processing query: 'SELECT arrayRotateRight', required columns: 'arrayRotateRight'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:37.830567 [ 5687 ] {72bae016-3f6f-478c-a42d-e2c974069f80} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayShiftLeft' while processing query: 'SELECT arrayShiftLeft', required columns: 'arrayShiftLeft'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayShiftLeft;) 2026.10.27 19:25:37.957775 [ 5687 ] {72bae016-3f6f-478c-a42d-e2c974069f80} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayShiftLeft' while processing query: 'SELECT arrayShiftLeft', required columns: 'arrayShiftLeft'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:38.027518 [ 5687 ] {942c2f97-f4ab-41db-bbd5-f36900d75929} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayShiftRight' while processing query: 'SELECT arrayShiftRight', required columns: 'arrayShiftRight'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayShiftRight;) 2026.10.27 19:25:38.144952 [ 5687 ] {942c2f97-f4ab-41db-bbd5-f36900d75929} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayShiftRight' while processing query: 'SELECT arrayShiftRight', required columns: 'arrayShiftRight'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:38.245025 [ 5687 ] {4bc325b7-7def-4f8b-8390-873c30a493a1} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayShuffle' while processing query: 'SELECT arrayShuffle', required columns: 'arrayShuffle'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayShuffle;) 2026.10.27 19:25:38.258637 [ 5687 ] {4bc325b7-7def-4f8b-8390-873c30a493a1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayShuffle' while processing query: 'SELECT arrayShuffle', required columns: 'arrayShuffle'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:38.348755 [ 5687 ] {216bd232-2911-4a93-84e8-4169082dcf32} executeQuery: Code: 47. DB::Exception: Missing columns: 'arraySlice' while processing query: 'SELECT arraySlice', required columns: 'arraySlice'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arraySlice;) 2026.10.27 19:25:38.361103 [ 5687 ] {216bd232-2911-4a93-84e8-4169082dcf32} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arraySlice' while processing query: 'SELECT arraySlice', required columns: 'arraySlice'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:38.422138 [ 5687 ] {a150ca5d-6d16-401d-8353-6572ac092c72} executeQuery: Code: 47. DB::Exception: Missing columns: 'arraySort' while processing query: 'SELECT arraySort', required columns: 'arraySort'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arraySort;) 2026.10.27 19:25:38.437333 [ 5687 ] {a150ca5d-6d16-401d-8353-6572ac092c72} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arraySort' while processing query: 'SELECT arraySort', required columns: 'arraySort'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:38.506483 [ 5687 ] {10fc54e3-9430-4aa1-ba11-a148a8a93885} executeQuery: Code: 47. DB::Exception: Missing columns: 'arraySplit' while processing query: 'SELECT arraySplit', required columns: 'arraySplit'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arraySplit;) 2026.10.27 19:25:38.521450 [ 5687 ] {10fc54e3-9430-4aa1-ba11-a148a8a93885} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arraySplit' while processing query: 'SELECT arraySplit', required columns: 'arraySplit'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:38.598326 [ 5687 ] {b9f628cb-eed1-4af3-be95-3ccb840e82cf} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayStringConcat' while processing query: 'SELECT arrayStringConcat', required columns: 'arrayStringConcat'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayStringConcat;) 2026.10.27 19:25:38.613629 [ 5687 ] {b9f628cb-eed1-4af3-be95-3ccb840e82cf} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayStringConcat' while processing query: 'SELECT arrayStringConcat', required columns: 'arrayStringConcat'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:38.723455 [ 5687 ] {36227931-8f5a-4031-a109-9e4f5f70126b} executeQuery: Code: 47. DB::Exception: Missing columns: 'arraySum' while processing query: 'SELECT arraySum', required columns: 'arraySum'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arraySum;) 2026.10.27 19:25:38.781596 [ 5687 ] {36227931-8f5a-4031-a109-9e4f5f70126b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arraySum' while processing query: 'SELECT arraySum', required columns: 'arraySum'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:38.839981 [ 5687 ] {b586b663-b2b4-4059-b0af-2b882d804bad} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayUniq' while processing query: 'SELECT arrayUniq', required columns: 'arrayUniq'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayUniq;) 2026.10.27 19:25:38.843101 [ 5687 ] {b586b663-b2b4-4059-b0af-2b882d804bad} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayUniq' while processing query: 'SELECT arrayUniq', required columns: 'arrayUniq'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:38.904618 [ 5687 ] {44f4fd90-c64a-42ca-9374-b06257ef6c52} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayWithConstant' while processing query: 'SELECT arrayWithConstant', required columns: 'arrayWithConstant'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayWithConstant;) 2026.10.27 19:25:38.917199 [ 5687 ] {44f4fd90-c64a-42ca-9374-b06257ef6c52} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayWithConstant' while processing query: 'SELECT arrayWithConstant', required columns: 'arrayWithConstant'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:39.010404 [ 5687 ] {8361c2ec-c9d3-42b1-a23c-509080af84c1} executeQuery: Code: 47. DB::Exception: Missing columns: 'arrayZip' while processing query: 'SELECT arrayZip', required columns: 'arrayZip'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT arrayZip;) 2026.10.27 19:25:39.026788 [ 5687 ] {8361c2ec-c9d3-42b1-a23c-509080af84c1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'arrayZip' while processing query: 'SELECT arrayZip', required columns: 'arrayZip'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:39.120792 [ 5687 ] {080969ef-0e7f-42f4-9ce5-50541ca56729} executeQuery: Code: 47. DB::Exception: Missing columns: 'array_agg' while processing query: 'SELECT array_agg', required columns: 'array_agg'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT array_agg;) 2026.10.27 19:25:39.134230 [ 5687 ] {080969ef-0e7f-42f4-9ce5-50541ca56729} TCPHandler: Code: 47. DB::Exception: Missing columns: 'array_agg' while processing query: 'SELECT array_agg', required columns: 'array_agg'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:39.382464 [ 5687 ] {a896cd52-f2fe-4d07-8b21-fb97d81f51c1} executeQuery: Code: 47. DB::Exception: Missing columns: 'array_concat_agg' while processing query: 'SELECT array_concat_agg', required columns: 'array_concat_agg'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT array_concat_agg;) 2026.10.27 19:25:39.393192 [ 5687 ] {a896cd52-f2fe-4d07-8b21-fb97d81f51c1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'array_concat_agg' while processing query: 'SELECT array_concat_agg', required columns: 'array_concat_agg'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:39.461910 [ 5687 ] {e04027e9-8c38-4bd6-b0bf-40cb2d40cd7b} executeQuery: Code: 47. DB::Exception: Missing columns: 'ascii' while processing query: 'SELECT ascii', required columns: 'ascii'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ascii;) 2026.10.27 19:25:39.470960 [ 5687 ] {e04027e9-8c38-4bd6-b0bf-40cb2d40cd7b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ascii' while processing query: 'SELECT ascii', required columns: 'ascii'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:39.576190 [ 5687 ] {7b741d5c-091c-477a-ad94-54480adfb825} executeQuery: Code: 47. DB::Exception: Missing columns: 'asin' while processing query: 'SELECT asin', required columns: 'asin'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT asin;) 2026.10.27 19:25:39.590517 [ 5687 ] {7b741d5c-091c-477a-ad94-54480adfb825} TCPHandler: Code: 47. DB::Exception: Missing columns: 'asin' while processing query: 'SELECT asin', required columns: 'asin'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:39.935329 [ 5687 ] {d55430e8-e9f9-4036-b616-a5f148fc056b} executeQuery: Code: 47. DB::Exception: Missing columns: 'asinh' while processing query: 'SELECT asinh', required columns: 'asinh'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT asinh;) 2026.10.27 19:25:39.945037 [ 5687 ] {d55430e8-e9f9-4036-b616-a5f148fc056b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'asinh' while processing query: 'SELECT asinh', required columns: 'asinh'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:40.110600 [ 5687 ] {8b519801-a118-4df7-904c-c2624cccf832} executeQuery: Code: 47. DB::Exception: Missing columns: 'assumeNotNull' while processing query: 'SELECT assumeNotNull', required columns: 'assumeNotNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT assumeNotNull;) 2026.10.27 19:25:40.118887 [ 5687 ] {8b519801-a118-4df7-904c-c2624cccf832} TCPHandler: Code: 47. DB::Exception: Missing columns: 'assumeNotNull' while processing query: 'SELECT assumeNotNull', required columns: 'assumeNotNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:40.173764 [ 5687 ] {2ddce791-3867-4f05-9ec5-e2fc25b3d8f0} executeQuery: Code: 47. DB::Exception: Missing columns: 'atan' while processing query: 'SELECT atan', required columns: 'atan'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT atan;) 2026.10.27 19:25:40.189177 [ 5687 ] {2ddce791-3867-4f05-9ec5-e2fc25b3d8f0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'atan' while processing query: 'SELECT atan', required columns: 'atan'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:40.287668 [ 5687 ] {3750a0c3-2b6d-480d-9f5f-b4b430ee88c3} executeQuery: Code: 47. DB::Exception: Missing columns: 'atan2' while processing query: 'SELECT atan2', required columns: 'atan2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT atan2;) 2026.10.27 19:25:40.305798 [ 5687 ] {3750a0c3-2b6d-480d-9f5f-b4b430ee88c3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'atan2' while processing query: 'SELECT atan2', required columns: 'atan2'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:40.312921 [ 2292 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::PartLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 4206015 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d102e0d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a401a53 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3fed42 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c27d07 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c27bdf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:40.312941 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 5201864 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:40.392466 [ 5687 ] {fb0ded58-1816-4a73-9f86-5519ebf2a6ea} executeQuery: Code: 47. DB::Exception: Missing columns: 'atanh' while processing query: 'SELECT atanh', required columns: 'atanh'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT atanh;) 2026.10.27 19:25:40.406152 [ 5687 ] {fb0ded58-1816-4a73-9f86-5519ebf2a6ea} TCPHandler: Code: 47. DB::Exception: Missing columns: 'atanh' while processing query: 'SELECT atanh', required columns: 'atanh'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:40.584779 [ 5687 ] {c508c5a1-3460-474d-8195-3a05fb924db7} executeQuery: Code: 47. DB::Exception: Missing columns: 'avg' while processing query: 'SELECT avg', required columns: 'avg'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT avg;) 2026.10.27 19:25:40.597930 [ 5687 ] {c508c5a1-3460-474d-8195-3a05fb924db7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'avg' while processing query: 'SELECT avg', required columns: 'avg'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:40.762103 [ 5687 ] {3479e788-c900-4d41-80ba-7c331393cdda} executeQuery: Code: 47. DB::Exception: Missing columns: 'avgWeighted' while processing query: 'SELECT avgWeighted', required columns: 'avgWeighted'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT avgWeighted;) 2026.10.27 19:25:40.773044 [ 5687 ] {3479e788-c900-4d41-80ba-7c331393cdda} TCPHandler: Code: 47. DB::Exception: Missing columns: 'avgWeighted' while processing query: 'SELECT avgWeighted', required columns: 'avgWeighted'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:40.820330 [ 5687 ] {75299c48-d3de-4ab0-be16-06303dbebb30} executeQuery: Code: 47. DB::Exception: Missing columns: 'bar' while processing query: 'SELECT bar', required columns: 'bar'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bar;) 2026.10.27 19:25:40.832952 [ 5687 ] {75299c48-d3de-4ab0-be16-06303dbebb30} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bar' while processing query: 'SELECT bar', required columns: 'bar'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:40.888831 [ 5687 ] {70381b15-3507-4a7e-a3e6-f9fbf309e83f} executeQuery: Code: 47. DB::Exception: Missing columns: 'base58Decode' while processing query: 'SELECT base58Decode', required columns: 'base58Decode'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT base58Decode;) 2026.10.27 19:25:40.901669 [ 5687 ] {70381b15-3507-4a7e-a3e6-f9fbf309e83f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'base58Decode' while processing query: 'SELECT base58Decode', required columns: 'base58Decode'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:40.991438 [ 5687 ] {146d6acd-e0cd-4c86-a026-6ff9f09a7ea7} executeQuery: Code: 47. DB::Exception: Missing columns: 'base58Encode' while processing query: 'SELECT base58Encode', required columns: 'base58Encode'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT base58Encode;) 2026.10.27 19:25:40.999708 [ 5687 ] {146d6acd-e0cd-4c86-a026-6ff9f09a7ea7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'base58Encode' while processing query: 'SELECT base58Encode', required columns: 'base58Encode'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:41.068396 [ 5687 ] {42b960a9-e572-4db5-9702-96a325f856b7} executeQuery: Code: 47. DB::Exception: Missing columns: 'base64Decode' while processing query: 'SELECT base64Decode', required columns: 'base64Decode'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT base64Decode;) 2026.10.27 19:25:41.080392 [ 5687 ] {42b960a9-e572-4db5-9702-96a325f856b7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'base64Decode' while processing query: 'SELECT base64Decode', required columns: 'base64Decode'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:41.154645 [ 5687 ] {a9b64ce2-bcc3-4070-a5df-b291f1cdedf6} executeQuery: Code: 47. DB::Exception: Missing columns: 'base64Encode' while processing query: 'SELECT base64Encode', required columns: 'base64Encode'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT base64Encode;) 2026.10.27 19:25:41.165480 [ 5687 ] {a9b64ce2-bcc3-4070-a5df-b291f1cdedf6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'base64Encode' while processing query: 'SELECT base64Encode', required columns: 'base64Encode'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:41.238033 [ 5687 ] {5737cb98-ad82-4aac-bc46-2b09b5a1f7ae} executeQuery: Code: 47. DB::Exception: Missing columns: 'basename' while processing query: 'SELECT basename', required columns: 'basename'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT basename;) 2026.10.27 19:25:41.248572 [ 5687 ] {5737cb98-ad82-4aac-bc46-2b09b5a1f7ae} TCPHandler: Code: 47. DB::Exception: Missing columns: 'basename' while processing query: 'SELECT basename', required columns: 'basename'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:41.403250 [ 5687 ] {dc33ae2c-e732-4d9f-8ed8-422a0ee832af} executeQuery: Code: 47. DB::Exception: Missing columns: 'bin' while processing query: 'SELECT bin', required columns: 'bin'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bin;) 2026.10.27 19:25:41.409828 [ 5687 ] {dc33ae2c-e732-4d9f-8ed8-422a0ee832af} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bin' while processing query: 'SELECT bin', required columns: 'bin'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:41.492551 [ 5687 ] {0c63e607-de5a-4fa7-b880-5a6082e8ed2e} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitAnd' while processing query: 'SELECT bitAnd', required columns: 'bitAnd'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitAnd;) 2026.10.27 19:25:41.500745 [ 5687 ] {0c63e607-de5a-4fa7-b880-5a6082e8ed2e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitAnd' while processing query: 'SELECT bitAnd', required columns: 'bitAnd'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:41.574044 [ 5687 ] {2329f0dc-9497-4aec-bae1-7876f332bcd2} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitCount' while processing query: 'SELECT bitCount', required columns: 'bitCount'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitCount;) 2026.10.27 19:25:41.593147 [ 5687 ] {2329f0dc-9497-4aec-bae1-7876f332bcd2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitCount' while processing query: 'SELECT bitCount', required columns: 'bitCount'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:41.665217 [ 5687 ] {2af6e9f5-ec71-4abe-b4aa-b80771faffb5} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitHammingDistance' while processing query: 'SELECT bitHammingDistance', required columns: 'bitHammingDistance'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitHammingDistance;) 2026.10.27 19:25:41.667093 [ 5687 ] {2af6e9f5-ec71-4abe-b4aa-b80771faffb5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitHammingDistance' while processing query: 'SELECT bitHammingDistance', required columns: 'bitHammingDistance'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:41.736966 [ 5687 ] {5bed31da-9b2b-40ca-b7ce-373791e78b8c} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitNot' while processing query: 'SELECT bitNot', required columns: 'bitNot'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitNot;) 2026.10.27 19:25:41.745604 [ 5687 ] {5bed31da-9b2b-40ca-b7ce-373791e78b8c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitNot' while processing query: 'SELECT bitNot', required columns: 'bitNot'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:41.821930 [ 5687 ] {7da4f65b-9824-4a90-8f9c-8634552f6948} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitOr' while processing query: 'SELECT bitOr', required columns: 'bitOr'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitOr;) 2026.10.27 19:25:41.830993 [ 5687 ] {7da4f65b-9824-4a90-8f9c-8634552f6948} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitOr' while processing query: 'SELECT bitOr', required columns: 'bitOr'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:41.916513 [ 5687 ] {33633412-5463-4360-8844-0fa9f3769a3d} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitPositionsToArray' while processing query: 'SELECT bitPositionsToArray', required columns: 'bitPositionsToArray'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitPositionsToArray;) 2026.10.27 19:25:41.937853 [ 5687 ] {33633412-5463-4360-8844-0fa9f3769a3d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitPositionsToArray' while processing query: 'SELECT bitPositionsToArray', required columns: 'bitPositionsToArray'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:42.157662 [ 5687 ] {8b987c2a-af7d-49fe-86e0-02b90206ed72} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitRotateLeft' while processing query: 'SELECT bitRotateLeft', required columns: 'bitRotateLeft'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitRotateLeft;) 2026.10.27 19:25:42.166186 [ 5687 ] {8b987c2a-af7d-49fe-86e0-02b90206ed72} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitRotateLeft' while processing query: 'SELECT bitRotateLeft', required columns: 'bitRotateLeft'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:42.194447 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 4198715 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:289: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d651ad1 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a483e53 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:42.194506 [ 6141 ] {61dafbda-9832-469d-b5a2-94b8c9bcb745} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 1179648 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergeSortingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnString.h:147: DB::ColumnString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b1c2d7d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:113: DB::Chunk DB::MergeSorter::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003ed117f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003ec34cf3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergeSorter::read() @ 0x000000003ec1cfa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/MergeSortingTransform.cpp:236: DB::MergeSortingTransform::generate() @ 0x000000003ebf1521 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:354: DB::SortingTransform::work() @ 0x000000003ec2d564 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:42.195052 [ 2241 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_1_71_11}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1114301 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:42.195050 [ 2237 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_52_95_7}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.46 GiB (attempt to allocate chunk of 1114301 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::SerializationLowCardinality::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036f2cd65 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:42.204222 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 5161600 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:42.211348 [ 2289 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::MetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 4276919 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IMergeTreeDataPart.cpp:138: DB::IMergeTreeDataPart::MinMaxIndex::store(std::vector> const&, std::vector, std::allocator>> const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003cc2a292 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::IMergeTreeDataPart::MinMaxIndex::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003cc28e2e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64f047 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:42.228922 [ 2231 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1114301 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:42.242436 [ 5687 ] {cc203923-7f64-40a9-a141-f3e239266625} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitRotateRight' while processing query: 'SELECT bitRotateRight', required columns: 'bitRotateRight'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitRotateRight;) 2026.10.27 19:25:42.267641 [ 5687 ] {cc203923-7f64-40a9-a141-f3e239266625} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitRotateRight' while processing query: 'SELECT bitRotateRight', required columns: 'bitRotateRight'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:42.522281 [ 5687 ] {cd615a6b-253a-4676-a465-9126d9d37c68} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitShiftLeft' while processing query: 'SELECT bitShiftLeft', required columns: 'bitShiftLeft'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitShiftLeft;) 2026.10.27 19:25:42.537887 [ 5687 ] {cd615a6b-253a-4676-a465-9126d9d37c68} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitShiftLeft' while processing query: 'SELECT bitShiftLeft', required columns: 'bitShiftLeft'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:42.668948 [ 5687 ] {2321ca91-010a-4ae3-8d90-8c22ffa65a8f} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitShiftRight' while processing query: 'SELECT bitShiftRight', required columns: 'bitShiftRight'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitShiftRight;) 2026.10.27 19:25:42.686315 [ 5687 ] {2321ca91-010a-4ae3-8d90-8c22ffa65a8f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitShiftRight' while processing query: 'SELECT bitShiftRight', required columns: 'bitShiftRight'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:42.774839 [ 5687 ] {ecdebe4f-79af-46b3-a85b-a9f898992335} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitSlice' while processing query: 'SELECT bitSlice', required columns: 'bitSlice'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitSlice;) 2026.10.27 19:25:42.790567 [ 5687 ] {ecdebe4f-79af-46b3-a85b-a9f898992335} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitSlice' while processing query: 'SELECT bitSlice', required columns: 'bitSlice'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:42.917169 [ 5687 ] {1e963cd2-9a78-4e08-adc8-83c5e64fcdf7} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitTest' while processing query: 'SELECT bitTest', required columns: 'bitTest'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitTest;) 2026.10.27 19:25:42.925798 [ 5687 ] {1e963cd2-9a78-4e08-adc8-83c5e64fcdf7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitTest' while processing query: 'SELECT bitTest', required columns: 'bitTest'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:43.008936 [ 5687 ] {b76c5205-ee11-4369-a693-ab6468e52eb1} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitTestAll' while processing query: 'SELECT bitTestAll', required columns: 'bitTestAll'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitTestAll;) 2026.10.27 19:25:43.021596 [ 5687 ] {b76c5205-ee11-4369-a693-ab6468e52eb1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitTestAll' while processing query: 'SELECT bitTestAll', required columns: 'bitTestAll'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:43.112613 [ 5687 ] {2df5cee8-f09d-4f35-8572-35cc9910f9ea} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitTestAny' while processing query: 'SELECT bitTestAny', required columns: 'bitTestAny'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitTestAny;) 2026.10.27 19:25:43.130564 [ 5687 ] {2df5cee8-f09d-4f35-8572-35cc9910f9ea} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitTestAny' while processing query: 'SELECT bitTestAny', required columns: 'bitTestAny'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:43.230061 [ 5687 ] {39cab20b-6062-4cb4-8469-4792ef8e43d8} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitXor' while processing query: 'SELECT bitXor', required columns: 'bitXor'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitXor;) 2026.10.27 19:25:43.242237 [ 5687 ] {39cab20b-6062-4cb4-8469-4792ef8e43d8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitXor' while processing query: 'SELECT bitXor', required columns: 'bitXor'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:43.285336 [ 5687 ] {d6b4fa64-65ff-4543-86f2-c2ffdab2c3c3} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitmapAnd' while processing query: 'SELECT bitmapAnd', required columns: 'bitmapAnd'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitmapAnd;) 2026.10.27 19:25:43.296521 [ 5687 ] {d6b4fa64-65ff-4543-86f2-c2ffdab2c3c3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitmapAnd' while processing query: 'SELECT bitmapAnd', required columns: 'bitmapAnd'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:43.380378 [ 5687 ] {ec4c9b52-6189-4821-82d3-493424db150d} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitmapAndCardinality' while processing query: 'SELECT bitmapAndCardinality', required columns: 'bitmapAndCardinality'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitmapAndCardinality;) 2026.10.27 19:25:43.387238 [ 5687 ] {ec4c9b52-6189-4821-82d3-493424db150d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitmapAndCardinality' while processing query: 'SELECT bitmapAndCardinality', required columns: 'bitmapAndCardinality'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:43.441416 [ 5687 ] {6d6360a7-8251-41c5-beab-663f7c5acc2a} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitmapAndnot' while processing query: 'SELECT bitmapAndnot', required columns: 'bitmapAndnot'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitmapAndnot;) 2026.10.27 19:25:43.451156 [ 5687 ] {6d6360a7-8251-41c5-beab-663f7c5acc2a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitmapAndnot' while processing query: 'SELECT bitmapAndnot', required columns: 'bitmapAndnot'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:43.633386 [ 5687 ] {b16b1430-88f5-4a55-93c3-09207fae79cd} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitmapAndnotCardinality' while processing query: 'SELECT bitmapAndnotCardinality', required columns: 'bitmapAndnotCardinality'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitmapAndnotCardinality;) 2026.10.27 19:25:43.659328 [ 5687 ] {b16b1430-88f5-4a55-93c3-09207fae79cd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitmapAndnotCardinality' while processing query: 'SELECT bitmapAndnotCardinality', required columns: 'bitmapAndnotCardinality'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:43.741796 [ 5687 ] {d58d5a7e-1e82-46ed-81d2-83c88e488952} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitmapBuild' while processing query: 'SELECT bitmapBuild', required columns: 'bitmapBuild'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitmapBuild;) 2026.10.27 19:25:43.750978 [ 5687 ] {d58d5a7e-1e82-46ed-81d2-83c88e488952} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitmapBuild' while processing query: 'SELECT bitmapBuild', required columns: 'bitmapBuild'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:43.852731 [ 5687 ] {4244a129-64ed-4fcf-901b-8e4a02785475} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitmapCardinality' while processing query: 'SELECT bitmapCardinality', required columns: 'bitmapCardinality'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitmapCardinality;) 2026.10.27 19:25:43.866360 [ 5687 ] {4244a129-64ed-4fcf-901b-8e4a02785475} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitmapCardinality' while processing query: 'SELECT bitmapCardinality', required columns: 'bitmapCardinality'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:43.921443 [ 5687 ] {751e478a-73bf-4fd6-8d7f-91df610d8217} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitmapContains' while processing query: 'SELECT bitmapContains', required columns: 'bitmapContains'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitmapContains;) 2026.10.27 19:25:43.935230 [ 5687 ] {751e478a-73bf-4fd6-8d7f-91df610d8217} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitmapContains' while processing query: 'SELECT bitmapContains', required columns: 'bitmapContains'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:44.040551 [ 5687 ] {ed42fad6-1c43-4441-8f6f-f9708126c454} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitmapHasAll' while processing query: 'SELECT bitmapHasAll', required columns: 'bitmapHasAll'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitmapHasAll;) 2026.10.27 19:25:44.056668 [ 5687 ] {ed42fad6-1c43-4441-8f6f-f9708126c454} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitmapHasAll' while processing query: 'SELECT bitmapHasAll', required columns: 'bitmapHasAll'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:44.112430 [ 5687 ] {ad3a7665-c9cd-48a2-be27-ac6fa325e76d} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitmapHasAny' while processing query: 'SELECT bitmapHasAny', required columns: 'bitmapHasAny'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitmapHasAny;) 2026.10.27 19:25:44.121839 [ 5687 ] {ad3a7665-c9cd-48a2-be27-ac6fa325e76d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitmapHasAny' while processing query: 'SELECT bitmapHasAny', required columns: 'bitmapHasAny'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:44.178944 [ 5687 ] {5edd5f7d-0f4f-4a26-9413-115046f2d5fb} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitmapMax' while processing query: 'SELECT bitmapMax', required columns: 'bitmapMax'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitmapMax;) 2026.10.27 19:25:44.184620 [ 5687 ] {5edd5f7d-0f4f-4a26-9413-115046f2d5fb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitmapMax' while processing query: 'SELECT bitmapMax', required columns: 'bitmapMax'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:44.237205 [ 4309 ] {59d78b73-dba5-4b54-9cbe-0f91a85f5f52} executeQuery: Code: 69. DB::Exception: Scale 10 is too large for DateTime64. Maximum is up to nanoseconds (9).: While processing now64(10). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53172) (comment: 01259_datetime64_ubsan.sql) (in query: select now64(10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:25: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x0000000036aca245 in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], unsigned int&, String&, void>(std::allocator const&, unsigned int&, String&) @ 0x000000001ac14275 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ac12b3f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:25:44.242621 [ 5687 ] {901d33bb-ec3f-4d6e-9e03-f1cd0e704962} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitmapMin' while processing query: 'SELECT bitmapMin', required columns: 'bitmapMin'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitmapMin;) 2026.10.27 19:25:44.248650 [ 4309 ] {59d78b73-dba5-4b54-9cbe-0f91a85f5f52} TCPHandler: Code: 69. DB::Exception: Scale 10 is too large for DateTime64. Maximum is up to nanoseconds (9).: While processing now64(10). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:25: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x0000000036aca245 in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], unsigned int&, String&, void>(std::allocator const&, unsigned int&, String&) @ 0x000000001ac14275 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000001ac12b3f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:25:44.259909 [ 5687 ] {901d33bb-ec3f-4d6e-9e03-f1cd0e704962} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitmapMin' while processing query: 'SELECT bitmapMin', required columns: 'bitmapMin'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:44.341102 [ 5687 ] {4e292058-ca76-4104-8f1c-beeac5f49c59} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitmapOr' while processing query: 'SELECT bitmapOr', required columns: 'bitmapOr'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitmapOr;) 2026.10.27 19:25:44.355390 [ 5687 ] {4e292058-ca76-4104-8f1c-beeac5f49c59} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitmapOr' while processing query: 'SELECT bitmapOr', required columns: 'bitmapOr'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:44.397261 [ 5687 ] {0f8ced6a-4279-4565-abb0-27b4388e28d2} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitmapOrCardinality' while processing query: 'SELECT bitmapOrCardinality', required columns: 'bitmapOrCardinality'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitmapOrCardinality;) 2026.10.27 19:25:44.405026 [ 5687 ] {0f8ced6a-4279-4565-abb0-27b4388e28d2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitmapOrCardinality' while processing query: 'SELECT bitmapOrCardinality', required columns: 'bitmapOrCardinality'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:44.497377 [ 5687 ] {0246c328-7191-4f23-8a6a-29d158a780ec} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitmapSubsetInRange' while processing query: 'SELECT bitmapSubsetInRange', required columns: 'bitmapSubsetInRange'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitmapSubsetInRange;) 2026.10.27 19:25:44.510310 [ 5687 ] {0246c328-7191-4f23-8a6a-29d158a780ec} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitmapSubsetInRange' while processing query: 'SELECT bitmapSubsetInRange', required columns: 'bitmapSubsetInRange'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:44.588443 [ 5687 ] {5ba926de-2678-4181-8c9b-2b61eb58e247} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitmapSubsetLimit' while processing query: 'SELECT bitmapSubsetLimit', required columns: 'bitmapSubsetLimit'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitmapSubsetLimit;) 2026.10.27 19:25:44.602274 [ 5687 ] {5ba926de-2678-4181-8c9b-2b61eb58e247} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitmapSubsetLimit' while processing query: 'SELECT bitmapSubsetLimit', required columns: 'bitmapSubsetLimit'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:44.648892 [ 5687 ] {ff0d1c77-7a59-4ab4-8781-f3cb5bcea0cb} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitmapToArray' while processing query: 'SELECT bitmapToArray', required columns: 'bitmapToArray'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitmapToArray;) 2026.10.27 19:25:44.660672 [ 5687 ] {ff0d1c77-7a59-4ab4-8781-f3cb5bcea0cb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitmapToArray' while processing query: 'SELECT bitmapToArray', required columns: 'bitmapToArray'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:44.792782 [ 5687 ] {de1470c1-3e61-47bc-a6d1-397373daab80} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitmapTransform' while processing query: 'SELECT bitmapTransform', required columns: 'bitmapTransform'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitmapTransform;) 2026.10.27 19:25:44.804774 [ 5687 ] {de1470c1-3e61-47bc-a6d1-397373daab80} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitmapTransform' while processing query: 'SELECT bitmapTransform', required columns: 'bitmapTransform'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:45.008660 [ 5687 ] {bd9df0d7-dfc8-4a3b-b1e1-ca20b952eefa} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitmapXor' while processing query: 'SELECT bitmapXor', required columns: 'bitmapXor'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitmapXor;) 2026.10.27 19:25:45.022929 [ 5687 ] {bd9df0d7-dfc8-4a3b-b1e1-ca20b952eefa} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitmapXor' while processing query: 'SELECT bitmapXor', required columns: 'bitmapXor'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:45.145652 [ 5687 ] {6361e62c-af7c-48c1-aef2-f345e20d5fa4} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitmapXorCardinality' while processing query: 'SELECT bitmapXorCardinality', required columns: 'bitmapXorCardinality'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitmapXorCardinality;) 2026.10.27 19:25:45.161210 [ 5687 ] {6361e62c-af7c-48c1-aef2-f345e20d5fa4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitmapXorCardinality' while processing query: 'SELECT bitmapXorCardinality', required columns: 'bitmapXorCardinality'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:45.190002 [ 2247 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 1050750 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:72: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d12504a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 15. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:45.263666 [ 5687 ] {45b7c4c4-6248-4ede-b18e-7e04b39219f5} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitmaskToArray' while processing query: 'SELECT bitmaskToArray', required columns: 'bitmaskToArray'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitmaskToArray;) 2026.10.27 19:25:45.374737 [ 5687 ] {45b7c4c4-6248-4ede-b18e-7e04b39219f5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitmaskToArray' while processing query: 'SELECT bitmaskToArray', required columns: 'bitmaskToArray'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:45.436668 [ 5687 ] {f38ca6fc-1e47-4642-8e12-071811f35789} executeQuery: Code: 47. DB::Exception: Missing columns: 'bitmaskToList' while processing query: 'SELECT bitmaskToList', required columns: 'bitmaskToList'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bitmaskToList;) 2026.10.27 19:25:45.451399 [ 5687 ] {f38ca6fc-1e47-4642-8e12-071811f35789} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bitmaskToList' while processing query: 'SELECT bitmaskToList', required columns: 'bitmaskToList'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:45.479781 [ 5687 ] {b795144d-a34a-4d53-8f5b-262151b6b38f} executeQuery: Code: 47. DB::Exception: Missing columns: 'blockNumber' while processing query: 'SELECT blockNumber', required columns: 'blockNumber'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT blockNumber;) 2026.10.27 19:25:45.481964 [ 5687 ] {b795144d-a34a-4d53-8f5b-262151b6b38f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'blockNumber' while processing query: 'SELECT blockNumber', required columns: 'blockNumber'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:45.551149 [ 2238 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} TemporaryFileOnDisk: Temporary path 'tmp02c38590-9725-4620-90ad-63747d322019' does not exist in '/var/lib/clickhouse/tmp/' 2026.10.27 19:25:45.621901 [ 5687 ] {28207de1-ce9d-470f-876c-a4df0c2d1b04} executeQuery: Code: 47. DB::Exception: Missing columns: 'blockSerializedSize' while processing query: 'SELECT blockSerializedSize', required columns: 'blockSerializedSize'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT blockSerializedSize;) 2026.10.27 19:25:45.625108 [ 5687 ] {28207de1-ce9d-470f-876c-a4df0c2d1b04} TCPHandler: Code: 47. DB::Exception: Missing columns: 'blockSerializedSize' while processing query: 'SELECT blockSerializedSize', required columns: 'blockSerializedSize'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:45.649232 [ 5687 ] {dbecdf04-67e0-4665-83b7-c27f4eaab0ba} executeQuery: Code: 47. DB::Exception: Missing columns: 'blockSize' while processing query: 'SELECT blockSize', required columns: 'blockSize'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT blockSize;) 2026.10.27 19:25:45.652227 [ 5687 ] {dbecdf04-67e0-4665-83b7-c27f4eaab0ba} TCPHandler: Code: 47. DB::Exception: Missing columns: 'blockSize' while processing query: 'SELECT blockSize', required columns: 'blockSize'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:45.674028 [ 5687 ] {9542a59b-49af-4ff3-aabf-2bd45d81f603} executeQuery: Code: 47. DB::Exception: Missing columns: 'boundingRatio' while processing query: 'SELECT boundingRatio', required columns: 'boundingRatio'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT boundingRatio;) 2026.10.27 19:25:45.677422 [ 5687 ] {9542a59b-49af-4ff3-aabf-2bd45d81f603} TCPHandler: Code: 47. DB::Exception: Missing columns: 'boundingRatio' while processing query: 'SELECT boundingRatio', required columns: 'boundingRatio'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:45.714565 [ 5687 ] {25afa280-aced-46d6-85fb-c670d791eec7} executeQuery: Code: 47. DB::Exception: Missing columns: 'buildId' while processing query: 'SELECT buildId', required columns: 'buildId'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT buildId;) 2026.10.27 19:25:45.718473 [ 5687 ] {25afa280-aced-46d6-85fb-c670d791eec7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'buildId' while processing query: 'SELECT buildId', required columns: 'buildId'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:45.753282 [ 5687 ] {9983b60b-ae19-41bf-977f-99c577df6d44} executeQuery: Code: 47. DB::Exception: Missing columns: 'byteSize' while processing query: 'SELECT byteSize', required columns: 'byteSize'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT byteSize;) 2026.10.27 19:25:45.755999 [ 5687 ] {9983b60b-ae19-41bf-977f-99c577df6d44} TCPHandler: Code: 47. DB::Exception: Missing columns: 'byteSize' while processing query: 'SELECT byteSize', required columns: 'byteSize'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:45.797652 [ 5687 ] {5016b0ff-8c35-4bf9-8dd2-f9c60fb1549d} executeQuery: Code: 47. DB::Exception: Missing columns: 'bytes2hex' while processing query: 'SELECT bytes2hex', required columns: 'bytes2hex'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT bytes2hex;) 2026.10.27 19:25:45.802300 [ 5687 ] {5016b0ff-8c35-4bf9-8dd2-f9c60fb1549d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'bytes2hex' while processing query: 'SELECT bytes2hex', required columns: 'bytes2hex'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:45.830846 [ 5687 ] {ca8f3c15-c36c-4530-896d-b1a578655cf4} executeQuery: Code: 47. DB::Exception: Missing columns: 'caseWithExpr' while processing query: 'SELECT caseWithExpr', required columns: 'caseWithExpr'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT caseWithExpr;) 2026.10.27 19:25:45.833367 [ 5687 ] {ca8f3c15-c36c-4530-896d-b1a578655cf4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'caseWithExpr' while processing query: 'SELECT caseWithExpr', required columns: 'caseWithExpr'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:45.851855 [ 5687 ] {278b56ae-24ab-4bd9-aa9b-91b3f623ed3a} executeQuery: Code: 47. DB::Exception: Missing columns: 'caseWithExpression' while processing query: 'SELECT caseWithExpression', required columns: 'caseWithExpression'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT caseWithExpression;) 2026.10.27 19:25:45.854479 [ 5687 ] {278b56ae-24ab-4bd9-aa9b-91b3f623ed3a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'caseWithExpression' while processing query: 'SELECT caseWithExpression', required columns: 'caseWithExpression'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:45.873250 [ 5687 ] {9483f6b1-d0ed-48fe-9ecd-fd0b9357f71f} executeQuery: Code: 47. DB::Exception: Missing columns: 'caseWithoutExpr' while processing query: 'SELECT caseWithoutExpr', required columns: 'caseWithoutExpr'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT caseWithoutExpr;) 2026.10.27 19:25:45.875315 [ 5687 ] {9483f6b1-d0ed-48fe-9ecd-fd0b9357f71f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'caseWithoutExpr' while processing query: 'SELECT caseWithoutExpr', required columns: 'caseWithoutExpr'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:45.893635 [ 5687 ] {c67f4daf-a721-47da-a3d7-b36e7a9ba3e1} executeQuery: Code: 47. DB::Exception: Missing columns: 'caseWithoutExpression' while processing query: 'SELECT caseWithoutExpression', required columns: 'caseWithoutExpression'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT caseWithoutExpression;) 2026.10.27 19:25:45.895562 [ 5687 ] {c67f4daf-a721-47da-a3d7-b36e7a9ba3e1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'caseWithoutExpression' while processing query: 'SELECT caseWithoutExpression', required columns: 'caseWithoutExpression'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:45.913037 [ 5687 ] {9ec86138-4a27-4da0-b67c-1da0fa188232} executeQuery: Code: 47. DB::Exception: Missing columns: 'catboostEvaluate' while processing query: 'SELECT catboostEvaluate', required columns: 'catboostEvaluate'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT catboostEvaluate;) 2026.10.27 19:25:45.914852 [ 5687 ] {9ec86138-4a27-4da0-b67c-1da0fa188232} TCPHandler: Code: 47. DB::Exception: Missing columns: 'catboostEvaluate' while processing query: 'SELECT catboostEvaluate', required columns: 'catboostEvaluate'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:45.933604 [ 5687 ] {6b789f55-572b-4b6b-86da-77611ae7bb1c} executeQuery: Code: 47. DB::Exception: Missing columns: 'categoricalInformationValue' while processing query: 'SELECT categoricalInformationValue', required columns: 'categoricalInformationValue'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT categoricalInformationValue;) 2026.10.27 19:25:45.935467 [ 5687 ] {6b789f55-572b-4b6b-86da-77611ae7bb1c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'categoricalInformationValue' while processing query: 'SELECT categoricalInformationValue', required columns: 'categoricalInformationValue'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:45.953601 [ 5687 ] {1d529253-83f4-4e58-b27b-5ce3f4ea9932} executeQuery: Code: 47. DB::Exception: Missing columns: 'cbrt' while processing query: 'SELECT cbrt', required columns: 'cbrt'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT cbrt;) 2026.10.27 19:25:45.955531 [ 5687 ] {1d529253-83f4-4e58-b27b-5ce3f4ea9932} TCPHandler: Code: 47. DB::Exception: Missing columns: 'cbrt' while processing query: 'SELECT cbrt', required columns: 'cbrt'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:45.973663 [ 5687 ] {639fc0d5-ea94-4c3e-b513-4b529cb7eea2} executeQuery: Code: 47. DB::Exception: Missing columns: 'ceil' while processing query: 'SELECT ceil', required columns: 'ceil'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ceil;) 2026.10.27 19:25:45.975641 [ 5687 ] {639fc0d5-ea94-4c3e-b513-4b529cb7eea2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ceil' while processing query: 'SELECT ceil', required columns: 'ceil'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:45.994328 [ 5687 ] {98fb6fbb-42f4-4d9a-ac35-c42d2e3c8135} executeQuery: Code: 47. DB::Exception: Missing columns: 'ceiling' while processing query: 'SELECT ceiling', required columns: 'ceiling'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ceiling;) 2026.10.27 19:25:45.996895 [ 5687 ] {98fb6fbb-42f4-4d9a-ac35-c42d2e3c8135} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ceiling' while processing query: 'SELECT ceiling', required columns: 'ceiling'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:46.017692 [ 5687 ] {02a09589-125e-4f70-a9ee-9169d719b9b6} executeQuery: Code: 47. DB::Exception: Missing columns: 'char' while processing query: 'SELECT char', required columns: 'char'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT char;) 2026.10.27 19:25:46.020391 [ 5687 ] {02a09589-125e-4f70-a9ee-9169d719b9b6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'char' while processing query: 'SELECT char', required columns: 'char'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:46.040541 [ 5687 ] {779be829-9974-4d9f-b1dd-4baa99e7e7cf} executeQuery: Code: 47. DB::Exception: Missing columns: 'cityHash64' while processing query: 'SELECT cityHash64', required columns: 'cityHash64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT cityHash64;) 2026.10.27 19:25:46.043368 [ 5687 ] {779be829-9974-4d9f-b1dd-4baa99e7e7cf} TCPHandler: Code: 47. DB::Exception: Missing columns: 'cityHash64' while processing query: 'SELECT cityHash64', required columns: 'cityHash64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:46.163849 [ 5687 ] {5b8dfb30-2aa6-461e-b698-976b98651a75} executeQuery: Code: 47. DB::Exception: Missing columns: 'coalesce' while processing query: 'SELECT coalesce', required columns: 'coalesce'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT coalesce;) 2026.10.27 19:25:46.166857 [ 5687 ] {5b8dfb30-2aa6-461e-b698-976b98651a75} TCPHandler: Code: 47. DB::Exception: Missing columns: 'coalesce' while processing query: 'SELECT coalesce', required columns: 'coalesce'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:46.188558 [ 5687 ] {ad3f875a-ced3-4e0a-95f9-58582961c225} executeQuery: Code: 47. DB::Exception: Missing columns: 'concat' while processing query: 'SELECT concat', required columns: 'concat'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT concat;) 2026.10.27 19:25:46.191178 [ 5687 ] {ad3f875a-ced3-4e0a-95f9-58582961c225} TCPHandler: Code: 47. DB::Exception: Missing columns: 'concat' while processing query: 'SELECT concat', required columns: 'concat'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:46.314956 [ 5687 ] {b0c114ef-c6ae-4608-88b8-0b37e00e1f0c} executeQuery: Code: 47. DB::Exception: Missing columns: 'concatAssumeInjective' while processing query: 'SELECT concatAssumeInjective', required columns: 'concatAssumeInjective'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT concatAssumeInjective;) 2026.10.27 19:25:46.317906 [ 5687 ] {b0c114ef-c6ae-4608-88b8-0b37e00e1f0c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'concatAssumeInjective' while processing query: 'SELECT concatAssumeInjective', required columns: 'concatAssumeInjective'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:46.338346 [ 5687 ] {46945dfe-12c1-4578-8c8a-b81456afcf91} executeQuery: Code: 47. DB::Exception: Missing columns: 'concatWithSeparator' while processing query: 'SELECT concatWithSeparator', required columns: 'concatWithSeparator'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT concatWithSeparator;) 2026.10.27 19:25:46.341129 [ 5687 ] {46945dfe-12c1-4578-8c8a-b81456afcf91} TCPHandler: Code: 47. DB::Exception: Missing columns: 'concatWithSeparator' while processing query: 'SELECT concatWithSeparator', required columns: 'concatWithSeparator'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:46.361115 [ 5687 ] {78d464b9-88c8-4f06-8f1f-21eb9a8efb67} executeQuery: Code: 47. DB::Exception: Missing columns: 'concatWithSeparatorAssumeInjective' while processing query: 'SELECT concatWithSeparatorAssumeInjective', required columns: 'concatWithSeparatorAssumeInjective'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT concatWithSeparatorAssumeInjective;) 2026.10.27 19:25:46.363418 [ 5687 ] {78d464b9-88c8-4f06-8f1f-21eb9a8efb67} TCPHandler: Code: 47. DB::Exception: Missing columns: 'concatWithSeparatorAssumeInjective' while processing query: 'SELECT concatWithSeparatorAssumeInjective', required columns: 'concatWithSeparatorAssumeInjective'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:46.496967 [ 5687 ] {a30b136c-6cf1-4c94-b743-2c6251679fe4} executeQuery: Code: 47. DB::Exception: Missing columns: 'concat_ws' while processing query: 'SELECT concat_ws', required columns: 'concat_ws'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT concat_ws;) 2026.10.27 19:25:46.499603 [ 5687 ] {a30b136c-6cf1-4c94-b743-2c6251679fe4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'concat_ws' while processing query: 'SELECT concat_ws', required columns: 'concat_ws'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:46.530399 [ 5687 ] {83a84fbe-7197-44ef-a0d7-09a64082ce87} executeQuery: Code: 47. DB::Exception: Missing columns: 'connectionId' while processing query: 'SELECT connectionId', required columns: 'connectionId'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT connectionId;) 2026.10.27 19:25:46.533137 [ 5687 ] {83a84fbe-7197-44ef-a0d7-09a64082ce87} TCPHandler: Code: 47. DB::Exception: Missing columns: 'connectionId' while processing query: 'SELECT connectionId', required columns: 'connectionId'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:46.562506 [ 5687 ] {c6e87a86-19d0-4524-8d16-56c81d5bbea5} executeQuery: Code: 47. DB::Exception: Missing columns: 'connection_id' while processing query: 'SELECT connection_id', required columns: 'connection_id'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT connection_id;) 2026.10.27 19:25:46.564991 [ 5687 ] {c6e87a86-19d0-4524-8d16-56c81d5bbea5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'connection_id' while processing query: 'SELECT connection_id', required columns: 'connection_id'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:46.599787 [ 5687 ] {7e66e895-07ff-4f8a-849a-0310c4869dca} executeQuery: Code: 47. DB::Exception: Missing columns: 'contingency' while processing query: 'SELECT contingency', required columns: 'contingency'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT contingency;) 2026.10.27 19:25:46.603670 [ 5687 ] {7e66e895-07ff-4f8a-849a-0310c4869dca} TCPHandler: Code: 47. DB::Exception: Missing columns: 'contingency' while processing query: 'SELECT contingency', required columns: 'contingency'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:46.634814 [ 5687 ] {f0a18186-111d-4d8b-a984-4ce1ea9b0599} executeQuery: Code: 47. DB::Exception: Missing columns: 'convertCharset' while processing query: 'SELECT convertCharset', required columns: 'convertCharset'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT convertCharset;) 2026.10.27 19:25:46.637497 [ 5687 ] {f0a18186-111d-4d8b-a984-4ce1ea9b0599} TCPHandler: Code: 47. DB::Exception: Missing columns: 'convertCharset' while processing query: 'SELECT convertCharset', required columns: 'convertCharset'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:46.667209 [ 5687 ] {cb8dbed6-f0f1-451a-b48d-1a82d2513b42} executeQuery: Code: 47. DB::Exception: Missing columns: 'corr' while processing query: 'SELECT corr', required columns: 'corr'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT corr;) 2026.10.27 19:25:46.670138 [ 5687 ] {cb8dbed6-f0f1-451a-b48d-1a82d2513b42} TCPHandler: Code: 47. DB::Exception: Missing columns: 'corr' while processing query: 'SELECT corr', required columns: 'corr'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:46.699183 [ 5687 ] {f0a2af19-4abd-4bfb-93f6-5ac0d75c6e08} executeQuery: Code: 47. DB::Exception: Missing columns: 'corrMatrix' while processing query: 'SELECT corrMatrix', required columns: 'corrMatrix'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT corrMatrix;) 2026.10.27 19:25:46.701923 [ 5687 ] {f0a2af19-4abd-4bfb-93f6-5ac0d75c6e08} TCPHandler: Code: 47. DB::Exception: Missing columns: 'corrMatrix' while processing query: 'SELECT corrMatrix', required columns: 'corrMatrix'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:46.732599 [ 5687 ] {10f7f223-7cd2-44aa-9061-1140de288cc4} executeQuery: Code: 47. DB::Exception: Missing columns: 'corrStable' while processing query: 'SELECT corrStable', required columns: 'corrStable'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT corrStable;) 2026.10.27 19:25:46.735073 [ 5687 ] {10f7f223-7cd2-44aa-9061-1140de288cc4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'corrStable' while processing query: 'SELECT corrStable', required columns: 'corrStable'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:46.864499 [ 5687 ] {5544daad-a588-41e9-abcc-e1a1648206d9} executeQuery: Code: 47. DB::Exception: Missing columns: 'cos' while processing query: 'SELECT cos', required columns: 'cos'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT cos;) 2026.10.27 19:25:46.868557 [ 5687 ] {5544daad-a588-41e9-abcc-e1a1648206d9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'cos' while processing query: 'SELECT cos', required columns: 'cos'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:46.899621 [ 5687 ] {ee246ada-fee9-44c7-964a-ad57b7621d1d} executeQuery: Code: 47. DB::Exception: Missing columns: 'cosh' while processing query: 'SELECT cosh', required columns: 'cosh'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT cosh;) 2026.10.27 19:25:46.902403 [ 5687 ] {ee246ada-fee9-44c7-964a-ad57b7621d1d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'cosh' while processing query: 'SELECT cosh', required columns: 'cosh'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:46.933566 [ 5687 ] {b113f434-e8e6-49e2-82be-ee6fa9f5b648} executeQuery: Code: 47. DB::Exception: Missing columns: 'cosineDistance' while processing query: 'SELECT cosineDistance', required columns: 'cosineDistance'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT cosineDistance;) 2026.10.27 19:25:47.036684 [ 5687 ] {b113f434-e8e6-49e2-82be-ee6fa9f5b648} TCPHandler: Code: 47. DB::Exception: Missing columns: 'cosineDistance' while processing query: 'SELECT cosineDistance', required columns: 'cosineDistance'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:47.066334 [ 5687 ] {67ef85ee-6389-4016-a222-d023aa4e4c3e} executeQuery: Code: 47. DB::Exception: Missing columns: 'count' while processing query: 'SELECT count', required columns: 'count'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT count;) 2026.10.27 19:25:47.069174 [ 5687 ] {67ef85ee-6389-4016-a222-d023aa4e4c3e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'count' while processing query: 'SELECT count', required columns: 'count'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:47.099025 [ 5687 ] {7a6fc805-67fe-43f6-8b7f-d82d798a2858} executeQuery: Code: 47. DB::Exception: Missing columns: 'countDigits' while processing query: 'SELECT countDigits', required columns: 'countDigits'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT countDigits;) 2026.10.27 19:25:47.101748 [ 5687 ] {7a6fc805-67fe-43f6-8b7f-d82d798a2858} TCPHandler: Code: 47. DB::Exception: Missing columns: 'countDigits' while processing query: 'SELECT countDigits', required columns: 'countDigits'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:47.133433 [ 5687 ] {2f7c1e92-fc94-4126-8866-68bafdbec928} executeQuery: Code: 47. DB::Exception: Missing columns: 'countEqual' while processing query: 'SELECT countEqual', required columns: 'countEqual'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT countEqual;) 2026.10.27 19:25:47.136868 [ 5687 ] {2f7c1e92-fc94-4126-8866-68bafdbec928} TCPHandler: Code: 47. DB::Exception: Missing columns: 'countEqual' while processing query: 'SELECT countEqual', required columns: 'countEqual'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:47.168874 [ 5687 ] {cb9f25b7-1719-47fc-a7b8-c6d056b49128} executeQuery: Code: 47. DB::Exception: Missing columns: 'countMatches' while processing query: 'SELECT countMatches', required columns: 'countMatches'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT countMatches;) 2026.10.27 19:25:47.171597 [ 5687 ] {cb9f25b7-1719-47fc-a7b8-c6d056b49128} TCPHandler: Code: 47. DB::Exception: Missing columns: 'countMatches' while processing query: 'SELECT countMatches', required columns: 'countMatches'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:47.205692 [ 5687 ] {6eab8f49-2baa-4206-9d1e-9057b6359abe} executeQuery: Code: 47. DB::Exception: Missing columns: 'countMatchesCaseInsensitive' while processing query: 'SELECT countMatchesCaseInsensitive', required columns: 'countMatchesCaseInsensitive'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT countMatchesCaseInsensitive;) 2026.10.27 19:25:47.208708 [ 5687 ] {6eab8f49-2baa-4206-9d1e-9057b6359abe} TCPHandler: Code: 47. DB::Exception: Missing columns: 'countMatchesCaseInsensitive' while processing query: 'SELECT countMatchesCaseInsensitive', required columns: 'countMatchesCaseInsensitive'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:47.334466 [ 5687 ] {97885257-69de-4496-89d5-6c0fc2c8f85d} executeQuery: Code: 47. DB::Exception: Missing columns: 'countSubstrings' while processing query: 'SELECT countSubstrings', required columns: 'countSubstrings'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT countSubstrings;) 2026.10.27 19:25:47.337550 [ 5687 ] {97885257-69de-4496-89d5-6c0fc2c8f85d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'countSubstrings' while processing query: 'SELECT countSubstrings', required columns: 'countSubstrings'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:47.367363 [ 5687 ] {31dae310-f63c-46f3-a06b-40e50f08fe82} executeQuery: Code: 47. DB::Exception: Missing columns: 'countSubstringsCaseInsensitive' while processing query: 'SELECT countSubstringsCaseInsensitive', required columns: 'countSubstringsCaseInsensitive'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT countSubstringsCaseInsensitive;) 2026.10.27 19:25:47.370187 [ 5687 ] {31dae310-f63c-46f3-a06b-40e50f08fe82} TCPHandler: Code: 47. DB::Exception: Missing columns: 'countSubstringsCaseInsensitive' while processing query: 'SELECT countSubstringsCaseInsensitive', required columns: 'countSubstringsCaseInsensitive'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:47.371094 [ 5708 ] {4cfdf8a9-3182-4383-a8e5-b18f7d66b2c8} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 1160264 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41400) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnFixedString.cpp:339: COW::immutable_ptr DB::ColumnFixedString::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0adfba in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnFixedString.cpp:314: DB::ColumnFixedString::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0720bc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa24844 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:47.371204 [ 2239 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_1_71_11}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 1050750 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:72: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d12504a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 15. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:47.502325 [ 5687 ] {87f0f238-441c-4c3f-9710-48705439cddd} executeQuery: Code: 47. DB::Exception: Missing columns: 'countSubstringsCaseInsensitiveUTF8' while processing query: 'SELECT countSubstringsCaseInsensitiveUTF8', required columns: 'countSubstringsCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT countSubstringsCaseInsensitiveUTF8;) 2026.10.27 19:25:47.506175 [ 5687 ] {87f0f238-441c-4c3f-9710-48705439cddd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'countSubstringsCaseInsensitiveUTF8' while processing query: 'SELECT countSubstringsCaseInsensitiveUTF8', required columns: 'countSubstringsCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:47.586331 [ 5687 ] {8ba6443f-7c26-403a-b3a9-a3c72051dcaa} executeQuery: Code: 47. DB::Exception: Missing columns: 'covarPop' while processing query: 'SELECT covarPop', required columns: 'covarPop'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT covarPop;) 2026.10.27 19:25:47.594302 [ 5687 ] {8ba6443f-7c26-403a-b3a9-a3c72051dcaa} TCPHandler: Code: 47. DB::Exception: Missing columns: 'covarPop' while processing query: 'SELECT covarPop', required columns: 'covarPop'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:47.692399 [ 5687 ] {81f0717c-d10c-414e-a2ba-89ae93605f92} executeQuery: Code: 47. DB::Exception: Missing columns: 'covarPopMatrix' while processing query: 'SELECT covarPopMatrix', required columns: 'covarPopMatrix'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT covarPopMatrix;) 2026.10.27 19:25:47.699727 [ 5687 ] {81f0717c-d10c-414e-a2ba-89ae93605f92} TCPHandler: Code: 47. DB::Exception: Missing columns: 'covarPopMatrix' while processing query: 'SELECT covarPopMatrix', required columns: 'covarPopMatrix'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:47.793430 [ 5687 ] {b52a2945-90b6-4ec9-862b-eaa62aca36bb} executeQuery: Code: 47. DB::Exception: Missing columns: 'covarPopStable' while processing query: 'SELECT covarPopStable', required columns: 'covarPopStable'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT covarPopStable;) 2026.10.27 19:25:47.799573 [ 5687 ] {b52a2945-90b6-4ec9-862b-eaa62aca36bb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'covarPopStable' while processing query: 'SELECT covarPopStable', required columns: 'covarPopStable'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:47.859440 [ 5687 ] {b6f0adec-58b3-4f9d-a4cf-5dd9b838fb61} executeQuery: Code: 47. DB::Exception: Missing columns: 'covarSamp' while processing query: 'SELECT covarSamp', required columns: 'covarSamp'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT covarSamp;) 2026.10.27 19:25:47.874118 [ 5687 ] {b6f0adec-58b3-4f9d-a4cf-5dd9b838fb61} TCPHandler: Code: 47. DB::Exception: Missing columns: 'covarSamp' while processing query: 'SELECT covarSamp', required columns: 'covarSamp'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:47.952403 [ 5687 ] {ec547c4d-d2a2-4108-be0c-6d6035f7da9a} executeQuery: Code: 47. DB::Exception: Missing columns: 'covarSampMatrix' while processing query: 'SELECT covarSampMatrix', required columns: 'covarSampMatrix'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT covarSampMatrix;) 2026.10.27 19:25:47.962124 [ 5687 ] {ec547c4d-d2a2-4108-be0c-6d6035f7da9a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'covarSampMatrix' while processing query: 'SELECT covarSampMatrix', required columns: 'covarSampMatrix'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:48.019293 [ 5687 ] {4322ee43-0da0-4a05-8d46-13f2c0d16991} executeQuery: Code: 47. DB::Exception: Missing columns: 'covarSampStable' while processing query: 'SELECT covarSampStable', required columns: 'covarSampStable'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT covarSampStable;) 2026.10.27 19:25:48.028580 [ 5687 ] {4322ee43-0da0-4a05-8d46-13f2c0d16991} TCPHandler: Code: 47. DB::Exception: Missing columns: 'covarSampStable' while processing query: 'SELECT covarSampStable', required columns: 'covarSampStable'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:48.095343 [ 5687 ] {3261fdf0-f1d6-4e31-8c2d-2661e827fbc0} executeQuery: Code: 47. DB::Exception: Missing columns: 'cramersV' while processing query: 'SELECT cramersV', required columns: 'cramersV'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT cramersV;) 2026.10.27 19:25:48.111434 [ 5687 ] {3261fdf0-f1d6-4e31-8c2d-2661e827fbc0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'cramersV' while processing query: 'SELECT cramersV', required columns: 'cramersV'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:48.177184 [ 5687 ] {cb5439f6-e4fe-4cd6-8117-4d194b90648a} executeQuery: Code: 47. DB::Exception: Missing columns: 'cramersVBiasCorrected' while processing query: 'SELECT cramersVBiasCorrected', required columns: 'cramersVBiasCorrected'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT cramersVBiasCorrected;) 2026.10.27 19:25:48.186474 [ 5687 ] {cb5439f6-e4fe-4cd6-8117-4d194b90648a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'cramersVBiasCorrected' while processing query: 'SELECT cramersVBiasCorrected', required columns: 'cramersVBiasCorrected'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:48.313226 [ 5687 ] {384b9329-f076-4d68-8fc0-aef353be2081} executeQuery: Code: 47. DB::Exception: Missing columns: 'curdate' while processing query: 'SELECT curdate', required columns: 'curdate'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT curdate;) 2026.10.27 19:25:48.335101 [ 5687 ] {384b9329-f076-4d68-8fc0-aef353be2081} TCPHandler: Code: 47. DB::Exception: Missing columns: 'curdate' while processing query: 'SELECT curdate', required columns: 'curdate'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:48.464383 [ 5687 ] {4e44712d-ef0d-4022-957f-6f59b0d63dd5} executeQuery: Code: 47. DB::Exception: Missing columns: 'currentDatabase' while processing query: 'SELECT currentDatabase', required columns: 'currentDatabase'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT currentDatabase;) 2026.10.27 19:25:48.469706 [ 5687 ] {4e44712d-ef0d-4022-957f-6f59b0d63dd5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'currentDatabase' while processing query: 'SELECT currentDatabase', required columns: 'currentDatabase'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:48.494592 [ 5687 ] {fbc00cc4-b3a1-4437-8762-4366cbc957c8} executeQuery: Code: 47. DB::Exception: Missing columns: 'currentProfiles' while processing query: 'SELECT currentProfiles', required columns: 'currentProfiles'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT currentProfiles;) 2026.10.27 19:25:48.498054 [ 5687 ] {fbc00cc4-b3a1-4437-8762-4366cbc957c8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'currentProfiles' while processing query: 'SELECT currentProfiles', required columns: 'currentProfiles'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:48.519469 [ 5687 ] {295e5611-9887-44f0-83c3-6b9a382de60d} executeQuery: Code: 47. DB::Exception: Missing columns: 'currentRoles' while processing query: 'SELECT currentRoles', required columns: 'currentRoles'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT currentRoles;) 2026.10.27 19:25:48.522595 [ 5687 ] {295e5611-9887-44f0-83c3-6b9a382de60d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'currentRoles' while processing query: 'SELECT currentRoles', required columns: 'currentRoles'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:48.542337 [ 5687 ] {306e070e-168d-4396-9716-1f44b0b4bb08} executeQuery: Code: 47. DB::Exception: Missing columns: 'currentSchemas' while processing query: 'SELECT currentSchemas', required columns: 'currentSchemas'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT currentSchemas;) 2026.10.27 19:25:48.545478 [ 5687 ] {306e070e-168d-4396-9716-1f44b0b4bb08} TCPHandler: Code: 47. DB::Exception: Missing columns: 'currentSchemas' while processing query: 'SELECT currentSchemas', required columns: 'currentSchemas'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:48.697860 [ 5687 ] {86de58ea-112c-49ab-824d-2beffe608c9d} executeQuery: Code: 47. DB::Exception: Missing columns: 'currentUser' while processing query: 'SELECT currentUser', required columns: 'currentUser'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT currentUser;) 2026.10.27 19:25:48.705879 [ 5687 ] {86de58ea-112c-49ab-824d-2beffe608c9d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'currentUser' while processing query: 'SELECT currentUser', required columns: 'currentUser'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:48.862379 [ 5687 ] {2020668a-9626-4540-8e88-00d624503493} executeQuery: Code: 47. DB::Exception: Missing columns: 'current_database' while processing query: 'SELECT current_database', required columns: 'current_database'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT current_database;) 2026.10.27 19:25:48.871102 [ 5687 ] {2020668a-9626-4540-8e88-00d624503493} TCPHandler: Code: 47. DB::Exception: Missing columns: 'current_database' while processing query: 'SELECT current_database', required columns: 'current_database'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:48.891628 [ 2296 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::QueryLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 5071116 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:281: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d6516b7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a414433 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:48.920942 [ 5687 ] {19eee49e-ac27-40f3-9d86-71bd360f2d11} executeQuery: Code: 47. DB::Exception: Missing columns: 'current_date' while processing query: 'SELECT current_date', required columns: 'current_date'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT current_date;) 2026.10.27 19:25:48.931475 [ 5687 ] {19eee49e-ac27-40f3-9d86-71bd360f2d11} TCPHandler: Code: 47. DB::Exception: Missing columns: 'current_date' while processing query: 'SELECT current_date', required columns: 'current_date'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:49.066346 [ 5687 ] {199d5685-17c6-4d1f-a9c5-a1d3a47ac2da} executeQuery: Code: 47. DB::Exception: Missing columns: 'current_schemas' while processing query: 'SELECT current_schemas', required columns: 'current_schemas'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT current_schemas;) 2026.10.27 19:25:49.078179 [ 5687 ] {199d5685-17c6-4d1f-a9c5-a1d3a47ac2da} TCPHandler: Code: 47. DB::Exception: Missing columns: 'current_schemas' while processing query: 'SELECT current_schemas', required columns: 'current_schemas'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:49.132772 [ 5687 ] {fb6cd887-3d99-4e21-b360-46e9aca1cc8f} executeQuery: Code: 47. DB::Exception: Missing columns: 'current_timestamp' while processing query: 'SELECT current_timestamp', required columns: 'current_timestamp'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT current_timestamp;) 2026.10.27 19:25:49.142294 [ 5687 ] {fb6cd887-3d99-4e21-b360-46e9aca1cc8f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'current_timestamp' while processing query: 'SELECT current_timestamp', required columns: 'current_timestamp'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:49.180809 [ 5687 ] {82199c86-021a-439b-8c0a-e8df208092ec} executeQuery: Code: 47. DB::Exception: Missing columns: 'cutFragment' while processing query: 'SELECT cutFragment', required columns: 'cutFragment'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT cutFragment;) 2026.10.27 19:25:49.184724 [ 5687 ] {82199c86-021a-439b-8c0a-e8df208092ec} TCPHandler: Code: 47. DB::Exception: Missing columns: 'cutFragment' while processing query: 'SELECT cutFragment', required columns: 'cutFragment'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:49.207682 [ 5687 ] {0d3bb3be-f818-4f7e-ac2d-b7babb4fe17b} executeQuery: Code: 47. DB::Exception: Missing columns: 'cutIPv6' while processing query: 'SELECT cutIPv6', required columns: 'cutIPv6'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT cutIPv6;) 2026.10.27 19:25:49.209825 [ 5687 ] {0d3bb3be-f818-4f7e-ac2d-b7babb4fe17b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'cutIPv6' while processing query: 'SELECT cutIPv6', required columns: 'cutIPv6'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:49.231938 [ 5687 ] {9c72adda-72ce-468b-bb9b-7aec09976ef8} executeQuery: Code: 47. DB::Exception: Missing columns: 'cutQueryString' while processing query: 'SELECT cutQueryString', required columns: 'cutQueryString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT cutQueryString;) 2026.10.27 19:25:49.233671 [ 5687 ] {9c72adda-72ce-468b-bb9b-7aec09976ef8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'cutQueryString' while processing query: 'SELECT cutQueryString', required columns: 'cutQueryString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:49.254354 [ 5687 ] {b4a1187f-84bb-4e80-a9ad-f141b3738bf7} executeQuery: Code: 47. DB::Exception: Missing columns: 'cutQueryStringAndFragment' while processing query: 'SELECT cutQueryStringAndFragment', required columns: 'cutQueryStringAndFragment'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT cutQueryStringAndFragment;) 2026.10.27 19:25:49.255634 [ 5687 ] {b4a1187f-84bb-4e80-a9ad-f141b3738bf7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'cutQueryStringAndFragment' while processing query: 'SELECT cutQueryStringAndFragment', required columns: 'cutQueryStringAndFragment'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:49.269575 [ 5687 ] {16925003-7eb5-4bf6-8916-0d9e4ad41d91} executeQuery: Code: 47. DB::Exception: Missing columns: 'cutToFirstSignificantSubdomain' while processing query: 'SELECT cutToFirstSignificantSubdomain', required columns: 'cutToFirstSignificantSubdomain'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT cutToFirstSignificantSubdomain;) 2026.10.27 19:25:49.270758 [ 5687 ] {16925003-7eb5-4bf6-8916-0d9e4ad41d91} TCPHandler: Code: 47. DB::Exception: Missing columns: 'cutToFirstSignificantSubdomain' while processing query: 'SELECT cutToFirstSignificantSubdomain', required columns: 'cutToFirstSignificantSubdomain'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:49.283591 [ 5687 ] {eaeaab2d-9d1a-493c-901c-5e425fdf64c0} executeQuery: Code: 47. DB::Exception: Missing columns: 'cutToFirstSignificantSubdomainCustom' while processing query: 'SELECT cutToFirstSignificantSubdomainCustom', required columns: 'cutToFirstSignificantSubdomainCustom'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT cutToFirstSignificantSubdomainCustom;) 2026.10.27 19:25:49.285044 [ 5687 ] {eaeaab2d-9d1a-493c-901c-5e425fdf64c0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'cutToFirstSignificantSubdomainCustom' while processing query: 'SELECT cutToFirstSignificantSubdomainCustom', required columns: 'cutToFirstSignificantSubdomainCustom'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:49.298386 [ 5687 ] {31ad280d-4e4d-4a38-a83c-e9b865cd8dc7} executeQuery: Code: 47. DB::Exception: Missing columns: 'cutToFirstSignificantSubdomainCustomRFC' while processing query: 'SELECT cutToFirstSignificantSubdomainCustomRFC', required columns: 'cutToFirstSignificantSubdomainCustomRFC'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT cutToFirstSignificantSubdomainCustomRFC;) 2026.10.27 19:25:49.299553 [ 5687 ] {31ad280d-4e4d-4a38-a83c-e9b865cd8dc7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'cutToFirstSignificantSubdomainCustomRFC' while processing query: 'SELECT cutToFirstSignificantSubdomainCustomRFC', required columns: 'cutToFirstSignificantSubdomainCustomRFC'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:49.312939 [ 5687 ] {f1df3a13-1e4b-423a-8792-ec5bee7efba6} executeQuery: Code: 47. DB::Exception: Missing columns: 'cutToFirstSignificantSubdomainCustomWithWWW' while processing query: 'SELECT cutToFirstSignificantSubdomainCustomWithWWW', required columns: 'cutToFirstSignificantSubdomainCustomWithWWW'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT cutToFirstSignificantSubdomainCustomWithWWW;) 2026.10.27 19:25:49.314174 [ 5687 ] {f1df3a13-1e4b-423a-8792-ec5bee7efba6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'cutToFirstSignificantSubdomainCustomWithWWW' while processing query: 'SELECT cutToFirstSignificantSubdomainCustomWithWWW', required columns: 'cutToFirstSignificantSubdomainCustomWithWWW'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:49.327703 [ 5687 ] {9238ddc6-9396-498d-9cc7-2a0d722f3eaa} executeQuery: Code: 47. DB::Exception: Missing columns: 'cutToFirstSignificantSubdomainCustomWithWWWRFC' while processing query: 'SELECT cutToFirstSignificantSubdomainCustomWithWWWRFC', required columns: 'cutToFirstSignificantSubdomainCustomWithWWWRFC'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT cutToFirstSignificantSubdomainCustomWithWWWRFC;) 2026.10.27 19:25:49.329311 [ 5687 ] {9238ddc6-9396-498d-9cc7-2a0d722f3eaa} TCPHandler: Code: 47. DB::Exception: Missing columns: 'cutToFirstSignificantSubdomainCustomWithWWWRFC' while processing query: 'SELECT cutToFirstSignificantSubdomainCustomWithWWWRFC', required columns: 'cutToFirstSignificantSubdomainCustomWithWWWRFC'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:49.399425 [ 5687 ] {8f13da47-46fe-4967-ba9a-476fb6c1d5eb} executeQuery: Code: 47. DB::Exception: Missing columns: 'cutToFirstSignificantSubdomainRFC' while processing query: 'SELECT cutToFirstSignificantSubdomainRFC', required columns: 'cutToFirstSignificantSubdomainRFC'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT cutToFirstSignificantSubdomainRFC;) 2026.10.27 19:25:49.413640 [ 5687 ] {8f13da47-46fe-4967-ba9a-476fb6c1d5eb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'cutToFirstSignificantSubdomainRFC' while processing query: 'SELECT cutToFirstSignificantSubdomainRFC', required columns: 'cutToFirstSignificantSubdomainRFC'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:49.481671 [ 5687 ] {82eb984f-59de-4434-93ec-55007e440136} executeQuery: Code: 47. DB::Exception: Missing columns: 'cutToFirstSignificantSubdomainWithWWW' while processing query: 'SELECT cutToFirstSignificantSubdomainWithWWW', required columns: 'cutToFirstSignificantSubdomainWithWWW'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT cutToFirstSignificantSubdomainWithWWW;) 2026.10.27 19:25:49.491621 [ 5687 ] {82eb984f-59de-4434-93ec-55007e440136} TCPHandler: Code: 47. DB::Exception: Missing columns: 'cutToFirstSignificantSubdomainWithWWW' while processing query: 'SELECT cutToFirstSignificantSubdomainWithWWW', required columns: 'cutToFirstSignificantSubdomainWithWWW'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:49.568405 [ 5687 ] {13580648-1256-4668-a9a4-c93f5d740e15} executeQuery: Code: 47. DB::Exception: Missing columns: 'cutToFirstSignificantSubdomainWithWWWRFC' while processing query: 'SELECT cutToFirstSignificantSubdomainWithWWWRFC', required columns: 'cutToFirstSignificantSubdomainWithWWWRFC'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT cutToFirstSignificantSubdomainWithWWWRFC;) 2026.10.27 19:25:49.585484 [ 5687 ] {13580648-1256-4668-a9a4-c93f5d740e15} TCPHandler: Code: 47. DB::Exception: Missing columns: 'cutToFirstSignificantSubdomainWithWWWRFC' while processing query: 'SELECT cutToFirstSignificantSubdomainWithWWWRFC', required columns: 'cutToFirstSignificantSubdomainWithWWWRFC'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:49.685183 [ 5687 ] {36f3c60e-a221-4152-84ef-8379c1965b94} executeQuery: Code: 47. DB::Exception: Missing columns: 'cutURLParameter' while processing query: 'SELECT cutURLParameter', required columns: 'cutURLParameter'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT cutURLParameter;) 2026.10.27 19:25:49.727021 [ 5687 ] {36f3c60e-a221-4152-84ef-8379c1965b94} TCPHandler: Code: 47. DB::Exception: Missing columns: 'cutURLParameter' while processing query: 'SELECT cutURLParameter', required columns: 'cutURLParameter'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:49.846992 [ 5687 ] {abf8c8a7-6968-4315-aeb5-2018f57825f8} executeQuery: Code: 47. DB::Exception: Missing columns: 'cutWWW' while processing query: 'SELECT cutWWW', required columns: 'cutWWW'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT cutWWW;) 2026.10.27 19:25:49.856729 [ 5687 ] {abf8c8a7-6968-4315-aeb5-2018f57825f8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'cutWWW' while processing query: 'SELECT cutWWW', required columns: 'cutWWW'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:49.936279 [ 5687 ] {0d334c7c-00ba-47a2-ba7b-834546a2acc2} executeQuery: Code: 47. DB::Exception: Missing columns: 'dateDiff' while processing query: 'SELECT dateDiff', required columns: 'dateDiff'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dateDiff;) 2026.10.27 19:25:49.942447 [ 5687 ] {0d334c7c-00ba-47a2-ba7b-834546a2acc2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dateDiff' while processing query: 'SELECT dateDiff', required columns: 'dateDiff'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:49.993715 [ 5687 ] {a5f8a543-e5db-40b0-821d-f871a3f808eb} executeQuery: Code: 47. DB::Exception: Missing columns: 'dateName' while processing query: 'SELECT dateName', required columns: 'dateName'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dateName;) 2026.10.27 19:25:50.002414 [ 5687 ] {a5f8a543-e5db-40b0-821d-f871a3f808eb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dateName' while processing query: 'SELECT dateName', required columns: 'dateName'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:50.236271 [ 5687 ] {25030f36-2884-4554-92a6-40d2d239cca1} executeQuery: Code: 47. DB::Exception: Missing columns: 'dateTime64ToSnowflake' while processing query: 'SELECT dateTime64ToSnowflake', required columns: 'dateTime64ToSnowflake'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dateTime64ToSnowflake;) 2026.10.27 19:25:50.243342 [ 5687 ] {25030f36-2884-4554-92a6-40d2d239cca1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dateTime64ToSnowflake' while processing query: 'SELECT dateTime64ToSnowflake', required columns: 'dateTime64ToSnowflake'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:50.341696 [ 5687 ] {5d1a9180-7019-495e-bc29-de689f424fdc} executeQuery: Code: 47. DB::Exception: Missing columns: 'dateTimeToSnowflake' while processing query: 'SELECT dateTimeToSnowflake', required columns: 'dateTimeToSnowflake'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dateTimeToSnowflake;) 2026.10.27 19:25:50.351624 [ 5687 ] {5d1a9180-7019-495e-bc29-de689f424fdc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dateTimeToSnowflake' while processing query: 'SELECT dateTimeToSnowflake', required columns: 'dateTimeToSnowflake'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:50.448214 [ 5687 ] {3d68c2c6-873f-4bc1-bd72-178687b7d45d} executeQuery: Code: 47. DB::Exception: Missing columns: 'dateTrunc' while processing query: 'SELECT dateTrunc', required columns: 'dateTrunc'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dateTrunc;) 2026.10.27 19:25:50.463854 [ 5687 ] {3d68c2c6-873f-4bc1-bd72-178687b7d45d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dateTrunc' while processing query: 'SELECT dateTrunc', required columns: 'dateTrunc'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:50.506089 [ 2350 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::AsynchronousMetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 4197215 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:0: DB::CompressionCodecMultiple::doCompressData(char const*, unsigned int, char*) const @ 0x00000000368c75d3 in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/ICompressionCodec.cpp:89: DB::ICompressionCodec::compress(char const*, unsigned int, char*) const @ 0x00000000369b4ec2 in /usr/bin/clickhouse 9. ./build_docker/./src/Compression/CompressedWriteBuffer.cpp:39: DB::CompressedWriteBuffer::nextImpl() @ 0x0000000036895848 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HashingWriteBuffer::nextImpl() @ 0x000000003cb90e85 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBuffer.h:0: DB::MergeTreeDataPartWriterCompact::writeDataBlock(DB::Block const&, std::vector> const&) @ 0x000000003d109325 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:186: DB::MergeTreeDataPartWriterCompact::writeDataBlockPrimaryIndexAndSkipIndices(DB::Block const&, std::vector> const&) @ 0x000000003d106cb0 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::MergeTreeDataPartWriterCompact::fillDataChecksums(DB::MergeTreeDataPartChecksums&) @ 0x000000003d10a475 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:422: DB::MergeTreeDataPartWriterCompact::fillChecksums(DB::MergeTreeDataPartChecksums&) @ 0x000000003d10ccc5 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d649a07 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3b72d3 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3b47b2 in /usr/bin/clickhouse 29. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c23847 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c2371f in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:50.506390 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 4913949 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a4a9253 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a4a6542 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c31ce7 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:50.506487 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.46 GiB (attempt to allocate chunk of 5064632 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:50.506528 [ 2238 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::WriteBufferFromTemporaryFile::WriteBufferFromTemporaryFile(std::unique_ptr>&&) @ 0x0000000037253f84 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::TemporaryDataOnDisk::createRawStream(unsigned long) @ 0x000000003a63c2f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:296: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cda7825 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:50.506615 [ 2243 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_54_10}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1049525 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x0000000009415a91 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:322: DB::ColumnVector::insertDefault() @ 0x000000003b33a155 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnSparse.cpp:0: DB::ColumnSparse::ColumnSparse(COW::mutable_ptr&&) @ 0x000000003b186f53 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: DB::IDataType::createColumn(DB::ISerialization const&) const @ 0x0000000036dbb55a in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:140: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4597fa in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:50.506675 [ 2292 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::PartLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.46 GiB (attempt to allocate chunk of 4230335 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d102e0d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a401a53 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3fed42 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c27d07 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c27bdf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:50.506820 [ 2240 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_52_96_7}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 1050750 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:72: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d12504a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 15. ./build_docker/./src/DataTypes/Serializations/SerializationLowCardinality.cpp:0: DB::SerializationLowCardinality::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036f2c982 in /usr/bin/clickhouse 16. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:50.506917 [ 4374 ] {c0c51c55-e3e9-4ae3-a030-bad35f2e902c} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38900) (comment: 00153_aggregate_arena_race.sql) (in query: insert into dest00153 select groupUniqArrayState(RefererDomain) from test.hits group by URLDomain;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:50.554047 [ 5687 ] {83c9d23e-671e-40d1-a03c-6ad810e2f9b9} executeQuery: Code: 47. DB::Exception: Missing columns: 'date_diff' while processing query: 'SELECT date_diff', required columns: 'date_diff'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT date_diff;) 2026.10.27 19:25:50.566580 [ 5687 ] {83c9d23e-671e-40d1-a03c-6ad810e2f9b9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'date_diff' while processing query: 'SELECT date_diff', required columns: 'date_diff'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:50.792105 [ 5687 ] {170638d3-69b7-40e2-bc4c-33bd417fc757} executeQuery: Code: 47. DB::Exception: Missing columns: 'decodeURLComponent' while processing query: 'SELECT decodeURLComponent', required columns: 'decodeURLComponent'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT decodeURLComponent;) 2026.10.27 19:25:50.799210 [ 5687 ] {170638d3-69b7-40e2-bc4c-33bd417fc757} TCPHandler: Code: 47. DB::Exception: Missing columns: 'decodeURLComponent' while processing query: 'SELECT decodeURLComponent', required columns: 'decodeURLComponent'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:50.884626 [ 5687 ] {12dd3ee3-11d7-4184-b7b2-f31edfc66f19} executeQuery: Code: 47. DB::Exception: Missing columns: 'decodeURLFormComponent' while processing query: 'SELECT decodeURLFormComponent', required columns: 'decodeURLFormComponent'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT decodeURLFormComponent;) 2026.10.27 19:25:50.897687 [ 5687 ] {12dd3ee3-11d7-4184-b7b2-f31edfc66f19} TCPHandler: Code: 47. DB::Exception: Missing columns: 'decodeURLFormComponent' while processing query: 'SELECT decodeURLFormComponent', required columns: 'decodeURLFormComponent'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:50.960726 [ 5687 ] {fc3aced4-7575-4011-986e-fb351ee2c11a} executeQuery: Code: 47. DB::Exception: Missing columns: 'decodeXMLComponent' while processing query: 'SELECT decodeXMLComponent', required columns: 'decodeXMLComponent'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT decodeXMLComponent;) 2026.10.27 19:25:50.975052 [ 5687 ] {fc3aced4-7575-4011-986e-fb351ee2c11a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'decodeXMLComponent' while processing query: 'SELECT decodeXMLComponent', required columns: 'decodeXMLComponent'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:51.052214 [ 5687 ] {f5571fa8-3b06-44a4-94b6-eeafce06a66c} executeQuery: Code: 47. DB::Exception: Missing columns: 'decrypt' while processing query: 'SELECT decrypt', required columns: 'decrypt'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT decrypt;) 2026.10.27 19:25:51.061391 [ 5687 ] {f5571fa8-3b06-44a4-94b6-eeafce06a66c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'decrypt' while processing query: 'SELECT decrypt', required columns: 'decrypt'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:51.142037 [ 5687 ] {abcedb26-8d5f-4c10-a357-6f4a3287855e} executeQuery: Code: 47. DB::Exception: Missing columns: 'defaultProfiles' while processing query: 'SELECT defaultProfiles', required columns: 'defaultProfiles'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT defaultProfiles;) 2026.10.27 19:25:51.153013 [ 5687 ] {abcedb26-8d5f-4c10-a357-6f4a3287855e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'defaultProfiles' while processing query: 'SELECT defaultProfiles', required columns: 'defaultProfiles'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:51.298117 [ 5687 ] {757ff941-6593-4b68-86ab-499d3987a027} executeQuery: Code: 47. DB::Exception: Missing columns: 'defaultRoles' while processing query: 'SELECT defaultRoles', required columns: 'defaultRoles'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT defaultRoles;) 2026.10.27 19:25:51.307817 [ 5687 ] {757ff941-6593-4b68-86ab-499d3987a027} TCPHandler: Code: 47. DB::Exception: Missing columns: 'defaultRoles' while processing query: 'SELECT defaultRoles', required columns: 'defaultRoles'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:51.375974 [ 5687 ] {130c5063-31ae-4cc8-b72f-9417e6511195} executeQuery: Code: 47. DB::Exception: Missing columns: 'defaultValueOfArgumentType' while processing query: 'SELECT defaultValueOfArgumentType', required columns: 'defaultValueOfArgumentType'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT defaultValueOfArgumentType;) 2026.10.27 19:25:51.492521 [ 5687 ] {130c5063-31ae-4cc8-b72f-9417e6511195} TCPHandler: Code: 47. DB::Exception: Missing columns: 'defaultValueOfArgumentType' while processing query: 'SELECT defaultValueOfArgumentType', required columns: 'defaultValueOfArgumentType'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:51.537350 [ 5687 ] {3049de89-7b05-408d-9161-d3655fcb2be8} executeQuery: Code: 47. DB::Exception: Missing columns: 'defaultValueOfTypeName' while processing query: 'SELECT defaultValueOfTypeName', required columns: 'defaultValueOfTypeName'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT defaultValueOfTypeName;) 2026.10.27 19:25:51.546900 [ 5687 ] {3049de89-7b05-408d-9161-d3655fcb2be8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'defaultValueOfTypeName' while processing query: 'SELECT defaultValueOfTypeName', required columns: 'defaultValueOfTypeName'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:51.603829 [ 5687 ] {6339b668-e0e3-4240-af78-a4aaa782f928} executeQuery: Code: 47. DB::Exception: Missing columns: 'degrees' while processing query: 'SELECT degrees', required columns: 'degrees'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT degrees;) 2026.10.27 19:25:51.609745 [ 5687 ] {6339b668-e0e3-4240-af78-a4aaa782f928} TCPHandler: Code: 47. DB::Exception: Missing columns: 'degrees' while processing query: 'SELECT degrees', required columns: 'degrees'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:51.773654 [ 5687 ] {01806a89-09a6-4dac-82cd-6db7a3ffee11} executeQuery: Code: 47. DB::Exception: Missing columns: 'deltaSum' while processing query: 'SELECT deltaSum', required columns: 'deltaSum'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT deltaSum;) 2026.10.27 19:25:51.781410 [ 5687 ] {01806a89-09a6-4dac-82cd-6db7a3ffee11} TCPHandler: Code: 47. DB::Exception: Missing columns: 'deltaSum' while processing query: 'SELECT deltaSum', required columns: 'deltaSum'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:51.845179 [ 5687 ] {a3bd89b4-7b6e-4710-9988-a433c51d0414} executeQuery: Code: 47. DB::Exception: Missing columns: 'deltaSumTimestamp' while processing query: 'SELECT deltaSumTimestamp', required columns: 'deltaSumTimestamp'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT deltaSumTimestamp;) 2026.10.27 19:25:51.859306 [ 4309 ] {be0a55ea-0c83-4436-a7a3-ac14085e03d4} executeQuery: Code: 36. DB::Exception: Data type have to be specified for column `value` to add. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53192) (comment: 01079_alter_default_zookeeper_long.sql) (in query: -- Cannot add column without type ALTER TABLE alter_default ADD COLUMN value DEFAULT '10';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1089: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b9145a5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e02c5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:51.859521 [ 4374 ] {c0c51c55-e3e9-4ae3-a030-bad35f2e902c} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:51.859758 [ 2241 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_1_71_11}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 1256095 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:87: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13f899 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:51.859304 [ 5708 ] {4cfdf8a9-3182-4383-a8e5-b18f7d66b2c8} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 1160264 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnFixedString.cpp:339: COW::immutable_ptr DB::ColumnFixedString::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0adfba in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnFixedString.cpp:314: DB::ColumnFixedString::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0720bc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa24844 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:51.864950 [ 4309 ] {be0a55ea-0c83-4436-a7a3-ac14085e03d4} TCPHandler: Code: 36. DB::Exception: Data type have to be specified for column `value` to add. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1089: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b9145a5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e02c5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:51.952902 [ 5687 ] {a3bd89b4-7b6e-4710-9988-a433c51d0414} TCPHandler: Code: 47. DB::Exception: Missing columns: 'deltaSumTimestamp' while processing query: 'SELECT deltaSumTimestamp', required columns: 'deltaSumTimestamp'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:52.107966 [ 5687 ] {2845dc6a-032d-4bc4-922c-f79c2db8daca} executeQuery: Code: 47. DB::Exception: Missing columns: 'demangle' while processing query: 'SELECT demangle', required columns: 'demangle'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT demangle;) 2026.10.27 19:25:52.113996 [ 5687 ] {2845dc6a-032d-4bc4-922c-f79c2db8daca} TCPHandler: Code: 47. DB::Exception: Missing columns: 'demangle' while processing query: 'SELECT demangle', required columns: 'demangle'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:52.211534 [ 5687 ] {2df8936a-5408-45a4-8bad-a7f48f924790} executeQuery: Code: 47. DB::Exception: Missing columns: 'dense_rank' while processing query: 'SELECT dense_rank', required columns: 'dense_rank'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dense_rank;) 2026.10.27 19:25:52.213352 [ 5687 ] {2df8936a-5408-45a4-8bad-a7f48f924790} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dense_rank' while processing query: 'SELECT dense_rank', required columns: 'dense_rank'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:52.266065 [ 5687 ] {6baeca5d-2a1d-484c-8e11-7e3a03fc5b77} executeQuery: Code: 47. DB::Exception: Missing columns: 'detectCharset' while processing query: 'SELECT detectCharset', required columns: 'detectCharset'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT detectCharset;) 2026.10.27 19:25:52.274646 [ 5687 ] {6baeca5d-2a1d-484c-8e11-7e3a03fc5b77} TCPHandler: Code: 47. DB::Exception: Missing columns: 'detectCharset' while processing query: 'SELECT detectCharset', required columns: 'detectCharset'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:52.342900 [ 5687 ] {9c8267ed-e2ab-4933-bbdb-1f3ccbf213ef} executeQuery: Code: 47. DB::Exception: Missing columns: 'detectLanguage' while processing query: 'SELECT detectLanguage', required columns: 'detectLanguage'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT detectLanguage;) 2026.10.27 19:25:52.346076 [ 5687 ] {9c8267ed-e2ab-4933-bbdb-1f3ccbf213ef} TCPHandler: Code: 47. DB::Exception: Missing columns: 'detectLanguage' while processing query: 'SELECT detectLanguage', required columns: 'detectLanguage'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:52.405426 [ 5687 ] {a9bc46ef-5db0-4570-ad6e-183c17d374d8} executeQuery: Code: 47. DB::Exception: Missing columns: 'detectLanguageMixed' while processing query: 'SELECT detectLanguageMixed', required columns: 'detectLanguageMixed'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT detectLanguageMixed;) 2026.10.27 19:25:52.421463 [ 5687 ] {a9bc46ef-5db0-4570-ad6e-183c17d374d8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'detectLanguageMixed' while processing query: 'SELECT detectLanguageMixed', required columns: 'detectLanguageMixed'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:52.508936 [ 5687 ] {4b2ea338-edc9-475a-8070-270f51863300} executeQuery: Code: 47. DB::Exception: Missing columns: 'detectLanguageUnknown' while processing query: 'SELECT detectLanguageUnknown', required columns: 'detectLanguageUnknown'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT detectLanguageUnknown;) 2026.10.27 19:25:52.523035 [ 5687 ] {4b2ea338-edc9-475a-8070-270f51863300} TCPHandler: Code: 47. DB::Exception: Missing columns: 'detectLanguageUnknown' while processing query: 'SELECT detectLanguageUnknown', required columns: 'detectLanguageUnknown'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:52.670301 [ 5687 ] {c327e512-4a18-42c2-9008-7dbea30a84a2} executeQuery: Code: 47. DB::Exception: Missing columns: 'detectProgrammingLanguage' while processing query: 'SELECT detectProgrammingLanguage', required columns: 'detectProgrammingLanguage'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT detectProgrammingLanguage;) 2026.10.27 19:25:52.680613 [ 5687 ] {c327e512-4a18-42c2-9008-7dbea30a84a2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'detectProgrammingLanguage' while processing query: 'SELECT detectProgrammingLanguage', required columns: 'detectProgrammingLanguage'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:52.752645 [ 5687 ] {0c847071-d9b1-462c-8aed-91f6b16e0fba} executeQuery: Code: 47. DB::Exception: Missing columns: 'detectTonality' while processing query: 'SELECT detectTonality', required columns: 'detectTonality'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT detectTonality;) 2026.10.27 19:25:52.762671 [ 5687 ] {0c847071-d9b1-462c-8aed-91f6b16e0fba} TCPHandler: Code: 47. DB::Exception: Missing columns: 'detectTonality' while processing query: 'SELECT detectTonality', required columns: 'detectTonality'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:52.787068 [ 4374 ] {af859806-8e6e-430e-aeba-5f51e50748f3} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery44: While processing 1 = ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery44). (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45326) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4ea34 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5a94a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dfc3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d01f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a6eed7e 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) const @ 0x000000003a6de8f4 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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 2026.10.27 19:25:52.804702 [ 5687 ] {b35b00dc-bd8f-4f9b-bb81-0ac7bd42d439} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGet' while processing query: 'SELECT dictGet', required columns: 'dictGet'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGet;) 2026.10.27 19:25:52.805006 [ 4374 ] {af859806-8e6e-430e-aeba-5f51e50748f3} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery44: While processing 1 = ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery44). (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4ea34 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5a94a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dfc3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d01f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a6eed7e 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) const @ 0x000000003a6de8f4 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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 2026.10.27 19:25:52.814411 [ 5687 ] {b35b00dc-bd8f-4f9b-bb81-0ac7bd42d439} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGet' while processing query: 'SELECT dictGet', required columns: 'dictGet'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:52.904967 [ 5687 ] {db3f91b7-48b3-4615-b8b7-1e5d33dd953b} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetAll' while processing query: 'SELECT dictGetAll', required columns: 'dictGetAll'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetAll;) 2026.10.27 19:25:52.920816 [ 5687 ] {db3f91b7-48b3-4615-b8b7-1e5d33dd953b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetAll' while processing query: 'SELECT dictGetAll', required columns: 'dictGetAll'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:52.925105 [ 4374 ] {893e83d1-e120-4979-bf49-f2e6be78d1e1} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45326) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:52.935518 [ 4374 ] {893e83d1-e120-4979-bf49-f2e6be78d1e1} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:53.072541 [ 5687 ] {1f4cca56-48f9-4db0-8677-df07241d470e} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetChildren' while processing query: 'SELECT dictGetChildren', required columns: 'dictGetChildren'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetChildren;) 2026.10.27 19:25:53.085268 [ 5687 ] {1f4cca56-48f9-4db0-8677-df07241d470e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetChildren' while processing query: 'SELECT dictGetChildren', required columns: 'dictGetChildren'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:53.095971 [ 2239 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_1_71_11}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1114301 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:53.210522 [ 5687 ] {09968bba-ebf2-41f6-857d-43a923625ac1} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetDate' while processing query: 'SELECT dictGetDate', required columns: 'dictGetDate'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetDate;) 2026.10.27 19:25:53.212447 [ 5687 ] {09968bba-ebf2-41f6-857d-43a923625ac1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetDate' while processing query: 'SELECT dictGetDate', required columns: 'dictGetDate'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:53.238334 [ 5687 ] {b694f5dc-0f3e-491c-bc61-7db878d6647c} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetDateOrDefault' while processing query: 'SELECT dictGetDateOrDefault', required columns: 'dictGetDateOrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetDateOrDefault;) 2026.10.27 19:25:53.239940 [ 5687 ] {b694f5dc-0f3e-491c-bc61-7db878d6647c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetDateOrDefault' while processing query: 'SELECT dictGetDateOrDefault', required columns: 'dictGetDateOrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:53.442221 [ 5687 ] {e12d5451-d241-4f5f-8569-b1be028969e9} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetDateTime' while processing query: 'SELECT dictGetDateTime', required columns: 'dictGetDateTime'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetDateTime;) 2026.10.27 19:25:53.450362 [ 5687 ] {e12d5451-d241-4f5f-8569-b1be028969e9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetDateTime' while processing query: 'SELECT dictGetDateTime', required columns: 'dictGetDateTime'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:53.485603 [ 5687 ] {46728dd5-8054-4878-a8b7-fe4dc1f2f4b2} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetDateTimeOrDefault' while processing query: 'SELECT dictGetDateTimeOrDefault', required columns: 'dictGetDateTimeOrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetDateTimeOrDefault;) 2026.10.27 19:25:53.490489 [ 5687 ] {46728dd5-8054-4878-a8b7-fe4dc1f2f4b2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetDateTimeOrDefault' while processing query: 'SELECT dictGetDateTimeOrDefault', required columns: 'dictGetDateTimeOrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:53.722398 [ 5687 ] {97c5ba5d-b749-41b2-a324-ff3bae1b9d8d} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetDescendants' while processing query: 'SELECT dictGetDescendants', required columns: 'dictGetDescendants'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetDescendants;) 2026.10.27 19:25:53.725354 [ 5687 ] {97c5ba5d-b749-41b2-a324-ff3bae1b9d8d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetDescendants' while processing query: 'SELECT dictGetDescendants', required columns: 'dictGetDescendants'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:53.853495 [ 5687 ] {c911c61d-0a6b-4147-806c-65fa3447ebc6} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetFloat32' while processing query: 'SELECT dictGetFloat32', required columns: 'dictGetFloat32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetFloat32;) 2026.10.27 19:25:53.855143 [ 5687 ] {c911c61d-0a6b-4147-806c-65fa3447ebc6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetFloat32' while processing query: 'SELECT dictGetFloat32', required columns: 'dictGetFloat32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:53.888834 [ 5687 ] {0b0629fe-fb98-417c-92ca-d1a5ce541603} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetFloat32OrDefault' while processing query: 'SELECT dictGetFloat32OrDefault', required columns: 'dictGetFloat32OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetFloat32OrDefault;) 2026.10.27 19:25:53.892383 [ 5687 ] {0b0629fe-fb98-417c-92ca-d1a5ce541603} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetFloat32OrDefault' while processing query: 'SELECT dictGetFloat32OrDefault', required columns: 'dictGetFloat32OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:53.923045 [ 5687 ] {5b2ebf1c-2b42-443a-bc90-798005245b18} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetFloat64' while processing query: 'SELECT dictGetFloat64', required columns: 'dictGetFloat64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetFloat64;) 2026.10.27 19:25:53.925810 [ 5687 ] {5b2ebf1c-2b42-443a-bc90-798005245b18} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetFloat64' while processing query: 'SELECT dictGetFloat64', required columns: 'dictGetFloat64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:53.955619 [ 5687 ] {423164d0-78ee-4657-85e1-c39c269c1e4a} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetFloat64OrDefault' while processing query: 'SELECT dictGetFloat64OrDefault', required columns: 'dictGetFloat64OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetFloat64OrDefault;) 2026.10.27 19:25:53.957293 [ 5687 ] {423164d0-78ee-4657-85e1-c39c269c1e4a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetFloat64OrDefault' while processing query: 'SELECT dictGetFloat64OrDefault', required columns: 'dictGetFloat64OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:53.983891 [ 5687 ] {20aeed8c-bf18-4109-b5d9-a2618da05e0c} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetHierarchy' while processing query: 'SELECT dictGetHierarchy', required columns: 'dictGetHierarchy'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetHierarchy;) 2026.10.27 19:25:53.985573 [ 5687 ] {20aeed8c-bf18-4109-b5d9-a2618da05e0c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetHierarchy' while processing query: 'SELECT dictGetHierarchy', required columns: 'dictGetHierarchy'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:53.991137 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.46 GiB (attempt to allocate chunk of 4251839 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d102e0d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a483e53 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a481142 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2fca7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c2fb7f in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:53.991304 [ 2233 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 1498358 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (while reading column VisitID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_1_1_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 6682): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c526 in /usr/bin/clickhouse 21. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:53.991344 [ 4287 ] {a119ac10-be36-485f-b2b4-f781948b6e06} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1114112 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergeSortingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41386) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactEachRowWithNames), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::ColumnVector::reserve(unsigned long) @ 0x000000003b294b20 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::Chunk DB::MergeSorter::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003ed113f9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003ec34cf3 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergeSorter::read() @ 0x000000003ec1cfa8 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergeSortingTransform.cpp:236: DB::MergeSortingTransform::generate() @ 0x000000003ebf1521 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:354: DB::SortingTransform::work() @ 0x000000003ec2d564 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:25:54.271281 [ 5687 ] {c2c60eb1-a0d3-4e70-b377-03ab0c3b27e3} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetIPv4' while processing query: 'SELECT dictGetIPv4', required columns: 'dictGetIPv4'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetIPv4;) 2026.10.27 19:25:54.285539 [ 5687 ] {c2c60eb1-a0d3-4e70-b377-03ab0c3b27e3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetIPv4' while processing query: 'SELECT dictGetIPv4', required columns: 'dictGetIPv4'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:54.337108 [ 5687 ] {f27f3c93-da53-497e-b39c-83ca3a78278f} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetIPv4OrDefault' while processing query: 'SELECT dictGetIPv4OrDefault', required columns: 'dictGetIPv4OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetIPv4OrDefault;) 2026.10.27 19:25:54.345817 [ 5687 ] {f27f3c93-da53-497e-b39c-83ca3a78278f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetIPv4OrDefault' while processing query: 'SELECT dictGetIPv4OrDefault', required columns: 'dictGetIPv4OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:54.407190 [ 5687 ] {7c499d13-a0de-4574-9f6c-626c9321594d} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetIPv6' while processing query: 'SELECT dictGetIPv6', required columns: 'dictGetIPv6'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetIPv6;) 2026.10.27 19:25:54.418539 [ 5687 ] {7c499d13-a0de-4574-9f6c-626c9321594d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetIPv6' while processing query: 'SELECT dictGetIPv6', required columns: 'dictGetIPv6'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:54.446237 [ 5687 ] {e265795d-fed0-4ee1-8242-c7f81de6f419} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetIPv6OrDefault' while processing query: 'SELECT dictGetIPv6OrDefault', required columns: 'dictGetIPv6OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetIPv6OrDefault;) 2026.10.27 19:25:54.449770 [ 5687 ] {e265795d-fed0-4ee1-8242-c7f81de6f419} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetIPv6OrDefault' while processing query: 'SELECT dictGetIPv6OrDefault', required columns: 'dictGetIPv6OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:54.475274 [ 5687 ] {2b25c45d-f8bf-40a8-a6e5-05be116480a7} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetInt16' while processing query: 'SELECT dictGetInt16', required columns: 'dictGetInt16'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetInt16;) 2026.10.27 19:25:54.477537 [ 5687 ] {2b25c45d-f8bf-40a8-a6e5-05be116480a7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetInt16' while processing query: 'SELECT dictGetInt16', required columns: 'dictGetInt16'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:54.493149 [ 5687 ] {52d1d198-0582-4a80-a628-8593945a1bcc} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetInt16OrDefault' while processing query: 'SELECT dictGetInt16OrDefault', required columns: 'dictGetInt16OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetInt16OrDefault;) 2026.10.27 19:25:54.495130 [ 5687 ] {52d1d198-0582-4a80-a628-8593945a1bcc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetInt16OrDefault' while processing query: 'SELECT dictGetInt16OrDefault', required columns: 'dictGetInt16OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:54.684520 [ 5687 ] {23d42535-4212-4843-b027-ad187c4507fc} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetInt32' while processing query: 'SELECT dictGetInt32', required columns: 'dictGetInt32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetInt32;) 2026.10.27 19:25:54.693393 [ 5687 ] {23d42535-4212-4843-b027-ad187c4507fc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetInt32' while processing query: 'SELECT dictGetInt32', required columns: 'dictGetInt32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:54.829938 [ 5687 ] {581baaff-738b-4c81-b575-d722a927c8f3} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetInt32OrDefault' while processing query: 'SELECT dictGetInt32OrDefault', required columns: 'dictGetInt32OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetInt32OrDefault;) 2026.10.27 19:25:54.834382 [ 5687 ] {581baaff-738b-4c81-b575-d722a927c8f3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetInt32OrDefault' while processing query: 'SELECT dictGetInt32OrDefault', required columns: 'dictGetInt32OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:54.856911 [ 5687 ] {dcf10b73-ce96-4ccc-bacd-415e490b590d} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetInt64' while processing query: 'SELECT dictGetInt64', required columns: 'dictGetInt64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetInt64;) 2026.10.27 19:25:54.859556 [ 5687 ] {dcf10b73-ce96-4ccc-bacd-415e490b590d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetInt64' while processing query: 'SELECT dictGetInt64', required columns: 'dictGetInt64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:54.879106 [ 5687 ] {b5f02f90-75a7-4d26-884d-bfd201dd8f8d} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetInt64OrDefault' while processing query: 'SELECT dictGetInt64OrDefault', required columns: 'dictGetInt64OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetInt64OrDefault;) 2026.10.27 19:25:54.881727 [ 5687 ] {b5f02f90-75a7-4d26-884d-bfd201dd8f8d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetInt64OrDefault' while processing query: 'SELECT dictGetInt64OrDefault', required columns: 'dictGetInt64OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:55.003343 [ 5687 ] {08aa746e-ab68-4ce3-b3f1-b0dda7cbdcb6} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetInt8' while processing query: 'SELECT dictGetInt8', required columns: 'dictGetInt8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetInt8;) 2026.10.27 19:25:55.005770 [ 5687 ] {08aa746e-ab68-4ce3-b3f1-b0dda7cbdcb6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetInt8' while processing query: 'SELECT dictGetInt8', required columns: 'dictGetInt8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:55.250805 [ 5687 ] {1cc08bdc-1f67-4194-ab41-9f5f662aa2ca} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetInt8OrDefault' while processing query: 'SELECT dictGetInt8OrDefault', required columns: 'dictGetInt8OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetInt8OrDefault;) 2026.10.27 19:25:55.257135 [ 5687 ] {1cc08bdc-1f67-4194-ab41-9f5f662aa2ca} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetInt8OrDefault' while processing query: 'SELECT dictGetInt8OrDefault', required columns: 'dictGetInt8OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:55.292709 [ 5687 ] {db19bac9-cecd-454b-b23b-52a56f74e009} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetOrDefault' while processing query: 'SELECT dictGetOrDefault', required columns: 'dictGetOrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetOrDefault;) 2026.10.27 19:25:55.401952 [ 5687 ] {db19bac9-cecd-454b-b23b-52a56f74e009} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetOrDefault' while processing query: 'SELECT dictGetOrDefault', required columns: 'dictGetOrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:55.445279 [ 5687 ] {b4e54767-893b-48c7-af3d-7c4022117e5c} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetOrNull' while processing query: 'SELECT dictGetOrNull', required columns: 'dictGetOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetOrNull;) 2026.10.27 19:25:55.454909 [ 5687 ] {b4e54767-893b-48c7-af3d-7c4022117e5c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetOrNull' while processing query: 'SELECT dictGetOrNull', required columns: 'dictGetOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:55.538639 [ 5687 ] {43d702ff-ff15-47f7-b6d2-e943c1fd04f1} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetString' while processing query: 'SELECT dictGetString', required columns: 'dictGetString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetString;) 2026.10.27 19:25:55.548001 [ 5687 ] {43d702ff-ff15-47f7-b6d2-e943c1fd04f1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetString' while processing query: 'SELECT dictGetString', required columns: 'dictGetString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:55.669853 [ 5687 ] {862d4f42-d2ca-476d-ae27-eb894ab2d36d} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetStringOrDefault' while processing query: 'SELECT dictGetStringOrDefault', required columns: 'dictGetStringOrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetStringOrDefault;) 2026.10.27 19:25:55.677342 [ 5687 ] {862d4f42-d2ca-476d-ae27-eb894ab2d36d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetStringOrDefault' while processing query: 'SELECT dictGetStringOrDefault', required columns: 'dictGetStringOrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:55.812509 [ 5687 ] {cf32a950-1467-464a-a590-02d74c7bc431} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetUInt16' while processing query: 'SELECT dictGetUInt16', required columns: 'dictGetUInt16'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetUInt16;) 2026.10.27 19:25:55.819092 [ 5687 ] {cf32a950-1467-464a-a590-02d74c7bc431} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetUInt16' while processing query: 'SELECT dictGetUInt16', required columns: 'dictGetUInt16'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:56.024924 [ 5687 ] {799107c2-636f-4e7d-b53b-6dc697053a0d} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetUInt16OrDefault' while processing query: 'SELECT dictGetUInt16OrDefault', required columns: 'dictGetUInt16OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetUInt16OrDefault;) 2026.10.27 19:25:56.030976 [ 5687 ] {799107c2-636f-4e7d-b53b-6dc697053a0d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetUInt16OrDefault' while processing query: 'SELECT dictGetUInt16OrDefault', required columns: 'dictGetUInt16OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:56.074022 [ 5687 ] {6554b4be-fc35-41c1-854a-45d648db7fd5} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetUInt32' while processing query: 'SELECT dictGetUInt32', required columns: 'dictGetUInt32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetUInt32;) 2026.10.27 19:25:56.081248 [ 5687 ] {6554b4be-fc35-41c1-854a-45d648db7fd5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetUInt32' while processing query: 'SELECT dictGetUInt32', required columns: 'dictGetUInt32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:56.110642 [ 5687 ] {73b21b1d-a8fd-49c2-b7e1-959d2de52ff2} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetUInt32OrDefault' while processing query: 'SELECT dictGetUInt32OrDefault', required columns: 'dictGetUInt32OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetUInt32OrDefault;) 2026.10.27 19:25:56.113894 [ 5687 ] {73b21b1d-a8fd-49c2-b7e1-959d2de52ff2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetUInt32OrDefault' while processing query: 'SELECT dictGetUInt32OrDefault', required columns: 'dictGetUInt32OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:56.137555 [ 2244 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_52_96_7}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 1054909 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d125558 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:56.141102 [ 5687 ] {37c2560d-6b1e-4578-9714-5d3d322aabb9} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetUInt64' while processing query: 'SELECT dictGetUInt64', required columns: 'dictGetUInt64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetUInt64;) 2026.10.27 19:25:56.148274 [ 5687 ] {37c2560d-6b1e-4578-9714-5d3d322aabb9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetUInt64' while processing query: 'SELECT dictGetUInt64', required columns: 'dictGetUInt64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:56.188531 [ 5687 ] {233929bd-88e8-4bf1-8885-6ecb0f51955d} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetUInt64OrDefault' while processing query: 'SELECT dictGetUInt64OrDefault', required columns: 'dictGetUInt64OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetUInt64OrDefault;) 2026.10.27 19:25:56.190967 [ 5687 ] {233929bd-88e8-4bf1-8885-6ecb0f51955d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetUInt64OrDefault' while processing query: 'SELECT dictGetUInt64OrDefault', required columns: 'dictGetUInt64OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:56.214850 [ 5687 ] {06073ea8-c929-4e7c-89ed-6d4f4193bac7} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetUInt8' while processing query: 'SELECT dictGetUInt8', required columns: 'dictGetUInt8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetUInt8;) 2026.10.27 19:25:56.218304 [ 5687 ] {06073ea8-c929-4e7c-89ed-6d4f4193bac7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetUInt8' while processing query: 'SELECT dictGetUInt8', required columns: 'dictGetUInt8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:56.240996 [ 5687 ] {cc9045d6-9c57-4b46-a1be-2783b2e01d79} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetUInt8OrDefault' while processing query: 'SELECT dictGetUInt8OrDefault', required columns: 'dictGetUInt8OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetUInt8OrDefault;) 2026.10.27 19:25:56.243310 [ 5687 ] {cc9045d6-9c57-4b46-a1be-2783b2e01d79} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetUInt8OrDefault' while processing query: 'SELECT dictGetUInt8OrDefault', required columns: 'dictGetUInt8OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:56.271815 [ 5687 ] {43b2772e-7047-4544-826b-3bf4ab9ca65c} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetUUID' while processing query: 'SELECT dictGetUUID', required columns: 'dictGetUUID'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetUUID;) 2026.10.27 19:25:56.276257 [ 5687 ] {43b2772e-7047-4544-826b-3bf4ab9ca65c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetUUID' while processing query: 'SELECT dictGetUUID', required columns: 'dictGetUUID'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:56.412694 [ 5687 ] {f5379feb-0ef5-4131-9e51-7db58098c0b9} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictGetUUIDOrDefault' while processing query: 'SELECT dictGetUUIDOrDefault', required columns: 'dictGetUUIDOrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictGetUUIDOrDefault;) 2026.10.27 19:25:56.417771 [ 5687 ] {f5379feb-0ef5-4131-9e51-7db58098c0b9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictGetUUIDOrDefault' while processing query: 'SELECT dictGetUUIDOrDefault', required columns: 'dictGetUUIDOrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:56.451678 [ 5687 ] {776363f9-70e6-4049-acac-8d173311b793} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictHas' while processing query: 'SELECT dictHas', required columns: 'dictHas'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictHas;) 2026.10.27 19:25:56.456832 [ 5687 ] {776363f9-70e6-4049-acac-8d173311b793} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictHas' while processing query: 'SELECT dictHas', required columns: 'dictHas'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:56.489681 [ 5687 ] {dcbbfa0a-1ca1-4bf8-8d07-56da4d8f161c} executeQuery: Code: 47. DB::Exception: Missing columns: 'dictIsIn' while processing query: 'SELECT dictIsIn', required columns: 'dictIsIn'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dictIsIn;) 2026.10.27 19:25:56.498122 [ 5687 ] {dcbbfa0a-1ca1-4bf8-8d07-56da4d8f161c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dictIsIn' while processing query: 'SELECT dictIsIn', required columns: 'dictIsIn'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:56.519641 [ 5687 ] {427ea214-9576-4446-94e8-3414d792c137} executeQuery: Code: 47. DB::Exception: Missing columns: 'displayName' while processing query: 'SELECT displayName', required columns: 'displayName'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT displayName;) 2026.10.27 19:25:56.523330 [ 5687 ] {427ea214-9576-4446-94e8-3414d792c137} TCPHandler: Code: 47. DB::Exception: Missing columns: 'displayName' while processing query: 'SELECT displayName', required columns: 'displayName'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:56.552348 [ 5687 ] {4cd54a86-a091-4d70-9795-e206ddd27056} executeQuery: Code: 47. DB::Exception: Missing columns: 'distanceL1' while processing query: 'SELECT distanceL1', required columns: 'distanceL1'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT distanceL1;) 2026.10.27 19:25:56.554591 [ 5687 ] {4cd54a86-a091-4d70-9795-e206ddd27056} TCPHandler: Code: 47. DB::Exception: Missing columns: 'distanceL1' while processing query: 'SELECT distanceL1', required columns: 'distanceL1'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:56.577097 [ 5687 ] {3b598569-697e-477a-a079-f36e83227c7a} executeQuery: Code: 47. DB::Exception: Missing columns: 'distanceL2' while processing query: 'SELECT distanceL2', required columns: 'distanceL2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT distanceL2;) 2026.10.27 19:25:56.581348 [ 5687 ] {3b598569-697e-477a-a079-f36e83227c7a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'distanceL2' while processing query: 'SELECT distanceL2', required columns: 'distanceL2'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:56.702852 [ 5687 ] {f4629b9d-03ae-46f9-8d08-be7445816772} executeQuery: Code: 47. DB::Exception: Missing columns: 'distanceL2Squared' while processing query: 'SELECT distanceL2Squared', required columns: 'distanceL2Squared'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT distanceL2Squared;) 2026.10.27 19:25:56.705640 [ 5687 ] {f4629b9d-03ae-46f9-8d08-be7445816772} TCPHandler: Code: 47. DB::Exception: Missing columns: 'distanceL2Squared' while processing query: 'SELECT distanceL2Squared', required columns: 'distanceL2Squared'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:56.724278 [ 5687 ] {04a02390-d9c5-46bb-8a8d-10dc3d843580} executeQuery: Code: 47. DB::Exception: Missing columns: 'distanceLinf' while processing query: 'SELECT distanceLinf', required columns: 'distanceLinf'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT distanceLinf;) 2026.10.27 19:25:56.728451 [ 5687 ] {04a02390-d9c5-46bb-8a8d-10dc3d843580} TCPHandler: Code: 47. DB::Exception: Missing columns: 'distanceLinf' while processing query: 'SELECT distanceLinf', required columns: 'distanceLinf'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:56.744820 [ 5687 ] {abfd5f55-13a2-4794-a75e-3ef87dbf5f0e} executeQuery: Code: 47. DB::Exception: Missing columns: 'distanceLp' while processing query: 'SELECT distanceLp', required columns: 'distanceLp'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT distanceLp;) 2026.10.27 19:25:56.746897 [ 5687 ] {abfd5f55-13a2-4794-a75e-3ef87dbf5f0e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'distanceLp' while processing query: 'SELECT distanceLp', required columns: 'distanceLp'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:56.763503 [ 5687 ] {ffd0b0da-219d-4570-bcff-5d27a06d868b} executeQuery: Code: 47. DB::Exception: Missing columns: 'divide' while processing query: 'SELECT divide', required columns: 'divide'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT divide;) 2026.10.27 19:25:56.769168 [ 5687 ] {ffd0b0da-219d-4570-bcff-5d27a06d868b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'divide' while processing query: 'SELECT divide', required columns: 'divide'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:56.786799 [ 5687 ] {f24bb480-2ae0-466e-94e3-7921275081ef} executeQuery: Code: 47. DB::Exception: Missing columns: 'divideDecimal' while processing query: 'SELECT divideDecimal', required columns: 'divideDecimal'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT divideDecimal;) 2026.10.27 19:25:56.788954 [ 5687 ] {f24bb480-2ae0-466e-94e3-7921275081ef} TCPHandler: Code: 47. DB::Exception: Missing columns: 'divideDecimal' while processing query: 'SELECT divideDecimal', required columns: 'divideDecimal'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:57.006524 [ 5687 ] {6cc6c3ce-23d4-43f3-aa88-33d6e7000230} executeQuery: Code: 47. DB::Exception: Missing columns: 'domain' while processing query: 'SELECT domain', required columns: 'domain'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT domain;) 2026.10.27 19:25:57.109143 [ 5687 ] {6cc6c3ce-23d4-43f3-aa88-33d6e7000230} TCPHandler: Code: 47. DB::Exception: Missing columns: 'domain' while processing query: 'SELECT domain', required columns: 'domain'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:57.126315 [ 5687 ] {09a3edb5-7163-4b20-9747-bab8e5306113} executeQuery: Code: 47. DB::Exception: Missing columns: 'domainRFC' while processing query: 'SELECT domainRFC', required columns: 'domainRFC'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT domainRFC;) 2026.10.27 19:25:57.131677 [ 5687 ] {09a3edb5-7163-4b20-9747-bab8e5306113} TCPHandler: Code: 47. DB::Exception: Missing columns: 'domainRFC' while processing query: 'SELECT domainRFC', required columns: 'domainRFC'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:57.146985 [ 5687 ] {f6d085fa-f1fa-4fee-ac46-77709017e86c} executeQuery: Code: 47. DB::Exception: Missing columns: 'domainWithoutWWW' while processing query: 'SELECT domainWithoutWWW', required columns: 'domainWithoutWWW'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT domainWithoutWWW;) 2026.10.27 19:25:57.149261 [ 5687 ] {f6d085fa-f1fa-4fee-ac46-77709017e86c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'domainWithoutWWW' while processing query: 'SELECT domainWithoutWWW', required columns: 'domainWithoutWWW'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:57.274457 [ 5687 ] {0be3c6c3-702a-4fc4-a6ed-cdc48e73dbf2} executeQuery: Code: 47. DB::Exception: Missing columns: 'domainWithoutWWWRFC' while processing query: 'SELECT domainWithoutWWWRFC', required columns: 'domainWithoutWWWRFC'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT domainWithoutWWWRFC;) 2026.10.27 19:25:57.277485 [ 5687 ] {0be3c6c3-702a-4fc4-a6ed-cdc48e73dbf2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'domainWithoutWWWRFC' while processing query: 'SELECT domainWithoutWWWRFC', required columns: 'domainWithoutWWWRFC'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:57.303942 [ 5687 ] {4f06cd33-a6b9-4118-bfb1-56f75e41bdb1} executeQuery: Code: 47. DB::Exception: Missing columns: 'dotProduct' while processing query: 'SELECT dotProduct', required columns: 'dotProduct'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dotProduct;) 2026.10.27 19:25:57.410248 [ 5687 ] {4f06cd33-a6b9-4118-bfb1-56f75e41bdb1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dotProduct' while processing query: 'SELECT dotProduct', required columns: 'dotProduct'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:57.463158 [ 5687 ] {b11314d4-2bd2-4933-8395-0fc5e7256b33} executeQuery: Code: 47. DB::Exception: Missing columns: 'dumpColumnStructure' while processing query: 'SELECT dumpColumnStructure', required columns: 'dumpColumnStructure'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT dumpColumnStructure;) 2026.10.27 19:25:57.471144 [ 5687 ] {b11314d4-2bd2-4933-8395-0fc5e7256b33} TCPHandler: Code: 47. DB::Exception: Missing columns: 'dumpColumnStructure' while processing query: 'SELECT dumpColumnStructure', required columns: 'dumpColumnStructure'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:57.588191 [ 5687 ] {28aa5bac-f4c5-4f9c-b3e7-4cf49d10b02d} executeQuery: Code: 47. DB::Exception: Missing columns: 'e' while processing query: 'SELECT e', required columns: 'e'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT e;) 2026.10.27 19:25:57.590829 [ 5687 ] {28aa5bac-f4c5-4f9c-b3e7-4cf49d10b02d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'e' while processing query: 'SELECT e', required columns: 'e'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:57.721248 [ 5687 ] {1bb4fae1-2767-4ed3-8ce5-b87bc570c714} executeQuery: Code: 47. DB::Exception: Missing columns: 'empty' while processing query: 'SELECT empty', required columns: 'empty'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT empty;) 2026.10.27 19:25:57.724877 [ 5687 ] {1bb4fae1-2767-4ed3-8ce5-b87bc570c714} TCPHandler: Code: 47. DB::Exception: Missing columns: 'empty' while processing query: 'SELECT empty', required columns: 'empty'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:57.755688 [ 5687 ] {72a556d9-466a-4ee3-b3a1-a55416181d68} executeQuery: Code: 47. DB::Exception: Missing columns: 'emptyArrayDate' while processing query: 'SELECT emptyArrayDate', required columns: 'emptyArrayDate'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT emptyArrayDate;) 2026.10.27 19:25:57.758687 [ 5687 ] {72a556d9-466a-4ee3-b3a1-a55416181d68} TCPHandler: Code: 47. DB::Exception: Missing columns: 'emptyArrayDate' while processing query: 'SELECT emptyArrayDate', required columns: 'emptyArrayDate'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:57.890266 [ 5687 ] {6fbbbe4a-48a1-419f-bb88-cefe57e2310a} executeQuery: Code: 47. DB::Exception: Missing columns: 'emptyArrayDateTime' while processing query: 'SELECT emptyArrayDateTime', required columns: 'emptyArrayDateTime'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT emptyArrayDateTime;) 2026.10.27 19:25:57.893670 [ 5687 ] {6fbbbe4a-48a1-419f-bb88-cefe57e2310a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'emptyArrayDateTime' while processing query: 'SELECT emptyArrayDateTime', required columns: 'emptyArrayDateTime'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:57.925171 [ 5687 ] {d2301b52-fb2f-490b-ac49-29f0e99baa96} executeQuery: Code: 47. DB::Exception: Missing columns: 'emptyArrayFloat32' while processing query: 'SELECT emptyArrayFloat32', required columns: 'emptyArrayFloat32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT emptyArrayFloat32;) 2026.10.27 19:25:57.928537 [ 5687 ] {d2301b52-fb2f-490b-ac49-29f0e99baa96} TCPHandler: Code: 47. DB::Exception: Missing columns: 'emptyArrayFloat32' while processing query: 'SELECT emptyArrayFloat32', required columns: 'emptyArrayFloat32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:57.941173 [ 2289 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::MetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.49 GiB (attempt to allocate chunk of 4198715 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:297: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d65200a in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3dc813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:25:58.060689 [ 5687 ] {8893e992-26da-4138-91f7-ea86948b7266} executeQuery: Code: 47. DB::Exception: Missing columns: 'emptyArrayFloat64' while processing query: 'SELECT emptyArrayFloat64', required columns: 'emptyArrayFloat64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT emptyArrayFloat64;) 2026.10.27 19:25:58.063993 [ 5687 ] {8893e992-26da-4138-91f7-ea86948b7266} TCPHandler: Code: 47. DB::Exception: Missing columns: 'emptyArrayFloat64' while processing query: 'SELECT emptyArrayFloat64', required columns: 'emptyArrayFloat64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:58.095703 [ 5687 ] {cdce7f64-b44d-4fe7-ac60-439e1285c7a7} executeQuery: Code: 47. DB::Exception: Missing columns: 'emptyArrayInt16' while processing query: 'SELECT emptyArrayInt16', required columns: 'emptyArrayInt16'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT emptyArrayInt16;) 2026.10.27 19:25:58.099066 [ 5687 ] {cdce7f64-b44d-4fe7-ac60-439e1285c7a7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'emptyArrayInt16' while processing query: 'SELECT emptyArrayInt16', required columns: 'emptyArrayInt16'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:58.131072 [ 5687 ] {6fce03a3-675f-4e7c-b881-eff75d6ee002} executeQuery: Code: 47. DB::Exception: Missing columns: 'emptyArrayInt32' while processing query: 'SELECT emptyArrayInt32', required columns: 'emptyArrayInt32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT emptyArrayInt32;) 2026.10.27 19:25:58.134188 [ 5687 ] {6fce03a3-675f-4e7c-b881-eff75d6ee002} TCPHandler: Code: 47. DB::Exception: Missing columns: 'emptyArrayInt32' while processing query: 'SELECT emptyArrayInt32', required columns: 'emptyArrayInt32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:58.164846 [ 5687 ] {61e2ea45-0971-4e41-b597-29787502167f} executeQuery: Code: 47. DB::Exception: Missing columns: 'emptyArrayInt64' while processing query: 'SELECT emptyArrayInt64', required columns: 'emptyArrayInt64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT emptyArrayInt64;) 2026.10.27 19:25:58.167702 [ 5687 ] {61e2ea45-0971-4e41-b597-29787502167f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'emptyArrayInt64' while processing query: 'SELECT emptyArrayInt64', required columns: 'emptyArrayInt64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:58.198462 [ 5687 ] {e9a2f041-b299-4911-95a0-e31fdccedf7c} executeQuery: Code: 47. DB::Exception: Missing columns: 'emptyArrayInt8' while processing query: 'SELECT emptyArrayInt8', required columns: 'emptyArrayInt8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT emptyArrayInt8;) 2026.10.27 19:25:58.201883 [ 5687 ] {e9a2f041-b299-4911-95a0-e31fdccedf7c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'emptyArrayInt8' while processing query: 'SELECT emptyArrayInt8', required columns: 'emptyArrayInt8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:58.433593 [ 5687 ] {25b5dcb4-1e3b-49e9-af4c-412342a9e7ca} executeQuery: Code: 47. DB::Exception: Missing columns: 'emptyArrayString' while processing query: 'SELECT emptyArrayString', required columns: 'emptyArrayString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT emptyArrayString;) 2026.10.27 19:25:58.436722 [ 5687 ] {25b5dcb4-1e3b-49e9-af4c-412342a9e7ca} TCPHandler: Code: 47. DB::Exception: Missing columns: 'emptyArrayString' while processing query: 'SELECT emptyArrayString', required columns: 'emptyArrayString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:58.466620 [ 5687 ] {d9ac4a62-a4c1-4ad4-b055-3088d2cc08b8} executeQuery: Code: 47. DB::Exception: Missing columns: 'emptyArrayToSingle' while processing query: 'SELECT emptyArrayToSingle', required columns: 'emptyArrayToSingle'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT emptyArrayToSingle;) 2026.10.27 19:25:58.469565 [ 5687 ] {d9ac4a62-a4c1-4ad4-b055-3088d2cc08b8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'emptyArrayToSingle' while processing query: 'SELECT emptyArrayToSingle', required columns: 'emptyArrayToSingle'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:58.499367 [ 5687 ] {befe6fc4-988e-445e-921a-2420ce003bdc} executeQuery: Code: 47. DB::Exception: Missing columns: 'emptyArrayUInt16' while processing query: 'SELECT emptyArrayUInt16', required columns: 'emptyArrayUInt16'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT emptyArrayUInt16;) 2026.10.27 19:25:58.602773 [ 5687 ] {befe6fc4-988e-445e-921a-2420ce003bdc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'emptyArrayUInt16' while processing query: 'SELECT emptyArrayUInt16', required columns: 'emptyArrayUInt16'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:58.721596 [ 5687 ] {c3a5c7da-10c2-42db-9ac5-d8ce2d57cc23} executeQuery: Code: 47. DB::Exception: Missing columns: 'emptyArrayUInt32' while processing query: 'SELECT emptyArrayUInt32', required columns: 'emptyArrayUInt32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT emptyArrayUInt32;) 2026.10.27 19:25:58.724548 [ 5687 ] {c3a5c7da-10c2-42db-9ac5-d8ce2d57cc23} TCPHandler: Code: 47. DB::Exception: Missing columns: 'emptyArrayUInt32' while processing query: 'SELECT emptyArrayUInt32', required columns: 'emptyArrayUInt32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:58.855829 [ 5687 ] {9e908bc8-8693-4969-81e9-7c994eeb6e25} executeQuery: Code: 47. DB::Exception: Missing columns: 'emptyArrayUInt64' while processing query: 'SELECT emptyArrayUInt64', required columns: 'emptyArrayUInt64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT emptyArrayUInt64;) 2026.10.27 19:25:58.858805 [ 5687 ] {9e908bc8-8693-4969-81e9-7c994eeb6e25} TCPHandler: Code: 47. DB::Exception: Missing columns: 'emptyArrayUInt64' while processing query: 'SELECT emptyArrayUInt64', required columns: 'emptyArrayUInt64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:58.890256 [ 5687 ] {d1d5e5d9-28ff-4dd3-9a5f-58745e462b90} executeQuery: Code: 47. DB::Exception: Missing columns: 'emptyArrayUInt8' while processing query: 'SELECT emptyArrayUInt8', required columns: 'emptyArrayUInt8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT emptyArrayUInt8;) 2026.10.27 19:25:58.893200 [ 5687 ] {d1d5e5d9-28ff-4dd3-9a5f-58745e462b90} TCPHandler: Code: 47. DB::Exception: Missing columns: 'emptyArrayUInt8' while processing query: 'SELECT emptyArrayUInt8', required columns: 'emptyArrayUInt8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:58.924829 [ 5687 ] {ebb0bf31-53d9-4983-ad9d-876196415d3e} executeQuery: Code: 47. DB::Exception: Missing columns: 'enabledProfiles' while processing query: 'SELECT enabledProfiles', required columns: 'enabledProfiles'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT enabledProfiles;) 2026.10.27 19:25:58.927562 [ 5687 ] {ebb0bf31-53d9-4983-ad9d-876196415d3e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'enabledProfiles' while processing query: 'SELECT enabledProfiles', required columns: 'enabledProfiles'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:58.959744 [ 5687 ] {3feccfa5-5873-4661-b872-62789d9c33bc} executeQuery: Code: 47. DB::Exception: Missing columns: 'enabledRoles' while processing query: 'SELECT enabledRoles', required columns: 'enabledRoles'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT enabledRoles;) 2026.10.27 19:25:58.963032 [ 5687 ] {3feccfa5-5873-4661-b872-62789d9c33bc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'enabledRoles' while processing query: 'SELECT enabledRoles', required columns: 'enabledRoles'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:58.993449 [ 5687 ] {05010a7b-b26e-4dda-a7fa-5c500f6b65fb} executeQuery: Code: 47. DB::Exception: Missing columns: 'encodeURLComponent' while processing query: 'SELECT encodeURLComponent', required columns: 'encodeURLComponent'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT encodeURLComponent;) 2026.10.27 19:25:58.996679 [ 5687 ] {05010a7b-b26e-4dda-a7fa-5c500f6b65fb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'encodeURLComponent' while processing query: 'SELECT encodeURLComponent', required columns: 'encodeURLComponent'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:59.027241 [ 5687 ] {0f5d14a7-180c-43c9-a7bd-a8b5ca351f1a} executeQuery: Code: 47. DB::Exception: Missing columns: 'encodeURLFormComponent' while processing query: 'SELECT encodeURLFormComponent', required columns: 'encodeURLFormComponent'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT encodeURLFormComponent;) 2026.10.27 19:25:59.030375 [ 5687 ] {0f5d14a7-180c-43c9-a7bd-a8b5ca351f1a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'encodeURLFormComponent' while processing query: 'SELECT encodeURLFormComponent', required columns: 'encodeURLFormComponent'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:59.062040 [ 5687 ] {2541a51b-b8d6-4cae-ac34-01c83e789d25} executeQuery: Code: 47. DB::Exception: Missing columns: 'encodeXMLComponent' while processing query: 'SELECT encodeXMLComponent', required columns: 'encodeXMLComponent'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT encodeXMLComponent;) 2026.10.27 19:25:59.064733 [ 5687 ] {2541a51b-b8d6-4cae-ac34-01c83e789d25} TCPHandler: Code: 47. DB::Exception: Missing columns: 'encodeXMLComponent' while processing query: 'SELECT encodeXMLComponent', required columns: 'encodeXMLComponent'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:59.096645 [ 5687 ] {08cf76c4-65b3-4175-9b7e-de941e6adfae} executeQuery: Code: 47. DB::Exception: Missing columns: 'encrypt' while processing query: 'SELECT encrypt', required columns: 'encrypt'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT encrypt;) 2026.10.27 19:25:59.099283 [ 5687 ] {08cf76c4-65b3-4175-9b7e-de941e6adfae} TCPHandler: Code: 47. DB::Exception: Missing columns: 'encrypt' while processing query: 'SELECT encrypt', required columns: 'encrypt'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:59.128000 [ 5687 ] {b4769191-b1fb-4d2a-b58a-2418570994ba} executeQuery: Code: 47. DB::Exception: Missing columns: 'endsWith' while processing query: 'SELECT endsWith', required columns: 'endsWith'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT endsWith;) 2026.10.27 19:25:59.131129 [ 5687 ] {b4769191-b1fb-4d2a-b58a-2418570994ba} TCPHandler: Code: 47. DB::Exception: Missing columns: 'endsWith' while processing query: 'SELECT endsWith', required columns: 'endsWith'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:59.157443 [ 5687 ] {c74b193e-f02f-4c00-81a2-ca9406eb038f} executeQuery: Code: 47. DB::Exception: Missing columns: 'endsWithUTF8' while processing query: 'SELECT endsWithUTF8', required columns: 'endsWithUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT endsWithUTF8;) 2026.10.27 19:25:59.159910 [ 5687 ] {c74b193e-f02f-4c00-81a2-ca9406eb038f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'endsWithUTF8' while processing query: 'SELECT endsWithUTF8', required columns: 'endsWithUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:59.288952 [ 5687 ] {f5cdca2c-d760-4adb-b91a-500357bcbbfa} executeQuery: Code: 47. DB::Exception: Missing columns: 'entropy' while processing query: 'SELECT entropy', required columns: 'entropy'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT entropy;) 2026.10.27 19:25:59.291749 [ 5687 ] {f5cdca2c-d760-4adb-b91a-500357bcbbfa} TCPHandler: Code: 47. DB::Exception: Missing columns: 'entropy' while processing query: 'SELECT entropy', required columns: 'entropy'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:59.323243 [ 5687 ] {fe101163-5746-4cca-afd4-b7ed2bc334e0} executeQuery: Code: 47. DB::Exception: Missing columns: 'equals' while processing query: 'SELECT equals', required columns: 'equals'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT equals;) 2026.10.27 19:25:59.326637 [ 5687 ] {fe101163-5746-4cca-afd4-b7ed2bc334e0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'equals' while processing query: 'SELECT equals', required columns: 'equals'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:59.353403 [ 5687 ] {b5808bff-e6cf-417d-9ac9-6f8f18ed3a6f} executeQuery: Code: 47. DB::Exception: Missing columns: 'erf' while processing query: 'SELECT erf', required columns: 'erf'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT erf;) 2026.10.27 19:25:59.356799 [ 5687 ] {b5808bff-e6cf-417d-9ac9-6f8f18ed3a6f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'erf' while processing query: 'SELECT erf', required columns: 'erf'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:59.385418 [ 5687 ] {862a14f5-8829-4937-949e-24e14c5e264d} executeQuery: Code: 47. DB::Exception: Missing columns: 'erfc' while processing query: 'SELECT erfc', required columns: 'erfc'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT erfc;) 2026.10.27 19:25:59.388541 [ 5687 ] {862a14f5-8829-4937-949e-24e14c5e264d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'erfc' while processing query: 'SELECT erfc', required columns: 'erfc'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:59.620202 [ 5687 ] {0a0b9242-bf55-4db8-88cb-336117b7d611} executeQuery: Code: 47. DB::Exception: Missing columns: 'errorCodeToName' while processing query: 'SELECT errorCodeToName', required columns: 'errorCodeToName'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT errorCodeToName;) 2026.10.27 19:25:59.622959 [ 5687 ] {0a0b9242-bf55-4db8-88cb-336117b7d611} TCPHandler: Code: 47. DB::Exception: Missing columns: 'errorCodeToName' while processing query: 'SELECT errorCodeToName', required columns: 'errorCodeToName'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:59.651354 [ 5687 ] {48d400c5-a932-40bf-bc61-a7375ff4bb34} executeQuery: Code: 47. DB::Exception: Missing columns: 'evalMLMethod' while processing query: 'SELECT evalMLMethod', required columns: 'evalMLMethod'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT evalMLMethod;) 2026.10.27 19:25:59.654021 [ 5687 ] {48d400c5-a932-40bf-bc61-a7375ff4bb34} TCPHandler: Code: 47. DB::Exception: Missing columns: 'evalMLMethod' while processing query: 'SELECT evalMLMethod', required columns: 'evalMLMethod'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:59.680424 [ 5687 ] {2a72e9d5-c7d4-4f47-981a-b32fe2df7bb0} executeQuery: Code: 47. DB::Exception: Missing columns: 'exp' while processing query: 'SELECT exp', required columns: 'exp'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT exp;) 2026.10.27 19:25:59.683122 [ 5687 ] {2a72e9d5-c7d4-4f47-981a-b32fe2df7bb0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'exp' while processing query: 'SELECT exp', required columns: 'exp'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:59.710875 [ 5687 ] {7ad0da8a-9315-4555-9880-9be59abc95f9} executeQuery: Code: 47. DB::Exception: Missing columns: 'exp10' while processing query: 'SELECT exp10', required columns: 'exp10'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT exp10;) 2026.10.27 19:25:59.713679 [ 5687 ] {7ad0da8a-9315-4555-9880-9be59abc95f9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'exp10' while processing query: 'SELECT exp10', required columns: 'exp10'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:59.942780 [ 5687 ] {a8f65453-eda3-4d8c-a92e-08293ce7c5b4} executeQuery: Code: 47. DB::Exception: Missing columns: 'exp2' while processing query: 'SELECT exp2', required columns: 'exp2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT exp2;) 2026.10.27 19:25:59.946061 [ 5687 ] {a8f65453-eda3-4d8c-a92e-08293ce7c5b4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'exp2' while processing query: 'SELECT exp2', required columns: 'exp2'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:25:59.977126 [ 5687 ] {3874a29a-4672-49a0-b42a-192c89034099} executeQuery: Code: 47. DB::Exception: Missing columns: 'exponentialMovingAverage' while processing query: 'SELECT exponentialMovingAverage', required columns: 'exponentialMovingAverage'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT exponentialMovingAverage;) 2026.10.27 19:25:59.979617 [ 5687 ] {3874a29a-4672-49a0-b42a-192c89034099} TCPHandler: Code: 47. DB::Exception: Missing columns: 'exponentialMovingAverage' while processing query: 'SELECT exponentialMovingAverage', required columns: 'exponentialMovingAverage'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:00.097545 [ 5687 ] {5209ef17-3c62-4110-9c83-fbf2d747e069} executeQuery: Code: 47. DB::Exception: Missing columns: 'exponentialTimeDecayedAvg' while processing query: 'SELECT exponentialTimeDecayedAvg', required columns: 'exponentialTimeDecayedAvg'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT exponentialTimeDecayedAvg;) 2026.10.27 19:26:00.100659 [ 5687 ] {5209ef17-3c62-4110-9c83-fbf2d747e069} TCPHandler: Code: 47. DB::Exception: Missing columns: 'exponentialTimeDecayedAvg' while processing query: 'SELECT exponentialTimeDecayedAvg', required columns: 'exponentialTimeDecayedAvg'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:00.233176 [ 5687 ] {88caa03b-9a13-48f4-bcde-a85bd3198430} executeQuery: Code: 47. DB::Exception: Missing columns: 'exponentialTimeDecayedCount' while processing query: 'SELECT exponentialTimeDecayedCount', required columns: 'exponentialTimeDecayedCount'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT exponentialTimeDecayedCount;) 2026.10.27 19:26:00.235919 [ 5687 ] {88caa03b-9a13-48f4-bcde-a85bd3198430} TCPHandler: Code: 47. DB::Exception: Missing columns: 'exponentialTimeDecayedCount' while processing query: 'SELECT exponentialTimeDecayedCount', required columns: 'exponentialTimeDecayedCount'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:00.465595 [ 5687 ] {bd4df036-dd7a-4e29-83a3-161768c9c2ea} executeQuery: Code: 47. DB::Exception: Missing columns: 'exponentialTimeDecayedMax' while processing query: 'SELECT exponentialTimeDecayedMax', required columns: 'exponentialTimeDecayedMax'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT exponentialTimeDecayedMax;) 2026.10.27 19:26:00.468598 [ 5687 ] {bd4df036-dd7a-4e29-83a3-161768c9c2ea} TCPHandler: Code: 47. DB::Exception: Missing columns: 'exponentialTimeDecayedMax' while processing query: 'SELECT exponentialTimeDecayedMax', required columns: 'exponentialTimeDecayedMax'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:00.498341 [ 5687 ] {b352be14-3c5e-45dd-bf89-d830ae51d6ab} executeQuery: Code: 47. DB::Exception: Missing columns: 'exponentialTimeDecayedSum' while processing query: 'SELECT exponentialTimeDecayedSum', required columns: 'exponentialTimeDecayedSum'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT exponentialTimeDecayedSum;) 2026.10.27 19:26:00.501299 [ 5687 ] {b352be14-3c5e-45dd-bf89-d830ae51d6ab} TCPHandler: Code: 47. DB::Exception: Missing columns: 'exponentialTimeDecayedSum' while processing query: 'SELECT exponentialTimeDecayedSum', required columns: 'exponentialTimeDecayedSum'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:00.633200 [ 5687 ] {1fdd9a72-685b-451d-8d05-c9854c7ff5a7} executeQuery: Code: 47. DB::Exception: Missing columns: 'extract' while processing query: 'SELECT extract', required columns: 'extract'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT extract;) 2026.10.27 19:26:00.636079 [ 5687 ] {1fdd9a72-685b-451d-8d05-c9854c7ff5a7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'extract' while processing query: 'SELECT extract', required columns: 'extract'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:00.667540 [ 5687 ] {0bab549e-d6c5-42c4-8a6a-33e0a28c16ce} executeQuery: Code: 47. DB::Exception: Missing columns: 'extractAll' while processing query: 'SELECT extractAll', required columns: 'extractAll'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT extractAll;) 2026.10.27 19:26:00.670830 [ 5687 ] {0bab549e-d6c5-42c4-8a6a-33e0a28c16ce} TCPHandler: Code: 47. DB::Exception: Missing columns: 'extractAll' while processing query: 'SELECT extractAll', required columns: 'extractAll'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:00.800922 [ 5687 ] {e911ea92-a954-44dc-9fdd-f4c47b35d5e3} executeQuery: Code: 47. DB::Exception: Missing columns: 'extractAllGroups' while processing query: 'SELECT extractAllGroups', required columns: 'extractAllGroups'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT extractAllGroups;) 2026.10.27 19:26:00.904503 [ 5687 ] {e911ea92-a954-44dc-9fdd-f4c47b35d5e3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'extractAllGroups' while processing query: 'SELECT extractAllGroups', required columns: 'extractAllGroups'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:01.034499 [ 5687 ] {e4053780-3ec6-47d8-84c0-8cbd267c8be6} executeQuery: Code: 47. DB::Exception: Missing columns: 'extractAllGroupsHorizontal' while processing query: 'SELECT extractAllGroupsHorizontal', required columns: 'extractAllGroupsHorizontal'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT extractAllGroupsHorizontal;) 2026.10.27 19:26:01.037898 [ 5687 ] {e4053780-3ec6-47d8-84c0-8cbd267c8be6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'extractAllGroupsHorizontal' while processing query: 'SELECT extractAllGroupsHorizontal', required columns: 'extractAllGroupsHorizontal'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:01.169297 [ 5687 ] {cdc8b349-1c02-4ba5-bb45-95a083f43907} executeQuery: Code: 47. DB::Exception: Missing columns: 'extractAllGroupsVertical' while processing query: 'SELECT extractAllGroupsVertical', required columns: 'extractAllGroupsVertical'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT extractAllGroupsVertical;) 2026.10.27 19:26:01.172357 [ 5687 ] {cdc8b349-1c02-4ba5-bb45-95a083f43907} TCPHandler: Code: 47. DB::Exception: Missing columns: 'extractAllGroupsVertical' while processing query: 'SELECT extractAllGroupsVertical', required columns: 'extractAllGroupsVertical'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:01.404464 [ 5687 ] {ee028299-11d8-4e33-90e1-9f6e8de5a0f6} executeQuery: Code: 47. DB::Exception: Missing columns: 'extractGroups' while processing query: 'SELECT extractGroups', required columns: 'extractGroups'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT extractGroups;) 2026.10.27 19:26:01.407330 [ 5687 ] {ee028299-11d8-4e33-90e1-9f6e8de5a0f6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'extractGroups' while processing query: 'SELECT extractGroups', required columns: 'extractGroups'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:01.524869 [ 5687 ] {df11186c-4cab-4fac-9334-2915ed7c888f} executeQuery: Code: 47. DB::Exception: Missing columns: 'extractKeyValuePairs' while processing query: 'SELECT extractKeyValuePairs', required columns: 'extractKeyValuePairs'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT extractKeyValuePairs;) 2026.10.27 19:26:01.527636 [ 5687 ] {df11186c-4cab-4fac-9334-2915ed7c888f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'extractKeyValuePairs' while processing query: 'SELECT extractKeyValuePairs', required columns: 'extractKeyValuePairs'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:01.658472 [ 5687 ] {4ce750a7-8acb-47e7-a47d-0505dc6da5be} executeQuery: Code: 47. DB::Exception: Missing columns: 'extractKeyValuePairsWithEscaping' while processing query: 'SELECT extractKeyValuePairsWithEscaping', required columns: 'extractKeyValuePairsWithEscaping'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT extractKeyValuePairsWithEscaping;) 2026.10.27 19:26:01.661662 [ 5687 ] {4ce750a7-8acb-47e7-a47d-0505dc6da5be} TCPHandler: Code: 47. DB::Exception: Missing columns: 'extractKeyValuePairsWithEscaping' while processing query: 'SELECT extractKeyValuePairsWithEscaping', required columns: 'extractKeyValuePairsWithEscaping'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:01.792655 [ 5687 ] {d62d58be-34df-4a4c-86ef-316c359728cf} executeQuery: Code: 47. DB::Exception: Missing columns: 'extractTextFromHTML' while processing query: 'SELECT extractTextFromHTML', required columns: 'extractTextFromHTML'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT extractTextFromHTML;) 2026.10.27 19:26:01.795591 [ 5687 ] {d62d58be-34df-4a4c-86ef-316c359728cf} TCPHandler: Code: 47. DB::Exception: Missing columns: 'extractTextFromHTML' while processing query: 'SELECT extractTextFromHTML', required columns: 'extractTextFromHTML'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:01.826433 [ 5687 ] {e6dc58f9-3eb6-471a-afea-c7d137c63f20} executeQuery: Code: 47. DB::Exception: Missing columns: 'extractURLParameter' while processing query: 'SELECT extractURLParameter', required columns: 'extractURLParameter'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT extractURLParameter;) 2026.10.27 19:26:01.829592 [ 5687 ] {e6dc58f9-3eb6-471a-afea-c7d137c63f20} TCPHandler: Code: 47. DB::Exception: Missing columns: 'extractURLParameter' while processing query: 'SELECT extractURLParameter', required columns: 'extractURLParameter'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:01.859597 [ 5687 ] {77aa599b-9602-4209-9b71-4aef61423545} executeQuery: Code: 47. DB::Exception: Missing columns: 'extractURLParameterNames' while processing query: 'SELECT extractURLParameterNames', required columns: 'extractURLParameterNames'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT extractURLParameterNames;) 2026.10.27 19:26:01.862936 [ 5687 ] {77aa599b-9602-4209-9b71-4aef61423545} TCPHandler: Code: 47. DB::Exception: Missing columns: 'extractURLParameterNames' while processing query: 'SELECT extractURLParameterNames', required columns: 'extractURLParameterNames'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:01.892877 [ 5687 ] {fb04b026-aec8-4404-90a6-e9f404db8143} executeQuery: Code: 47. DB::Exception: Missing columns: 'extractURLParameters' while processing query: 'SELECT extractURLParameters', required columns: 'extractURLParameters'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT extractURLParameters;) 2026.10.27 19:26:01.895528 [ 5687 ] {fb04b026-aec8-4404-90a6-e9f404db8143} TCPHandler: Code: 47. DB::Exception: Missing columns: 'extractURLParameters' while processing query: 'SELECT extractURLParameters', required columns: 'extractURLParameters'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:01.924702 [ 5687 ] {310dcf8f-f3ea-4760-a862-03ece2afef38} executeQuery: Code: 47. DB::Exception: Missing columns: 'factorial' while processing query: 'SELECT factorial', required columns: 'factorial'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT factorial;) 2026.10.27 19:26:01.927391 [ 5687 ] {310dcf8f-f3ea-4760-a862-03ece2afef38} TCPHandler: Code: 47. DB::Exception: Missing columns: 'factorial' while processing query: 'SELECT factorial', required columns: 'factorial'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:01.955773 [ 5687 ] {8a1e3d86-3b02-41be-a853-47208058cc62} executeQuery: Code: 47. DB::Exception: Missing columns: 'farmFingerprint64' while processing query: 'SELECT farmFingerprint64', required columns: 'farmFingerprint64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT farmFingerprint64;) 2026.10.27 19:26:01.959127 [ 5687 ] {8a1e3d86-3b02-41be-a853-47208058cc62} TCPHandler: Code: 47. DB::Exception: Missing columns: 'farmFingerprint64' while processing query: 'SELECT farmFingerprint64', required columns: 'farmFingerprint64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:01.975525 [ 2349 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::SessionLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.39 GiB (attempt to allocate chunk of 4232166 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a44c253 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a449542 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2c707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:01.990842 [ 5687 ] {696808ee-5ae2-4e26-ad65-4397972dc4b7} executeQuery: Code: 47. DB::Exception: Missing columns: 'farmHash64' while processing query: 'SELECT farmHash64', required columns: 'farmHash64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT farmHash64;) 2026.10.27 19:26:01.993563 [ 5687 ] {696808ee-5ae2-4e26-ad65-4397972dc4b7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'farmHash64' while processing query: 'SELECT farmHash64', required columns: 'farmHash64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:02.025093 [ 5687 ] {67413fad-839d-45cf-a869-9b5be6ae6205} executeQuery: Code: 47. DB::Exception: Missing columns: 'file' while processing query: 'SELECT file', required columns: 'file'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT file;) 2026.10.27 19:26:02.027956 [ 5687 ] {67413fad-839d-45cf-a869-9b5be6ae6205} TCPHandler: Code: 47. DB::Exception: Missing columns: 'file' while processing query: 'SELECT file', required columns: 'file'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:02.059131 [ 5687 ] {69373b40-4556-44d5-b3b4-d6dddbb18673} executeQuery: Code: 47. DB::Exception: Missing columns: 'filesystemAvailable' while processing query: 'SELECT filesystemAvailable', required columns: 'filesystemAvailable'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT filesystemAvailable;) 2026.10.27 19:26:02.061862 [ 5687 ] {69373b40-4556-44d5-b3b4-d6dddbb18673} TCPHandler: Code: 47. DB::Exception: Missing columns: 'filesystemAvailable' while processing query: 'SELECT filesystemAvailable', required columns: 'filesystemAvailable'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:02.091016 [ 5687 ] {95974386-0acd-4ec4-ae14-024f93d3de32} executeQuery: Code: 47. DB::Exception: Missing columns: 'filesystemCapacity' while processing query: 'SELECT filesystemCapacity', required columns: 'filesystemCapacity'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT filesystemCapacity;) 2026.10.27 19:26:02.093798 [ 5687 ] {95974386-0acd-4ec4-ae14-024f93d3de32} TCPHandler: Code: 47. DB::Exception: Missing columns: 'filesystemCapacity' while processing query: 'SELECT filesystemCapacity', required columns: 'filesystemCapacity'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:02.223873 [ 5687 ] {2fd3b582-6fbf-4dbf-9ea0-e3a9bc9e44ef} executeQuery: Code: 47. DB::Exception: Missing columns: 'filesystemUnreserved' while processing query: 'SELECT filesystemUnreserved', required columns: 'filesystemUnreserved'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT filesystemUnreserved;) 2026.10.27 19:26:02.227060 [ 5687 ] {2fd3b582-6fbf-4dbf-9ea0-e3a9bc9e44ef} TCPHandler: Code: 47. DB::Exception: Missing columns: 'filesystemUnreserved' while processing query: 'SELECT filesystemUnreserved', required columns: 'filesystemUnreserved'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:02.257680 [ 5687 ] {1b0dead5-1ce8-40b0-a341-83be223544a3} executeQuery: Code: 47. DB::Exception: Missing columns: 'finalizeAggregation' while processing query: 'SELECT finalizeAggregation', required columns: 'finalizeAggregation'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT finalizeAggregation;) 2026.10.27 19:26:02.260505 [ 5687 ] {1b0dead5-1ce8-40b0-a341-83be223544a3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'finalizeAggregation' while processing query: 'SELECT finalizeAggregation', required columns: 'finalizeAggregation'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:02.291508 [ 5687 ] {cf1b126c-7a58-4717-8ca2-ebcccc35d7b5} executeQuery: Code: 47. DB::Exception: Missing columns: 'firstLine' while processing query: 'SELECT firstLine', required columns: 'firstLine'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT firstLine;) 2026.10.27 19:26:02.294921 [ 5687 ] {cf1b126c-7a58-4717-8ca2-ebcccc35d7b5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'firstLine' while processing query: 'SELECT firstLine', required columns: 'firstLine'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:02.527373 [ 5687 ] {5d888c68-092b-4d4c-a281-86a87e0d9be6} executeQuery: Code: 47. DB::Exception: Missing columns: 'firstSignificantSubdomain' while processing query: 'SELECT firstSignificantSubdomain', required columns: 'firstSignificantSubdomain'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT firstSignificantSubdomain;) 2026.10.27 19:26:02.530876 [ 5687 ] {5d888c68-092b-4d4c-a281-86a87e0d9be6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'firstSignificantSubdomain' while processing query: 'SELECT firstSignificantSubdomain', required columns: 'firstSignificantSubdomain'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:02.561294 [ 5687 ] {1bb224f9-e137-448b-be86-0bc1d1f5422f} executeQuery: Code: 47. DB::Exception: Missing columns: 'firstSignificantSubdomainCustom' while processing query: 'SELECT firstSignificantSubdomainCustom', required columns: 'firstSignificantSubdomainCustom'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT firstSignificantSubdomainCustom;) 2026.10.27 19:26:02.564424 [ 5687 ] {1bb224f9-e137-448b-be86-0bc1d1f5422f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'firstSignificantSubdomainCustom' while processing query: 'SELECT firstSignificantSubdomainCustom', required columns: 'firstSignificantSubdomainCustom'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:02.593471 [ 5687 ] {5f26e41e-fcef-4557-b60a-f43470e80b57} executeQuery: Code: 47. DB::Exception: Missing columns: 'firstSignificantSubdomainCustomRFC' while processing query: 'SELECT firstSignificantSubdomainCustomRFC', required columns: 'firstSignificantSubdomainCustomRFC'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT firstSignificantSubdomainCustomRFC;) 2026.10.27 19:26:02.596016 [ 5687 ] {5f26e41e-fcef-4557-b60a-f43470e80b57} TCPHandler: Code: 47. DB::Exception: Missing columns: 'firstSignificantSubdomainCustomRFC' while processing query: 'SELECT firstSignificantSubdomainCustomRFC', required columns: 'firstSignificantSubdomainCustomRFC'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:02.625854 [ 5687 ] {d5abcb77-6bd2-48c4-a3d6-dc89e2645505} executeQuery: Code: 47. DB::Exception: Missing columns: 'firstSignificantSubdomainRFC' while processing query: 'SELECT firstSignificantSubdomainRFC', required columns: 'firstSignificantSubdomainRFC'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT firstSignificantSubdomainRFC;) 2026.10.27 19:26:02.628763 [ 5687 ] {d5abcb77-6bd2-48c4-a3d6-dc89e2645505} TCPHandler: Code: 47. DB::Exception: Missing columns: 'firstSignificantSubdomainRFC' while processing query: 'SELECT firstSignificantSubdomainRFC', required columns: 'firstSignificantSubdomainRFC'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:02.658099 [ 5687 ] {fc649279-7367-4411-9a04-cbb183b04bf7} executeQuery: Code: 47. DB::Exception: Missing columns: 'first_value' while processing query: 'SELECT first_value', required columns: 'first_value'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT first_value;) 2026.10.27 19:26:02.661129 [ 5687 ] {fc649279-7367-4411-9a04-cbb183b04bf7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'first_value' while processing query: 'SELECT first_value', required columns: 'first_value'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:02.689800 [ 5687 ] {75df2a7e-e503-4837-b687-a1903c676a1e} executeQuery: Code: 47. DB::Exception: Missing columns: 'first_value_respect_nulls' while processing query: 'SELECT first_value_respect_nulls', required columns: 'first_value_respect_nulls'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT first_value_respect_nulls;) 2026.10.27 19:26:02.692453 [ 5687 ] {75df2a7e-e503-4837-b687-a1903c676a1e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'first_value_respect_nulls' while processing query: 'SELECT first_value_respect_nulls', required columns: 'first_value_respect_nulls'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:02.722047 [ 5687 ] {7ca314b1-2101-493e-a249-f22d146a6662} executeQuery: Code: 47. DB::Exception: Missing columns: 'flameGraph' while processing query: 'SELECT flameGraph', required columns: 'flameGraph'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT flameGraph;) 2026.10.27 19:26:02.825591 [ 5687 ] {7ca314b1-2101-493e-a249-f22d146a6662} TCPHandler: Code: 47. DB::Exception: Missing columns: 'flameGraph' while processing query: 'SELECT flameGraph', required columns: 'flameGraph'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:02.855251 [ 5687 ] {a21128e3-4ecb-4b2e-bf24-4f9c7a93b377} executeQuery: Code: 47. DB::Exception: Missing columns: 'flatten' while processing query: 'SELECT flatten', required columns: 'flatten'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT flatten;) 2026.10.27 19:26:02.958775 [ 5687 ] {a21128e3-4ecb-4b2e-bf24-4f9c7a93b377} TCPHandler: Code: 47. DB::Exception: Missing columns: 'flatten' while processing query: 'SELECT flatten', required columns: 'flatten'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:03.071478 [ 5687 ] {2045a7f9-7a5d-4430-b4da-abe46a3deb6a} executeQuery: Code: 47. DB::Exception: Missing columns: 'flattenTuple' while processing query: 'SELECT flattenTuple', required columns: 'flattenTuple'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT flattenTuple;) 2026.10.27 19:26:03.174534 [ 5687 ] {2045a7f9-7a5d-4430-b4da-abe46a3deb6a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'flattenTuple' while processing query: 'SELECT flattenTuple', required columns: 'flattenTuple'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:03.204475 [ 5687 ] {caea5e17-dda0-4792-89ff-0d195dab5d6c} executeQuery: Code: 47. DB::Exception: Missing columns: 'floor' while processing query: 'SELECT floor', required columns: 'floor'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT floor;) 2026.10.27 19:26:03.206802 [ 5687 ] {caea5e17-dda0-4792-89ff-0d195dab5d6c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'floor' while processing query: 'SELECT floor', required columns: 'floor'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:03.334943 [ 5687 ] {7a4a9ad4-64eb-4188-8e77-ebbb6450e799} executeQuery: Code: 47. DB::Exception: Missing columns: 'format' while processing query: 'SELECT format', required columns: 'format'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT format;) 2026.10.27 19:26:03.338279 [ 5687 ] {7a4a9ad4-64eb-4188-8e77-ebbb6450e799} TCPHandler: Code: 47. DB::Exception: Missing columns: 'format' while processing query: 'SELECT format', required columns: 'format'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:03.469833 [ 5687 ] {3d0978d7-cd74-4ce5-9488-7b2bff58a22b} executeQuery: Code: 47. DB::Exception: Missing columns: 'formatDateTime' while processing query: 'SELECT formatDateTime', required columns: 'formatDateTime'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT formatDateTime;) 2026.10.27 19:26:03.472965 [ 5687 ] {3d0978d7-cd74-4ce5-9488-7b2bff58a22b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'formatDateTime' while processing query: 'SELECT formatDateTime', required columns: 'formatDateTime'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:03.503450 [ 5687 ] {60a40966-f30b-4482-bdf2-efc6032c88ae} executeQuery: Code: 47. DB::Exception: Missing columns: 'formatDateTimeInJodaSyntax' while processing query: 'SELECT formatDateTimeInJodaSyntax', required columns: 'formatDateTimeInJodaSyntax'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT formatDateTimeInJodaSyntax;) 2026.10.27 19:26:03.607100 [ 5687 ] {60a40966-f30b-4482-bdf2-efc6032c88ae} TCPHandler: Code: 47. DB::Exception: Missing columns: 'formatDateTimeInJodaSyntax' while processing query: 'SELECT formatDateTimeInJodaSyntax', required columns: 'formatDateTimeInJodaSyntax'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:03.737534 [ 5687 ] {b673106d-89f3-4016-88d6-1dc633592385} executeQuery: Code: 47. DB::Exception: Missing columns: 'formatReadableDecimalSize' while processing query: 'SELECT formatReadableDecimalSize', required columns: 'formatReadableDecimalSize'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT formatReadableDecimalSize;) 2026.10.27 19:26:03.740688 [ 5687 ] {b673106d-89f3-4016-88d6-1dc633592385} TCPHandler: Code: 47. DB::Exception: Missing columns: 'formatReadableDecimalSize' while processing query: 'SELECT formatReadableDecimalSize', required columns: 'formatReadableDecimalSize'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:03.771676 [ 5687 ] {d38c1d2c-3b0c-45a4-af51-572353e01fcb} executeQuery: Code: 47. DB::Exception: Missing columns: 'formatReadableQuantity' while processing query: 'SELECT formatReadableQuantity', required columns: 'formatReadableQuantity'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT formatReadableQuantity;) 2026.10.27 19:26:03.774766 [ 5687 ] {d38c1d2c-3b0c-45a4-af51-572353e01fcb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'formatReadableQuantity' while processing query: 'SELECT formatReadableQuantity', required columns: 'formatReadableQuantity'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:03.802599 [ 5687 ] {3826a711-2d05-4cbc-8e7f-322b3e6d7fb5} executeQuery: Code: 47. DB::Exception: Missing columns: 'formatReadableSize' while processing query: 'SELECT formatReadableSize', required columns: 'formatReadableSize'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT formatReadableSize;) 2026.10.27 19:26:03.805209 [ 5687 ] {3826a711-2d05-4cbc-8e7f-322b3e6d7fb5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'formatReadableSize' while processing query: 'SELECT formatReadableSize', required columns: 'formatReadableSize'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:03.833043 [ 5687 ] {707bf43d-7dc1-4a3e-a47b-8d39035810ea} executeQuery: Code: 47. DB::Exception: Missing columns: 'formatReadableTimeDelta' while processing query: 'SELECT formatReadableTimeDelta', required columns: 'formatReadableTimeDelta'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT formatReadableTimeDelta;) 2026.10.27 19:26:03.835213 [ 5687 ] {707bf43d-7dc1-4a3e-a47b-8d39035810ea} TCPHandler: Code: 47. DB::Exception: Missing columns: 'formatReadableTimeDelta' while processing query: 'SELECT formatReadableTimeDelta', required columns: 'formatReadableTimeDelta'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:03.862708 [ 5687 ] {5066d240-a648-4d6e-bae9-a22d31bbda23} executeQuery: Code: 47. DB::Exception: Missing columns: 'formatRow' while processing query: 'SELECT formatRow', required columns: 'formatRow'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT formatRow;) 2026.10.27 19:26:03.865211 [ 5687 ] {5066d240-a648-4d6e-bae9-a22d31bbda23} TCPHandler: Code: 47. DB::Exception: Missing columns: 'formatRow' while processing query: 'SELECT formatRow', required columns: 'formatRow'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:03.892631 [ 5687 ] {7041ddb2-efea-4850-81a0-7fff39736926} executeQuery: Code: 47. DB::Exception: Missing columns: 'formatRowNoNewline' while processing query: 'SELECT formatRowNoNewline', required columns: 'formatRowNoNewline'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT formatRowNoNewline;) 2026.10.27 19:26:03.894945 [ 5687 ] {7041ddb2-efea-4850-81a0-7fff39736926} TCPHandler: Code: 47. DB::Exception: Missing columns: 'formatRowNoNewline' while processing query: 'SELECT formatRowNoNewline', required columns: 'formatRowNoNewline'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:04.025798 [ 5687 ] {fe2f253c-075e-4337-bd33-76773c59cf35} executeQuery: Code: 47. DB::Exception: Missing columns: 'fragment' while processing query: 'SELECT fragment', required columns: 'fragment'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT fragment;) 2026.10.27 19:26:04.029133 [ 5687 ] {fe2f253c-075e-4337-bd33-76773c59cf35} TCPHandler: Code: 47. DB::Exception: Missing columns: 'fragment' while processing query: 'SELECT fragment', required columns: 'fragment'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:04.059933 [ 5687 ] {d0359a7c-4f28-4c43-a4a4-bf2f2f4af333} executeQuery: Code: 47. DB::Exception: Missing columns: 'fromModifiedJulianDay' while processing query: 'SELECT fromModifiedJulianDay', required columns: 'fromModifiedJulianDay'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT fromModifiedJulianDay;) 2026.10.27 19:26:04.163622 [ 5687 ] {d0359a7c-4f28-4c43-a4a4-bf2f2f4af333} TCPHandler: Code: 47. DB::Exception: Missing columns: 'fromModifiedJulianDay' while processing query: 'SELECT fromModifiedJulianDay', required columns: 'fromModifiedJulianDay'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:04.282802 [ 5687 ] {cedbcfe4-6457-4857-9413-ba509a1869d2} executeQuery: Code: 47. DB::Exception: Missing columns: 'fromModifiedJulianDayOrNull' while processing query: 'SELECT fromModifiedJulianDayOrNull', required columns: 'fromModifiedJulianDayOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT fromModifiedJulianDayOrNull;) 2026.10.27 19:26:04.286263 [ 5687 ] {cedbcfe4-6457-4857-9413-ba509a1869d2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'fromModifiedJulianDayOrNull' while processing query: 'SELECT fromModifiedJulianDayOrNull', required columns: 'fromModifiedJulianDayOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:04.314963 [ 5687 ] {db9b647a-7f04-496e-ae6d-4f71c37d86ad} executeQuery: Code: 47. DB::Exception: Missing columns: 'fromUTCTimestamp' while processing query: 'SELECT fromUTCTimestamp', required columns: 'fromUTCTimestamp'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT fromUTCTimestamp;) 2026.10.27 19:26:04.317594 [ 5687 ] {db9b647a-7f04-496e-ae6d-4f71c37d86ad} TCPHandler: Code: 47. DB::Exception: Missing columns: 'fromUTCTimestamp' while processing query: 'SELECT fromUTCTimestamp', required columns: 'fromUTCTimestamp'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:04.447513 [ 5687 ] {1c110c50-ff7a-4566-a476-5106587e1ecd} executeQuery: Code: 47. DB::Exception: Missing columns: 'fromUnixTimestamp' while processing query: 'SELECT fromUnixTimestamp', required columns: 'fromUnixTimestamp'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT fromUnixTimestamp;) 2026.10.27 19:26:04.450694 [ 5687 ] {1c110c50-ff7a-4566-a476-5106587e1ecd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'fromUnixTimestamp' while processing query: 'SELECT fromUnixTimestamp', required columns: 'fromUnixTimestamp'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:04.479491 [ 5687 ] {0e03be80-60dc-4fc6-9edb-05b1b241e9af} executeQuery: Code: 47. DB::Exception: Missing columns: 'fromUnixTimestamp64Micro' while processing query: 'SELECT fromUnixTimestamp64Micro', required columns: 'fromUnixTimestamp64Micro'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT fromUnixTimestamp64Micro;) 2026.10.27 19:26:04.482066 [ 5687 ] {0e03be80-60dc-4fc6-9edb-05b1b241e9af} TCPHandler: Code: 47. DB::Exception: Missing columns: 'fromUnixTimestamp64Micro' while processing query: 'SELECT fromUnixTimestamp64Micro', required columns: 'fromUnixTimestamp64Micro'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:04.509661 [ 5687 ] {8d2c463f-1829-43e5-9aae-b668af8c8f35} executeQuery: Code: 47. DB::Exception: Missing columns: 'fromUnixTimestamp64Milli' while processing query: 'SELECT fromUnixTimestamp64Milli', required columns: 'fromUnixTimestamp64Milli'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT fromUnixTimestamp64Milli;) 2026.10.27 19:26:04.511744 [ 5687 ] {8d2c463f-1829-43e5-9aae-b668af8c8f35} TCPHandler: Code: 47. DB::Exception: Missing columns: 'fromUnixTimestamp64Milli' while processing query: 'SELECT fromUnixTimestamp64Milli', required columns: 'fromUnixTimestamp64Milli'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:04.538958 [ 5687 ] {dfc1c6a3-949c-4b9c-b1e4-542d8d7fbb34} executeQuery: Code: 47. DB::Exception: Missing columns: 'fromUnixTimestamp64Nano' while processing query: 'SELECT fromUnixTimestamp64Nano', required columns: 'fromUnixTimestamp64Nano'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT fromUnixTimestamp64Nano;) 2026.10.27 19:26:04.541654 [ 5687 ] {dfc1c6a3-949c-4b9c-b1e4-542d8d7fbb34} TCPHandler: Code: 47. DB::Exception: Missing columns: 'fromUnixTimestamp64Nano' while processing query: 'SELECT fromUnixTimestamp64Nano', required columns: 'fromUnixTimestamp64Nano'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:04.564850 [ 5687 ] {e1902e40-dcbf-452f-87d4-38c97e7a2854} executeQuery: Code: 47. DB::Exception: Missing columns: 'fromUnixTimestampInJodaSyntax' while processing query: 'SELECT fromUnixTimestampInJodaSyntax', required columns: 'fromUnixTimestampInJodaSyntax'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT fromUnixTimestampInJodaSyntax;) 2026.10.27 19:26:04.566348 [ 5687 ] {e1902e40-dcbf-452f-87d4-38c97e7a2854} TCPHandler: Code: 47. DB::Exception: Missing columns: 'fromUnixTimestampInJodaSyntax' while processing query: 'SELECT fromUnixTimestampInJodaSyntax', required columns: 'fromUnixTimestampInJodaSyntax'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:04.594045 [ 5687 ] {197aaea4-ed3c-4242-afe3-ae33a8668304} executeQuery: Code: 47. DB::Exception: Missing columns: 'from_utc_timestamp' while processing query: 'SELECT from_utc_timestamp', required columns: 'from_utc_timestamp'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT from_utc_timestamp;) 2026.10.27 19:26:04.697944 [ 5687 ] {197aaea4-ed3c-4242-afe3-ae33a8668304} TCPHandler: Code: 47. DB::Exception: Missing columns: 'from_utc_timestamp' while processing query: 'SELECT from_utc_timestamp', required columns: 'from_utc_timestamp'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:04.722678 [ 5687 ] {a5def036-0735-4e6f-ab25-2c91fd505edb} executeQuery: Code: 47. DB::Exception: Missing columns: 'fullHostName' while processing query: 'SELECT fullHostName', required columns: 'fullHostName'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT fullHostName;) 2026.10.27 19:26:04.724513 [ 5687 ] {a5def036-0735-4e6f-ab25-2c91fd505edb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'fullHostName' while processing query: 'SELECT fullHostName', required columns: 'fullHostName'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:04.749298 [ 5687 ] {4ef579c7-15a7-4601-a71e-ef3d894568ab} executeQuery: Code: 47. DB::Exception: Missing columns: 'fuzzBits' while processing query: 'SELECT fuzzBits', required columns: 'fuzzBits'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT fuzzBits;) 2026.10.27 19:26:04.750813 [ 5687 ] {4ef579c7-15a7-4601-a71e-ef3d894568ab} TCPHandler: Code: 47. DB::Exception: Missing columns: 'fuzzBits' while processing query: 'SELECT fuzzBits', required columns: 'fuzzBits'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:04.780719 [ 5687 ] {468fc714-3250-4af1-9866-3e578f7df8ee} executeQuery: Code: 47. DB::Exception: Missing columns: 'gccMurmurHash' while processing query: 'SELECT gccMurmurHash', required columns: 'gccMurmurHash'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT gccMurmurHash;) 2026.10.27 19:26:04.783775 [ 5687 ] {468fc714-3250-4af1-9866-3e578f7df8ee} TCPHandler: Code: 47. DB::Exception: Missing columns: 'gccMurmurHash' while processing query: 'SELECT gccMurmurHash', required columns: 'gccMurmurHash'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:04.813344 [ 5687 ] {687bc0c2-29f8-4bcb-a4fa-acacabd65dee} executeQuery: Code: 47. DB::Exception: Missing columns: 'gcd' while processing query: 'SELECT gcd', required columns: 'gcd'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT gcd;) 2026.10.27 19:26:04.816377 [ 5687 ] {687bc0c2-29f8-4bcb-a4fa-acacabd65dee} TCPHandler: Code: 47. DB::Exception: Missing columns: 'gcd' while processing query: 'SELECT gcd', required columns: 'gcd'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:04.946976 [ 5687 ] {7b4e9a73-ab6e-497e-8fad-45f5425e77c3} executeQuery: Code: 47. DB::Exception: Missing columns: 'generateRandomStructure' while processing query: 'SELECT generateRandomStructure', required columns: 'generateRandomStructure'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT generateRandomStructure;) 2026.10.27 19:26:04.950737 [ 5687 ] {7b4e9a73-ab6e-497e-8fad-45f5425e77c3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'generateRandomStructure' while processing query: 'SELECT generateRandomStructure', required columns: 'generateRandomStructure'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:04.984902 [ 5687 ] {10d4ac98-b21e-43ef-8774-40d8d16fe214} executeQuery: Code: 47. DB::Exception: Missing columns: 'generateULID' while processing query: 'SELECT generateULID', required columns: 'generateULID'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT generateULID;) 2026.10.27 19:26:05.090438 [ 5687 ] {10d4ac98-b21e-43ef-8774-40d8d16fe214} TCPHandler: Code: 47. DB::Exception: Missing columns: 'generateULID' while processing query: 'SELECT generateULID', required columns: 'generateULID'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:05.221510 [ 5687 ] {b82217f4-bfcb-4625-a260-c99bf109f0e3} executeQuery: Code: 47. DB::Exception: Missing columns: 'generateUUIDv4' while processing query: 'SELECT generateUUIDv4', required columns: 'generateUUIDv4'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT generateUUIDv4;) 2026.10.27 19:26:05.224584 [ 5687 ] {b82217f4-bfcb-4625-a260-c99bf109f0e3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'generateUUIDv4' while processing query: 'SELECT generateUUIDv4', required columns: 'generateUUIDv4'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:05.254719 [ 5687 ] {9281dbc0-9614-4656-be98-b6f090d9bd5f} executeQuery: Code: 47. DB::Exception: Missing columns: 'geoDistance' while processing query: 'SELECT geoDistance', required columns: 'geoDistance'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT geoDistance;) 2026.10.27 19:26:05.257668 [ 5687 ] {9281dbc0-9614-4656-be98-b6f090d9bd5f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'geoDistance' while processing query: 'SELECT geoDistance', required columns: 'geoDistance'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:05.286165 [ 5687 ] {f8652e62-5049-4faa-8c1c-53691b4ac267} executeQuery: Code: 47. DB::Exception: Missing columns: 'geoToH3' while processing query: 'SELECT geoToH3', required columns: 'geoToH3'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT geoToH3;) 2026.10.27 19:26:05.289035 [ 5687 ] {f8652e62-5049-4faa-8c1c-53691b4ac267} TCPHandler: Code: 47. DB::Exception: Missing columns: 'geoToH3' while processing query: 'SELECT geoToH3', required columns: 'geoToH3'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:05.316620 [ 5687 ] {e6c12c6d-aa3e-427a-9b19-217141fb217c} executeQuery: Code: 47. DB::Exception: Missing columns: 'geoToS2' while processing query: 'SELECT geoToS2', required columns: 'geoToS2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT geoToS2;) 2026.10.27 19:26:05.319042 [ 5687 ] {e6c12c6d-aa3e-427a-9b19-217141fb217c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'geoToS2' while processing query: 'SELECT geoToS2', required columns: 'geoToS2'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:05.333753 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.38 GiB (attempt to allocate chunk of 4209311 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d102e0d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a4a9253 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a4a6542 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c31ce7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c31bbf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:05.333861 [ 4374 ] {bd576a45-febc-4998-a29b-2537124c335a} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 15.00 million, current rows: 17.75 million: While executing MergeTreeThread. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45326) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:05.334142 [ 6141 ] {4eb34d76-32fd-4662-9fef-16c566e9c23b} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 385.84 MiB (attempt to allocate chunk of 1572864 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53184) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::(anonymous namespace)::getBlockSortPermutationImpl(DB::Block const&, DB::SortDescription const&, DB::IColumn::PermutationSortStability, unsigned long, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa25639 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa2460c in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:05.334290 [ 4287 ] {a119ac10-be36-485f-b2b4-f781948b6e06} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1114112 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergeSortingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::ColumnVector::reserve(unsigned long) @ 0x000000003b294b20 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::Chunk DB::MergeSorter::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003ed113f9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003ec34cf3 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergeSorter::read() @ 0x000000003ec1cfa8 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergeSortingTransform.cpp:236: DB::MergeSortingTransform::generate() @ 0x000000003ebf1521 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:354: DB::SortingTransform::work() @ 0x000000003ec2d564 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:05.334477 [ 2237 ] {} 8460cadc-c6b1-435d-a2d7-c00420d93d42::all_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.46 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList const&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&, bool, bool, DB::WriteSettings, DB::MergeTreeIndexGranularity&, void>(std::allocator const&, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList const&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&&, DB::WriteSettings&&, DB::MergeTreeIndexGranularity&) @ 0x000000003d6e183e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::MutateAllPartColumnsTask::prepare() @ 0x000000003d6dc7e3 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:1246: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6d5110 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:1754: DB::MutateTask::execute() @ 0x000000003d6852d2 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MutateFromLogEntryTask.h:44: DB::MutateFromLogEntryTask::executeInnerTask() @ 0x000000003d676226 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000003d79ff82 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000003d79d3c5 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:05.346797 [ 5687 ] {66957d6e-8f29-4579-9d65-9888899b5792} executeQuery: Code: 47. DB::Exception: Missing columns: 'geohashDecode' while processing query: 'SELECT geohashDecode', required columns: 'geohashDecode'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT geohashDecode;) 2026.10.27 19:26:05.350237 [ 5687 ] {66957d6e-8f29-4579-9d65-9888899b5792} TCPHandler: Code: 47. DB::Exception: Missing columns: 'geohashDecode' while processing query: 'SELECT geohashDecode', required columns: 'geohashDecode'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:05.380887 [ 5687 ] {c8ee7668-8c94-4e19-9171-23b403ad734f} executeQuery: Code: 47. DB::Exception: Missing columns: 'geohashEncode' while processing query: 'SELECT geohashEncode', required columns: 'geohashEncode'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT geohashEncode;) 2026.10.27 19:26:05.384158 [ 5687 ] {c8ee7668-8c94-4e19-9171-23b403ad734f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'geohashEncode' while processing query: 'SELECT geohashEncode', required columns: 'geohashEncode'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:05.514725 [ 5687 ] {bdfd28f0-fa6e-4d10-96a6-6f9ca6f1ce8f} executeQuery: Code: 47. DB::Exception: Missing columns: 'geohashesInBox' while processing query: 'SELECT geohashesInBox', required columns: 'geohashesInBox'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT geohashesInBox;) 2026.10.27 19:26:05.517834 [ 5687 ] {bdfd28f0-fa6e-4d10-96a6-6f9ca6f1ce8f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'geohashesInBox' while processing query: 'SELECT geohashesInBox', required columns: 'geohashesInBox'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:05.546558 [ 5687 ] {88cb0d16-c760-40c7-842b-bc9497fa3d43} executeQuery: Code: 47. DB::Exception: Missing columns: 'getMacro' while processing query: 'SELECT getMacro', required columns: 'getMacro'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT getMacro;) 2026.10.27 19:26:05.549437 [ 5687 ] {88cb0d16-c760-40c7-842b-bc9497fa3d43} TCPHandler: Code: 47. DB::Exception: Missing columns: 'getMacro' while processing query: 'SELECT getMacro', required columns: 'getMacro'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:05.678418 [ 5687 ] {dcfb55f8-b89a-46e4-9566-98838c1f5d52} executeQuery: Code: 47. DB::Exception: Missing columns: 'getOSKernelVersion' while processing query: 'SELECT getOSKernelVersion', required columns: 'getOSKernelVersion'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT getOSKernelVersion;) 2026.10.27 19:26:05.682080 [ 5687 ] {dcfb55f8-b89a-46e4-9566-98838c1f5d52} TCPHandler: Code: 47. DB::Exception: Missing columns: 'getOSKernelVersion' while processing query: 'SELECT getOSKernelVersion', required columns: 'getOSKernelVersion'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:05.709448 [ 5687 ] {73a2a638-3f4f-4016-bac4-d7a231872830} executeQuery: Code: 47. DB::Exception: Missing columns: 'getServerPort' while processing query: 'SELECT getServerPort', required columns: 'getServerPort'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT getServerPort;) 2026.10.27 19:26:05.712621 [ 5687 ] {73a2a638-3f4f-4016-bac4-d7a231872830} TCPHandler: Code: 47. DB::Exception: Missing columns: 'getServerPort' while processing query: 'SELECT getServerPort', required columns: 'getServerPort'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:05.740179 [ 5687 ] {2233a5d5-c713-4778-8df5-dfc78034d78d} executeQuery: Code: 47. DB::Exception: Missing columns: 'getSetting' while processing query: 'SELECT getSetting', required columns: 'getSetting'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT getSetting;) 2026.10.27 19:26:05.743339 [ 5687 ] {2233a5d5-c713-4778-8df5-dfc78034d78d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'getSetting' while processing query: 'SELECT getSetting', required columns: 'getSetting'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:05.764744 [ 5687 ] {bfc33837-1ebc-4f80-ae71-f639a819a56a} executeQuery: Code: 47. DB::Exception: Missing columns: 'getSizeOfEnumType' while processing query: 'SELECT getSizeOfEnumType', required columns: 'getSizeOfEnumType'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT getSizeOfEnumType;) 2026.10.27 19:26:05.767933 [ 5687 ] {bfc33837-1ebc-4f80-ae71-f639a819a56a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'getSizeOfEnumType' while processing query: 'SELECT getSizeOfEnumType', required columns: 'getSizeOfEnumType'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:05.790270 [ 5687 ] {375f46a0-e7dc-49f9-84d3-b6ad17c860e6} executeQuery: Code: 47. DB::Exception: Missing columns: 'getSubcolumn' while processing query: 'SELECT getSubcolumn', required columns: 'getSubcolumn'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT getSubcolumn;) 2026.10.27 19:26:05.792820 [ 5687 ] {375f46a0-e7dc-49f9-84d3-b6ad17c860e6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'getSubcolumn' while processing query: 'SELECT getSubcolumn', required columns: 'getSubcolumn'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:06.014055 [ 5687 ] {f17b41cc-c15b-4be2-bda2-4e15fc776c78} executeQuery: Code: 47. DB::Exception: Missing columns: 'getTypeSerializationStreams' while processing query: 'SELECT getTypeSerializationStreams', required columns: 'getTypeSerializationStreams'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT getTypeSerializationStreams;) 2026.10.27 19:26:06.017033 [ 5687 ] {f17b41cc-c15b-4be2-bda2-4e15fc776c78} TCPHandler: Code: 47. DB::Exception: Missing columns: 'getTypeSerializationStreams' while processing query: 'SELECT getTypeSerializationStreams', required columns: 'getTypeSerializationStreams'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:06.149363 [ 5687 ] {36a8601d-bfd1-4453-a7ad-937be5d786c2} executeQuery: Code: 47. DB::Exception: Missing columns: 'globalIn' while processing query: 'SELECT globalIn', required columns: 'globalIn'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT globalIn;) 2026.10.27 19:26:06.152530 [ 5687 ] {36a8601d-bfd1-4453-a7ad-937be5d786c2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'globalIn' while processing query: 'SELECT globalIn', required columns: 'globalIn'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:06.184306 [ 5687 ] {ba6a9796-7a6a-4706-9e22-041905a582fa} executeQuery: Code: 47. DB::Exception: Missing columns: 'globalInIgnoreSet' while processing query: 'SELECT globalInIgnoreSet', required columns: 'globalInIgnoreSet'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT globalInIgnoreSet;) 2026.10.27 19:26:06.187142 [ 5687 ] {ba6a9796-7a6a-4706-9e22-041905a582fa} TCPHandler: Code: 47. DB::Exception: Missing columns: 'globalInIgnoreSet' while processing query: 'SELECT globalInIgnoreSet', required columns: 'globalInIgnoreSet'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:06.315436 [ 5687 ] {b45f66d2-659d-4030-8d0c-e7365ae377d2} executeQuery: Code: 47. DB::Exception: Missing columns: 'globalNotIn' while processing query: 'SELECT globalNotIn', required columns: 'globalNotIn'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT globalNotIn;) 2026.10.27 19:26:06.318474 [ 5687 ] {b45f66d2-659d-4030-8d0c-e7365ae377d2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'globalNotIn' while processing query: 'SELECT globalNotIn', required columns: 'globalNotIn'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:06.441358 [ 5687 ] {867135a2-206e-4ee6-8b84-2377e287e33e} executeQuery: Code: 47. DB::Exception: Missing columns: 'globalNotInIgnoreSet' while processing query: 'SELECT globalNotInIgnoreSet', required columns: 'globalNotInIgnoreSet'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT globalNotInIgnoreSet;) 2026.10.27 19:26:06.444689 [ 5687 ] {867135a2-206e-4ee6-8b84-2377e287e33e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'globalNotInIgnoreSet' while processing query: 'SELECT globalNotInIgnoreSet', required columns: 'globalNotInIgnoreSet'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:06.473897 [ 5687 ] {8d5c2cdf-8551-4462-8894-12b22d72011f} executeQuery: Code: 47. DB::Exception: Missing columns: 'globalNotNullIn' while processing query: 'SELECT globalNotNullIn', required columns: 'globalNotNullIn'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT globalNotNullIn;) 2026.10.27 19:26:06.476743 [ 5687 ] {8d5c2cdf-8551-4462-8894-12b22d72011f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'globalNotNullIn' while processing query: 'SELECT globalNotNullIn', required columns: 'globalNotNullIn'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:06.506276 [ 5687 ] {71ece62f-c729-4a02-84f4-8be565ea3a92} executeQuery: Code: 47. DB::Exception: Missing columns: 'globalNotNullInIgnoreSet' while processing query: 'SELECT globalNotNullInIgnoreSet', required columns: 'globalNotNullInIgnoreSet'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT globalNotNullInIgnoreSet;) 2026.10.27 19:26:06.509602 [ 5687 ] {71ece62f-c729-4a02-84f4-8be565ea3a92} TCPHandler: Code: 47. DB::Exception: Missing columns: 'globalNotNullInIgnoreSet' while processing query: 'SELECT globalNotNullInIgnoreSet', required columns: 'globalNotNullInIgnoreSet'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:06.536393 [ 5687 ] {30c06d29-be54-4bff-bb63-87274a767395} executeQuery: Code: 47. DB::Exception: Missing columns: 'globalNullIn' while processing query: 'SELECT globalNullIn', required columns: 'globalNullIn'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT globalNullIn;) 2026.10.27 19:26:06.538739 [ 5687 ] {30c06d29-be54-4bff-bb63-87274a767395} TCPHandler: Code: 47. DB::Exception: Missing columns: 'globalNullIn' while processing query: 'SELECT globalNullIn', required columns: 'globalNullIn'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:06.565817 [ 5687 ] {6cde103b-833e-4887-8331-35229a479573} executeQuery: Code: 47. DB::Exception: Missing columns: 'globalNullInIgnoreSet' while processing query: 'SELECT globalNullInIgnoreSet', required columns: 'globalNullInIgnoreSet'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT globalNullInIgnoreSet;) 2026.10.27 19:26:06.568461 [ 5687 ] {6cde103b-833e-4887-8331-35229a479573} TCPHandler: Code: 47. DB::Exception: Missing columns: 'globalNullInIgnoreSet' while processing query: 'SELECT globalNullInIgnoreSet', required columns: 'globalNullInIgnoreSet'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:06.596536 [ 5687 ] {9664d59d-6761-4b5f-8abe-dd5ff2be481e} executeQuery: Code: 47. DB::Exception: Missing columns: 'globalVariable' while processing query: 'SELECT globalVariable', required columns: 'globalVariable'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT globalVariable;) 2026.10.27 19:26:06.598936 [ 5687 ] {9664d59d-6761-4b5f-8abe-dd5ff2be481e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'globalVariable' while processing query: 'SELECT globalVariable', required columns: 'globalVariable'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:06.630400 [ 5687 ] {13667684-857a-45d0-8094-954e890a6460} executeQuery: Code: 47. DB::Exception: Missing columns: 'greatCircleAngle' while processing query: 'SELECT greatCircleAngle', required columns: 'greatCircleAngle'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT greatCircleAngle;) 2026.10.27 19:26:06.633423 [ 5687 ] {13667684-857a-45d0-8094-954e890a6460} TCPHandler: Code: 47. DB::Exception: Missing columns: 'greatCircleAngle' while processing query: 'SELECT greatCircleAngle', required columns: 'greatCircleAngle'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:06.664486 [ 5687 ] {cd274423-7c38-4719-a861-50d7a0231498} executeQuery: Code: 47. DB::Exception: Missing columns: 'greatCircleDistance' while processing query: 'SELECT greatCircleDistance', required columns: 'greatCircleDistance'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT greatCircleDistance;) 2026.10.27 19:26:06.667437 [ 5687 ] {cd274423-7c38-4719-a861-50d7a0231498} TCPHandler: Code: 47. DB::Exception: Missing columns: 'greatCircleDistance' while processing query: 'SELECT greatCircleDistance', required columns: 'greatCircleDistance'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:06.697056 [ 5687 ] {0f16962b-3ebc-4502-a2fd-37140f66e1d3} executeQuery: Code: 47. DB::Exception: Missing columns: 'greater' while processing query: 'SELECT greater', required columns: 'greater'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT greater;) 2026.10.27 19:26:06.699890 [ 5687 ] {0f16962b-3ebc-4502-a2fd-37140f66e1d3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'greater' while processing query: 'SELECT greater', required columns: 'greater'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:06.730444 [ 5687 ] {e4c90d77-a596-4698-9acf-b83239399398} executeQuery: Code: 47. DB::Exception: Missing columns: 'greaterOrEquals' while processing query: 'SELECT greaterOrEquals', required columns: 'greaterOrEquals'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT greaterOrEquals;) 2026.10.27 19:26:06.733980 [ 5687 ] {e4c90d77-a596-4698-9acf-b83239399398} TCPHandler: Code: 47. DB::Exception: Missing columns: 'greaterOrEquals' while processing query: 'SELECT greaterOrEquals', required columns: 'greaterOrEquals'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:06.763016 [ 5687 ] {d89d00fe-0f0f-420a-a281-480fd95820f6} executeQuery: Code: 47. DB::Exception: Missing columns: 'greatest' while processing query: 'SELECT greatest', required columns: 'greatest'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT greatest;) 2026.10.27 19:26:06.766911 [ 5687 ] {d89d00fe-0f0f-420a-a281-480fd95820f6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'greatest' while processing query: 'SELECT greatest', required columns: 'greatest'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:06.898971 [ 5687 ] {16b70c4d-700c-4978-8c84-a634cc9ae7df} executeQuery: Code: 47. DB::Exception: Missing columns: 'groupArray' while processing query: 'SELECT groupArray', required columns: 'groupArray'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT groupArray;) 2026.10.27 19:26:06.902226 [ 5687 ] {16b70c4d-700c-4978-8c84-a634cc9ae7df} TCPHandler: Code: 47. DB::Exception: Missing columns: 'groupArray' while processing query: 'SELECT groupArray', required columns: 'groupArray'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:07.014751 [ 5687 ] {b3163d0d-e049-415f-8598-279d813677d6} executeQuery: Code: 47. DB::Exception: Missing columns: 'groupArrayInsertAt' while processing query: 'SELECT groupArrayInsertAt', required columns: 'groupArrayInsertAt'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT groupArrayInsertAt;) 2026.10.27 19:26:07.016572 [ 5687 ] {b3163d0d-e049-415f-8598-279d813677d6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'groupArrayInsertAt' while processing query: 'SELECT groupArrayInsertAt', required columns: 'groupArrayInsertAt'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:07.047795 [ 5687 ] {ed9063a0-5805-4785-8c5d-f13fe22c4364} executeQuery: Code: 47. DB::Exception: Missing columns: 'groupArrayLast' while processing query: 'SELECT groupArrayLast', required columns: 'groupArrayLast'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT groupArrayLast;) 2026.10.27 19:26:07.051425 [ 5687 ] {ed9063a0-5805-4785-8c5d-f13fe22c4364} TCPHandler: Code: 47. DB::Exception: Missing columns: 'groupArrayLast' while processing query: 'SELECT groupArrayLast', required columns: 'groupArrayLast'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:07.181378 [ 5687 ] {1cdcd26d-5723-491d-aa1b-cec161e70979} executeQuery: Code: 47. DB::Exception: Missing columns: 'groupArrayMovingAvg' while processing query: 'SELECT groupArrayMovingAvg', required columns: 'groupArrayMovingAvg'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT groupArrayMovingAvg;) 2026.10.27 19:26:07.184887 [ 5687 ] {1cdcd26d-5723-491d-aa1b-cec161e70979} TCPHandler: Code: 47. DB::Exception: Missing columns: 'groupArrayMovingAvg' while processing query: 'SELECT groupArrayMovingAvg', required columns: 'groupArrayMovingAvg'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:07.213131 [ 5687 ] {2d5914e8-c719-4fa7-9adc-e7250dda1e5d} executeQuery: Code: 47. DB::Exception: Missing columns: 'groupArrayMovingSum' while processing query: 'SELECT groupArrayMovingSum', required columns: 'groupArrayMovingSum'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT groupArrayMovingSum;) 2026.10.27 19:26:07.215800 [ 5687 ] {2d5914e8-c719-4fa7-9adc-e7250dda1e5d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'groupArrayMovingSum' while processing query: 'SELECT groupArrayMovingSum', required columns: 'groupArrayMovingSum'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:07.245413 [ 5687 ] {403ad1d6-6b52-4c7b-b8d0-c8f085fa2242} executeQuery: Code: 47. DB::Exception: Missing columns: 'groupArraySample' while processing query: 'SELECT groupArraySample', required columns: 'groupArraySample'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT groupArraySample;) 2026.10.27 19:26:07.248373 [ 5687 ] {403ad1d6-6b52-4c7b-b8d0-c8f085fa2242} TCPHandler: Code: 47. DB::Exception: Missing columns: 'groupArraySample' while processing query: 'SELECT groupArraySample', required columns: 'groupArraySample'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:07.470399 [ 5687 ] {69e3592f-136f-4676-bf1c-12781e5cc428} executeQuery: Code: 47. DB::Exception: Missing columns: 'groupBitAnd' while processing query: 'SELECT groupBitAnd', required columns: 'groupBitAnd'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT groupBitAnd;) 2026.10.27 19:26:07.473284 [ 5687 ] {69e3592f-136f-4676-bf1c-12781e5cc428} TCPHandler: Code: 47. DB::Exception: Missing columns: 'groupBitAnd' while processing query: 'SELECT groupBitAnd', required columns: 'groupBitAnd'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:07.503941 [ 5687 ] {ba1b4ed7-f971-4f53-8980-f1f11a17f590} executeQuery: Code: 47. DB::Exception: Missing columns: 'groupBitOr' while processing query: 'SELECT groupBitOr', required columns: 'groupBitOr'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT groupBitOr;) 2026.10.27 19:26:07.507141 [ 5687 ] {ba1b4ed7-f971-4f53-8980-f1f11a17f590} TCPHandler: Code: 47. DB::Exception: Missing columns: 'groupBitOr' while processing query: 'SELECT groupBitOr', required columns: 'groupBitOr'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:07.538390 [ 5687 ] {e17f2e24-112a-4ad1-b397-dfff0b706883} executeQuery: Code: 47. DB::Exception: Missing columns: 'groupBitXor' while processing query: 'SELECT groupBitXor', required columns: 'groupBitXor'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT groupBitXor;) 2026.10.27 19:26:07.541688 [ 5687 ] {e17f2e24-112a-4ad1-b397-dfff0b706883} TCPHandler: Code: 47. DB::Exception: Missing columns: 'groupBitXor' while processing query: 'SELECT groupBitXor', required columns: 'groupBitXor'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:07.571939 [ 5687 ] {2840222a-bc2a-454b-8f7a-e48cef2966b6} executeQuery: Code: 47. DB::Exception: Missing columns: 'groupBitmap' while processing query: 'SELECT groupBitmap', required columns: 'groupBitmap'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT groupBitmap;) 2026.10.27 19:26:07.574795 [ 5687 ] {2840222a-bc2a-454b-8f7a-e48cef2966b6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'groupBitmap' while processing query: 'SELECT groupBitmap', required columns: 'groupBitmap'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:07.604418 [ 5687 ] {e1c72e36-fce1-420a-83ed-68e2bcca626d} executeQuery: Code: 47. DB::Exception: Missing columns: 'groupBitmapAnd' while processing query: 'SELECT groupBitmapAnd', required columns: 'groupBitmapAnd'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT groupBitmapAnd;) 2026.10.27 19:26:07.607235 [ 5687 ] {e1c72e36-fce1-420a-83ed-68e2bcca626d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'groupBitmapAnd' while processing query: 'SELECT groupBitmapAnd', required columns: 'groupBitmapAnd'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:07.636696 [ 5687 ] {56f00f79-790a-46b0-97d9-3e2ae839a3d8} executeQuery: Code: 47. DB::Exception: Missing columns: 'groupBitmapOr' while processing query: 'SELECT groupBitmapOr', required columns: 'groupBitmapOr'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT groupBitmapOr;) 2026.10.27 19:26:07.639681 [ 5687 ] {56f00f79-790a-46b0-97d9-3e2ae839a3d8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'groupBitmapOr' while processing query: 'SELECT groupBitmapOr', required columns: 'groupBitmapOr'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:07.668892 [ 5687 ] {f321d5db-b211-4bd6-a228-e8cb4ea4864a} executeQuery: Code: 47. DB::Exception: Missing columns: 'groupBitmapXor' while processing query: 'SELECT groupBitmapXor', required columns: 'groupBitmapXor'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT groupBitmapXor;) 2026.10.27 19:26:07.671616 [ 5687 ] {f321d5db-b211-4bd6-a228-e8cb4ea4864a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'groupBitmapXor' while processing query: 'SELECT groupBitmapXor', required columns: 'groupBitmapXor'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:07.890391 [ 5687 ] {a13588f8-09ef-4499-ae58-300c299c1382} executeQuery: Code: 47. DB::Exception: Missing columns: 'groupUniqArray' while processing query: 'SELECT groupUniqArray', required columns: 'groupUniqArray'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT groupUniqArray;) 2026.10.27 19:26:07.893829 [ 5687 ] {a13588f8-09ef-4499-ae58-300c299c1382} TCPHandler: Code: 47. DB::Exception: Missing columns: 'groupUniqArray' while processing query: 'SELECT groupUniqArray', required columns: 'groupUniqArray'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:07.923745 [ 5687 ] {98925b3c-6938-48de-bd08-32aa62987327} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3CellAreaM2' while processing query: 'SELECT h3CellAreaM2', required columns: 'h3CellAreaM2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3CellAreaM2;) 2026.10.27 19:26:07.926625 [ 5687 ] {98925b3c-6938-48de-bd08-32aa62987327} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3CellAreaM2' while processing query: 'SELECT h3CellAreaM2', required columns: 'h3CellAreaM2'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:08.057295 [ 5687 ] {8f566625-2d9e-416e-a0da-55b1cdb337a0} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3CellAreaRads2' while processing query: 'SELECT h3CellAreaRads2', required columns: 'h3CellAreaRads2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3CellAreaRads2;) 2026.10.27 19:26:08.061259 [ 5687 ] {8f566625-2d9e-416e-a0da-55b1cdb337a0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3CellAreaRads2' while processing query: 'SELECT h3CellAreaRads2', required columns: 'h3CellAreaRads2'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:08.091855 [ 5687 ] {b9ebce11-48cf-4104-8fe6-c5731e5aaa40} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3Distance' while processing query: 'SELECT h3Distance', required columns: 'h3Distance'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3Distance;) 2026.10.27 19:26:08.095171 [ 5687 ] {b9ebce11-48cf-4104-8fe6-c5731e5aaa40} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3Distance' while processing query: 'SELECT h3Distance', required columns: 'h3Distance'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:08.326445 [ 5687 ] {72084386-4651-44b4-a7f2-00b92305cff2} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3EdgeAngle' while processing query: 'SELECT h3EdgeAngle', required columns: 'h3EdgeAngle'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3EdgeAngle;) 2026.10.27 19:26:08.329757 [ 5687 ] {72084386-4651-44b4-a7f2-00b92305cff2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3EdgeAngle' while processing query: 'SELECT h3EdgeAngle', required columns: 'h3EdgeAngle'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:08.460634 [ 5687 ] {62c98f9e-1cc8-42c5-8989-57fbafae2d21} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3EdgeLengthKm' while processing query: 'SELECT h3EdgeLengthKm', required columns: 'h3EdgeLengthKm'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3EdgeLengthKm;) 2026.10.27 19:26:08.463863 [ 5687 ] {62c98f9e-1cc8-42c5-8989-57fbafae2d21} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3EdgeLengthKm' while processing query: 'SELECT h3EdgeLengthKm', required columns: 'h3EdgeLengthKm'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:08.494018 [ 5687 ] {2637b18c-c04e-486a-9b03-bee87cca6064} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3EdgeLengthM' while processing query: 'SELECT h3EdgeLengthM', required columns: 'h3EdgeLengthM'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3EdgeLengthM;) 2026.10.27 19:26:08.597656 [ 5687 ] {2637b18c-c04e-486a-9b03-bee87cca6064} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3EdgeLengthM' while processing query: 'SELECT h3EdgeLengthM', required columns: 'h3EdgeLengthM'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:08.726565 [ 5687 ] {a55d6ed4-f557-4f46-b4cf-b0a9b9f274dd} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3ExactEdgeLengthKm' while processing query: 'SELECT h3ExactEdgeLengthKm', required columns: 'h3ExactEdgeLengthKm'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3ExactEdgeLengthKm;) 2026.10.27 19:26:08.729536 [ 5687 ] {a55d6ed4-f557-4f46-b4cf-b0a9b9f274dd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3ExactEdgeLengthKm' while processing query: 'SELECT h3ExactEdgeLengthKm', required columns: 'h3ExactEdgeLengthKm'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:08.758155 [ 5687 ] {df45a30b-d22b-413c-a9db-6e82609086be} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3ExactEdgeLengthM' while processing query: 'SELECT h3ExactEdgeLengthM', required columns: 'h3ExactEdgeLengthM'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3ExactEdgeLengthM;) 2026.10.27 19:26:08.760981 [ 5687 ] {df45a30b-d22b-413c-a9db-6e82609086be} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3ExactEdgeLengthM' while processing query: 'SELECT h3ExactEdgeLengthM', required columns: 'h3ExactEdgeLengthM'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:08.789521 [ 5687 ] {b6e19a84-49b5-4687-b836-a92052463b02} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3ExactEdgeLengthRads' while processing query: 'SELECT h3ExactEdgeLengthRads', required columns: 'h3ExactEdgeLengthRads'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3ExactEdgeLengthRads;) 2026.10.27 19:26:08.792662 [ 5687 ] {b6e19a84-49b5-4687-b836-a92052463b02} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3ExactEdgeLengthRads' while processing query: 'SELECT h3ExactEdgeLengthRads', required columns: 'h3ExactEdgeLengthRads'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:08.821833 [ 5687 ] {3f209fbf-38f6-4c00-9689-b8ccce1c1e21} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3GetBaseCell' while processing query: 'SELECT h3GetBaseCell', required columns: 'h3GetBaseCell'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3GetBaseCell;) 2026.10.27 19:26:08.824744 [ 5687 ] {3f209fbf-38f6-4c00-9689-b8ccce1c1e21} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3GetBaseCell' while processing query: 'SELECT h3GetBaseCell', required columns: 'h3GetBaseCell'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:08.852929 [ 5687 ] {051208d2-f2ea-4df4-9da1-ebe746360d73} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3GetDestinationIndexFromUnidirectionalEdge' while processing query: 'SELECT h3GetDestinationIndexFromUnidirectionalEdge', required columns: 'h3GetDestinationIndexFromUnidirectionalEdge'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3GetDestinationIndexFromUnidirectionalEdge;) 2026.10.27 19:26:08.855597 [ 5687 ] {051208d2-f2ea-4df4-9da1-ebe746360d73} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3GetDestinationIndexFromUnidirectionalEdge' while processing query: 'SELECT h3GetDestinationIndexFromUnidirectionalEdge', required columns: 'h3GetDestinationIndexFromUnidirectionalEdge'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:08.885639 [ 5687 ] {f46f56a5-6e00-4640-8ab1-091e24361471} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3GetFaces' while processing query: 'SELECT h3GetFaces', required columns: 'h3GetFaces'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3GetFaces;) 2026.10.27 19:26:08.888782 [ 5687 ] {f46f56a5-6e00-4640-8ab1-091e24361471} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3GetFaces' while processing query: 'SELECT h3GetFaces', required columns: 'h3GetFaces'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:09.018711 [ 5687 ] {85e48510-1aeb-43aa-b7f1-671928c82f8c} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3GetIndexesFromUnidirectionalEdge' while processing query: 'SELECT h3GetIndexesFromUnidirectionalEdge', required columns: 'h3GetIndexesFromUnidirectionalEdge'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3GetIndexesFromUnidirectionalEdge;) 2026.10.27 19:26:09.022181 [ 5687 ] {85e48510-1aeb-43aa-b7f1-671928c82f8c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3GetIndexesFromUnidirectionalEdge' while processing query: 'SELECT h3GetIndexesFromUnidirectionalEdge', required columns: 'h3GetIndexesFromUnidirectionalEdge'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:09.051599 [ 5687 ] {64d669f0-4a58-4a2f-84c7-2eb588a02bcc} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3GetOriginIndexFromUnidirectionalEdge' while processing query: 'SELECT h3GetOriginIndexFromUnidirectionalEdge', required columns: 'h3GetOriginIndexFromUnidirectionalEdge'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3GetOriginIndexFromUnidirectionalEdge;) 2026.10.27 19:26:09.054741 [ 5687 ] {64d669f0-4a58-4a2f-84c7-2eb588a02bcc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3GetOriginIndexFromUnidirectionalEdge' while processing query: 'SELECT h3GetOriginIndexFromUnidirectionalEdge', required columns: 'h3GetOriginIndexFromUnidirectionalEdge'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:09.172448 [ 5687 ] {b729a674-ec9a-49e6-b893-399f916d09c0} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3GetPentagonIndexes' while processing query: 'SELECT h3GetPentagonIndexes', required columns: 'h3GetPentagonIndexes'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3GetPentagonIndexes;) 2026.10.27 19:26:09.175495 [ 5687 ] {b729a674-ec9a-49e6-b893-399f916d09c0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3GetPentagonIndexes' while processing query: 'SELECT h3GetPentagonIndexes', required columns: 'h3GetPentagonIndexes'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:09.204643 [ 5687 ] {36e4dca8-aa9a-4b7d-b75c-ed5c0f28dc69} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3GetRes0Indexes' while processing query: 'SELECT h3GetRes0Indexes', required columns: 'h3GetRes0Indexes'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3GetRes0Indexes;) 2026.10.27 19:26:09.207268 [ 5687 ] {36e4dca8-aa9a-4b7d-b75c-ed5c0f28dc69} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3GetRes0Indexes' while processing query: 'SELECT h3GetRes0Indexes', required columns: 'h3GetRes0Indexes'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:09.235365 [ 5687 ] {ced2046b-e078-439f-9d2c-a305857f327c} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3GetResolution' while processing query: 'SELECT h3GetResolution', required columns: 'h3GetResolution'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3GetResolution;) 2026.10.27 19:26:09.238359 [ 5687 ] {ced2046b-e078-439f-9d2c-a305857f327c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3GetResolution' while processing query: 'SELECT h3GetResolution', required columns: 'h3GetResolution'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:09.267431 [ 5687 ] {2ff7b151-7eda-41fc-a32c-79b6cf1982f5} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3GetUnidirectionalEdge' while processing query: 'SELECT h3GetUnidirectionalEdge', required columns: 'h3GetUnidirectionalEdge'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3GetUnidirectionalEdge;) 2026.10.27 19:26:09.371180 [ 5687 ] {2ff7b151-7eda-41fc-a32c-79b6cf1982f5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3GetUnidirectionalEdge' while processing query: 'SELECT h3GetUnidirectionalEdge', required columns: 'h3GetUnidirectionalEdge'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:09.601478 [ 5687 ] {a40933d7-acd5-4f32-907c-02c2832c2740} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3GetUnidirectionalEdgeBoundary' while processing query: 'SELECT h3GetUnidirectionalEdgeBoundary', required columns: 'h3GetUnidirectionalEdgeBoundary'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3GetUnidirectionalEdgeBoundary;) 2026.10.27 19:26:09.705251 [ 5687 ] {a40933d7-acd5-4f32-907c-02c2832c2740} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3GetUnidirectionalEdgeBoundary' while processing query: 'SELECT h3GetUnidirectionalEdgeBoundary', required columns: 'h3GetUnidirectionalEdgeBoundary'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:09.735576 [ 5687 ] {c92a37d3-877d-46b6-8d77-6ac629ab6490} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3GetUnidirectionalEdgesFromHexagon' while processing query: 'SELECT h3GetUnidirectionalEdgesFromHexagon', required columns: 'h3GetUnidirectionalEdgesFromHexagon'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3GetUnidirectionalEdgesFromHexagon;) 2026.10.27 19:26:09.738761 [ 5687 ] {c92a37d3-877d-46b6-8d77-6ac629ab6490} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3GetUnidirectionalEdgesFromHexagon' while processing query: 'SELECT h3GetUnidirectionalEdgesFromHexagon', required columns: 'h3GetUnidirectionalEdgesFromHexagon'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:09.767914 [ 5687 ] {4639f0bd-2ace-4daa-a88c-6d125b8f3b5f} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3HexAreaKm2' while processing query: 'SELECT h3HexAreaKm2', required columns: 'h3HexAreaKm2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3HexAreaKm2;) 2026.10.27 19:26:09.771039 [ 5687 ] {4639f0bd-2ace-4daa-a88c-6d125b8f3b5f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3HexAreaKm2' while processing query: 'SELECT h3HexAreaKm2', required columns: 'h3HexAreaKm2'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:09.889167 [ 5687 ] {8a866f04-744e-47a5-b75d-653f764a9dc8} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3HexAreaM2' while processing query: 'SELECT h3HexAreaM2', required columns: 'h3HexAreaM2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3HexAreaM2;) 2026.10.27 19:26:09.891995 [ 5687 ] {8a866f04-744e-47a5-b75d-653f764a9dc8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3HexAreaM2' while processing query: 'SELECT h3HexAreaM2', required columns: 'h3HexAreaM2'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:09.922949 [ 5687 ] {bd10e11c-2526-4423-bbf7-84bcd39e9c61} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3HexRing' while processing query: 'SELECT h3HexRing', required columns: 'h3HexRing'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3HexRing;) 2026.10.27 19:26:09.925859 [ 5687 ] {bd10e11c-2526-4423-bbf7-84bcd39e9c61} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3HexRing' while processing query: 'SELECT h3HexRing', required columns: 'h3HexRing'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:09.954392 [ 5687 ] {5a5e9088-1e1a-412b-88ca-56e254a892ca} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3IndexesAreNeighbors' while processing query: 'SELECT h3IndexesAreNeighbors', required columns: 'h3IndexesAreNeighbors'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3IndexesAreNeighbors;) 2026.10.27 19:26:09.957236 [ 5687 ] {5a5e9088-1e1a-412b-88ca-56e254a892ca} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3IndexesAreNeighbors' while processing query: 'SELECT h3IndexesAreNeighbors', required columns: 'h3IndexesAreNeighbors'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:09.985026 [ 5687 ] {10b4684c-1a6b-4cfe-9d48-a524aef4d2e9} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3IsPentagon' while processing query: 'SELECT h3IsPentagon', required columns: 'h3IsPentagon'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3IsPentagon;) 2026.10.27 19:26:09.987843 [ 5687 ] {10b4684c-1a6b-4cfe-9d48-a524aef4d2e9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3IsPentagon' while processing query: 'SELECT h3IsPentagon', required columns: 'h3IsPentagon'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:10.017296 [ 5687 ] {eb9ce84f-6ffb-40c0-ab87-5ddd050bec48} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3IsResClassIII' while processing query: 'SELECT h3IsResClassIII', required columns: 'h3IsResClassIII'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3IsResClassIII;) 2026.10.27 19:26:10.020507 [ 5687 ] {eb9ce84f-6ffb-40c0-ab87-5ddd050bec48} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3IsResClassIII' while processing query: 'SELECT h3IsResClassIII', required columns: 'h3IsResClassIII'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:10.039919 [ 2292 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::PartLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 4233151 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d102e0d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a401a53 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3fed42 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c27d07 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c27bdf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:10.039982 [ 2350 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::AsynchronousMetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 4278134 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3b72d3 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3b47b2 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c23847 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:10.051327 [ 5687 ] {ab39a8c8-67bb-4669-ad1a-01dda4f3a247} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3IsValid' while processing query: 'SELECT h3IsValid', required columns: 'h3IsValid'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3IsValid;) 2026.10.27 19:26:10.055202 [ 5687 ] {ab39a8c8-67bb-4669-ad1a-01dda4f3a247} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3IsValid' while processing query: 'SELECT h3IsValid', required columns: 'h3IsValid'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:10.091253 [ 5687 ] {1de8b6c9-becf-4763-aca9-bbe838268997} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3Line' while processing query: 'SELECT h3Line', required columns: 'h3Line'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3Line;) 2026.10.27 19:26:10.095546 [ 5687 ] {1de8b6c9-becf-4763-aca9-bbe838268997} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3Line' while processing query: 'SELECT h3Line', required columns: 'h3Line'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:10.125156 [ 5687 ] {1f600c57-c808-4031-abe8-3dcfdbe5c188} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3NumHexagons' while processing query: 'SELECT h3NumHexagons', required columns: 'h3NumHexagons'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3NumHexagons;) 2026.10.27 19:26:10.128227 [ 5687 ] {1f600c57-c808-4031-abe8-3dcfdbe5c188} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3NumHexagons' while processing query: 'SELECT h3NumHexagons', required columns: 'h3NumHexagons'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:10.141055 [ 2231 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_1_71_11}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.38 GiB (attempt to allocate chunk of 1256095 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:87: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13f899 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:10.157219 [ 5687 ] {a16f491f-a7bc-4a01-b5d9-ae765ee6e910} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3PointDistKm' while processing query: 'SELECT h3PointDistKm', required columns: 'h3PointDistKm'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3PointDistKm;) 2026.10.27 19:26:10.160003 [ 5687 ] {a16f491f-a7bc-4a01-b5d9-ae765ee6e910} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3PointDistKm' while processing query: 'SELECT h3PointDistKm', required columns: 'h3PointDistKm'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:10.187472 [ 5687 ] {e3b266d5-8df7-486f-bff8-471d127b833f} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3PointDistM' while processing query: 'SELECT h3PointDistM', required columns: 'h3PointDistM'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3PointDistM;) 2026.10.27 19:26:10.190152 [ 5687 ] {e3b266d5-8df7-486f-bff8-471d127b833f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3PointDistM' while processing query: 'SELECT h3PointDistM', required columns: 'h3PointDistM'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:10.220974 [ 5687 ] {7c089b68-9147-4f6a-ad33-f7d554e7618f} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3PointDistRads' while processing query: 'SELECT h3PointDistRads', required columns: 'h3PointDistRads'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3PointDistRads;) 2026.10.27 19:26:10.223692 [ 5687 ] {7c089b68-9147-4f6a-ad33-f7d554e7618f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3PointDistRads' while processing query: 'SELECT h3PointDistRads', required columns: 'h3PointDistRads'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:10.354893 [ 5687 ] {0a801d44-0b88-45ae-9037-a503b1b19534} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3ToCenterChild' while processing query: 'SELECT h3ToCenterChild', required columns: 'h3ToCenterChild'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3ToCenterChild;) 2026.10.27 19:26:10.358265 [ 5687 ] {0a801d44-0b88-45ae-9037-a503b1b19534} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3ToCenterChild' while processing query: 'SELECT h3ToCenterChild', required columns: 'h3ToCenterChild'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:10.489568 [ 5687 ] {8adc8352-7628-4d46-8cf3-4a3b100d6379} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3ToChildren' while processing query: 'SELECT h3ToChildren', required columns: 'h3ToChildren'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3ToChildren;) 2026.10.27 19:26:10.491868 [ 5687 ] {8adc8352-7628-4d46-8cf3-4a3b100d6379} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3ToChildren' while processing query: 'SELECT h3ToChildren', required columns: 'h3ToChildren'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:10.619031 [ 5687 ] {5b9782a5-54b9-4970-a46f-6c89ef6c3ea6} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3ToGeo' while processing query: 'SELECT h3ToGeo', required columns: 'h3ToGeo'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3ToGeo;) 2026.10.27 19:26:10.622381 [ 5687 ] {5b9782a5-54b9-4970-a46f-6c89ef6c3ea6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3ToGeo' while processing query: 'SELECT h3ToGeo', required columns: 'h3ToGeo'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:10.654183 [ 5687 ] {07f21067-d8b5-4d7b-bd17-f7549e219053} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3ToGeoBoundary' while processing query: 'SELECT h3ToGeoBoundary', required columns: 'h3ToGeoBoundary'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3ToGeoBoundary;) 2026.10.27 19:26:10.657423 [ 5687 ] {07f21067-d8b5-4d7b-bd17-f7549e219053} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3ToGeoBoundary' while processing query: 'SELECT h3ToGeoBoundary', required columns: 'h3ToGeoBoundary'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:10.688471 [ 5687 ] {0cfd753d-5057-4f84-9ba0-9971c6034ceb} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3ToParent' while processing query: 'SELECT h3ToParent', required columns: 'h3ToParent'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3ToParent;) 2026.10.27 19:26:10.691758 [ 5687 ] {0cfd753d-5057-4f84-9ba0-9971c6034ceb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3ToParent' while processing query: 'SELECT h3ToParent', required columns: 'h3ToParent'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:10.721456 [ 5687 ] {d9976f13-6202-493e-b698-ea03e7f923f6} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3ToString' while processing query: 'SELECT h3ToString', required columns: 'h3ToString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3ToString;) 2026.10.27 19:26:10.723331 [ 5687 ] {d9976f13-6202-493e-b698-ea03e7f923f6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3ToString' while processing query: 'SELECT h3ToString', required columns: 'h3ToString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:10.849151 [ 5687 ] {6a459b10-83a0-4f6c-9711-ad2724a8fb60} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3UnidirectionalEdgeIsValid' while processing query: 'SELECT h3UnidirectionalEdgeIsValid', required columns: 'h3UnidirectionalEdgeIsValid'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3UnidirectionalEdgeIsValid;) 2026.10.27 19:26:10.852620 [ 5687 ] {6a459b10-83a0-4f6c-9711-ad2724a8fb60} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3UnidirectionalEdgeIsValid' while processing query: 'SELECT h3UnidirectionalEdgeIsValid', required columns: 'h3UnidirectionalEdgeIsValid'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:10.882604 [ 5687 ] {79db53a9-81b5-4ef2-9311-dc84efdfb7f8} executeQuery: Code: 47. DB::Exception: Missing columns: 'h3kRing' while processing query: 'SELECT h3kRing', required columns: 'h3kRing'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT h3kRing;) 2026.10.27 19:26:10.986444 [ 5687 ] {79db53a9-81b5-4ef2-9311-dc84efdfb7f8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'h3kRing' while processing query: 'SELECT h3kRing', required columns: 'h3kRing'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:11.015756 [ 5687 ] {bc05e2e0-9c18-4e8d-b0bd-01255a630fff} executeQuery: Code: 47. DB::Exception: Missing columns: 'halfMD5' while processing query: 'SELECT halfMD5', required columns: 'halfMD5'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT halfMD5;) 2026.10.27 19:26:11.018770 [ 5687 ] {bc05e2e0-9c18-4e8d-b0bd-01255a630fff} TCPHandler: Code: 47. DB::Exception: Missing columns: 'halfMD5' while processing query: 'SELECT halfMD5', required columns: 'halfMD5'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:11.048340 [ 5687 ] {e14f7a50-c6b8-4e88-97b6-2b009abd579d} executeQuery: Code: 47. DB::Exception: Missing columns: 'has' while processing query: 'SELECT has', required columns: 'has'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT has;) 2026.10.27 19:26:11.050975 [ 5687 ] {e14f7a50-c6b8-4e88-97b6-2b009abd579d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'has' while processing query: 'SELECT has', required columns: 'has'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:11.079873 [ 5687 ] {8049f176-2431-42cc-ad2b-6a1b876abbd8} executeQuery: Code: 47. DB::Exception: Missing columns: 'hasAll' while processing query: 'SELECT hasAll', required columns: 'hasAll'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hasAll;) 2026.10.27 19:26:11.082681 [ 5687 ] {8049f176-2431-42cc-ad2b-6a1b876abbd8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hasAll' while processing query: 'SELECT hasAll', required columns: 'hasAll'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:11.111442 [ 5687 ] {9d277502-9a41-41c9-8db3-754a992cd1d3} executeQuery: Code: 47. DB::Exception: Missing columns: 'hasAny' while processing query: 'SELECT hasAny', required columns: 'hasAny'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hasAny;) 2026.10.27 19:26:11.214800 [ 5687 ] {9d277502-9a41-41c9-8db3-754a992cd1d3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hasAny' while processing query: 'SELECT hasAny', required columns: 'hasAny'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:11.245570 [ 5687 ] {4f9b5e3d-0979-4578-a5c1-120140b6b53f} executeQuery: Code: 47. DB::Exception: Missing columns: 'hasColumnInTable' while processing query: 'SELECT hasColumnInTable', required columns: 'hasColumnInTable'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hasColumnInTable;) 2026.10.27 19:26:11.248698 [ 5687 ] {4f9b5e3d-0979-4578-a5c1-120140b6b53f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hasColumnInTable' while processing query: 'SELECT hasColumnInTable', required columns: 'hasColumnInTable'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:11.277253 [ 5687 ] {20bedaaa-4c96-4f25-a2e6-d55dbc16660b} executeQuery: Code: 47. DB::Exception: Missing columns: 'hasSubsequence' while processing query: 'SELECT hasSubsequence', required columns: 'hasSubsequence'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hasSubsequence;) 2026.10.27 19:26:11.279901 [ 5687 ] {20bedaaa-4c96-4f25-a2e6-d55dbc16660b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hasSubsequence' while processing query: 'SELECT hasSubsequence', required columns: 'hasSubsequence'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:11.510411 [ 5687 ] {f7bb0f37-59f6-4361-a4ec-a115f4045034} executeQuery: Code: 47. DB::Exception: Missing columns: 'hasSubsequenceCaseInsensitive' while processing query: 'SELECT hasSubsequenceCaseInsensitive', required columns: 'hasSubsequenceCaseInsensitive'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hasSubsequenceCaseInsensitive;) 2026.10.27 19:26:11.512749 [ 5687 ] {f7bb0f37-59f6-4361-a4ec-a115f4045034} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hasSubsequenceCaseInsensitive' while processing query: 'SELECT hasSubsequenceCaseInsensitive', required columns: 'hasSubsequenceCaseInsensitive'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:11.640557 [ 5687 ] {d9465f20-9c72-4c08-a228-0ef919e64cd9} executeQuery: Code: 47. DB::Exception: Missing columns: 'hasSubsequenceCaseInsensitiveUTF8' while processing query: 'SELECT hasSubsequenceCaseInsensitiveUTF8', required columns: 'hasSubsequenceCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hasSubsequenceCaseInsensitiveUTF8;) 2026.10.27 19:26:11.642477 [ 5687 ] {d9465f20-9c72-4c08-a228-0ef919e64cd9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hasSubsequenceCaseInsensitiveUTF8' while processing query: 'SELECT hasSubsequenceCaseInsensitiveUTF8', required columns: 'hasSubsequenceCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:11.871837 [ 5687 ] {7d0aca91-a57d-4b1a-9f39-d61bc018d5d5} executeQuery: Code: 47. DB::Exception: Missing columns: 'hasSubsequenceUTF8' while processing query: 'SELECT hasSubsequenceUTF8', required columns: 'hasSubsequenceUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hasSubsequenceUTF8;) 2026.10.27 19:26:11.975558 [ 5687 ] {7d0aca91-a57d-4b1a-9f39-d61bc018d5d5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hasSubsequenceUTF8' while processing query: 'SELECT hasSubsequenceUTF8', required columns: 'hasSubsequenceUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:12.095042 [ 5687 ] {29ad45bb-2129-4981-9236-a8547fefeddd} executeQuery: Code: 47. DB::Exception: Missing columns: 'hasSubstr' while processing query: 'SELECT hasSubstr', required columns: 'hasSubstr'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hasSubstr;) 2026.10.27 19:26:12.098314 [ 5687 ] {29ad45bb-2129-4981-9236-a8547fefeddd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hasSubstr' while processing query: 'SELECT hasSubstr', required columns: 'hasSubstr'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:12.126915 [ 5687 ] {ac7a343a-65c5-443e-972c-35f63b19f452} executeQuery: Code: 47. DB::Exception: Missing columns: 'hasThreadFuzzer' while processing query: 'SELECT hasThreadFuzzer', required columns: 'hasThreadFuzzer'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hasThreadFuzzer;) 2026.10.27 19:26:12.129818 [ 5687 ] {ac7a343a-65c5-443e-972c-35f63b19f452} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hasThreadFuzzer' while processing query: 'SELECT hasThreadFuzzer', required columns: 'hasThreadFuzzer'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:12.160984 [ 5687 ] {71b2d05f-523e-426f-a714-df680e57d179} executeQuery: Code: 47. DB::Exception: Missing columns: 'hasToken' while processing query: 'SELECT hasToken', required columns: 'hasToken'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hasToken;) 2026.10.27 19:26:12.163993 [ 5687 ] {71b2d05f-523e-426f-a714-df680e57d179} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hasToken' while processing query: 'SELECT hasToken', required columns: 'hasToken'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:12.194086 [ 5687 ] {39979083-4120-4c2d-8750-b7aa005085db} executeQuery: Code: 47. DB::Exception: Missing columns: 'hasTokenCaseInsensitive' while processing query: 'SELECT hasTokenCaseInsensitive', required columns: 'hasTokenCaseInsensitive'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hasTokenCaseInsensitive;) 2026.10.27 19:26:12.197061 [ 5687 ] {39979083-4120-4c2d-8750-b7aa005085db} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hasTokenCaseInsensitive' while processing query: 'SELECT hasTokenCaseInsensitive', required columns: 'hasTokenCaseInsensitive'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:12.226556 [ 5687 ] {04c084a1-2ff9-429f-9f98-346c91e9aefc} executeQuery: Code: 47. DB::Exception: Missing columns: 'hasTokenCaseInsensitiveOrNull' while processing query: 'SELECT hasTokenCaseInsensitiveOrNull', required columns: 'hasTokenCaseInsensitiveOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hasTokenCaseInsensitiveOrNull;) 2026.10.27 19:26:12.330110 [ 5687 ] {04c084a1-2ff9-429f-9f98-346c91e9aefc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hasTokenCaseInsensitiveOrNull' while processing query: 'SELECT hasTokenCaseInsensitiveOrNull', required columns: 'hasTokenCaseInsensitiveOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:12.351346 [ 5687 ] {c1aaec25-94bd-4b93-8f70-3753fb3b1952} executeQuery: Code: 47. DB::Exception: Missing columns: 'hasTokenOrNull' while processing query: 'SELECT hasTokenOrNull', required columns: 'hasTokenOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hasTokenOrNull;) 2026.10.27 19:26:12.354368 [ 5687 ] {c1aaec25-94bd-4b93-8f70-3753fb3b1952} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hasTokenOrNull' while processing query: 'SELECT hasTokenOrNull', required columns: 'hasTokenOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:12.382250 [ 5687 ] {2ec8f764-d5ea-4dd4-bb98-a40875fbb424} executeQuery: Code: 47. DB::Exception: Missing columns: 'hex' while processing query: 'SELECT hex', required columns: 'hex'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hex;) 2026.10.27 19:26:12.385637 [ 5687 ] {2ec8f764-d5ea-4dd4-bb98-a40875fbb424} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hex' while processing query: 'SELECT hex', required columns: 'hex'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:12.415799 [ 5687 ] {a8cad45c-8139-4673-9d28-be30a004550e} executeQuery: Code: 47. DB::Exception: Missing columns: 'hex2bytes' while processing query: 'SELECT hex2bytes', required columns: 'hex2bytes'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hex2bytes;) 2026.10.27 19:26:12.419075 [ 5687 ] {a8cad45c-8139-4673-9d28-be30a004550e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hex2bytes' while processing query: 'SELECT hex2bytes', required columns: 'hex2bytes'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:12.449077 [ 5687 ] {9ebee419-8686-4fdf-950b-4c49ec41807c} executeQuery: Code: 47. DB::Exception: Missing columns: 'histogram' while processing query: 'SELECT histogram', required columns: 'histogram'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT histogram;) 2026.10.27 19:26:12.451703 [ 5687 ] {9ebee419-8686-4fdf-950b-4c49ec41807c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'histogram' while processing query: 'SELECT histogram', required columns: 'histogram'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:12.473658 [ 5687 ] {0635ae49-8c06-4bbd-8bb9-aa555e7c9ece} executeQuery: Code: 47. DB::Exception: Missing columns: 'hiveHash' while processing query: 'SELECT hiveHash', required columns: 'hiveHash'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hiveHash;) 2026.10.27 19:26:12.476493 [ 5687 ] {0635ae49-8c06-4bbd-8bb9-aa555e7c9ece} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hiveHash' while processing query: 'SELECT hiveHash', required columns: 'hiveHash'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:12.605762 [ 5687 ] {86f93396-53e8-49ed-aee8-0ce0fbc764da} executeQuery: Code: 47. DB::Exception: Missing columns: 'hop' while processing query: 'SELECT hop', required columns: 'hop'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hop;) 2026.10.27 19:26:12.608735 [ 5687 ] {86f93396-53e8-49ed-aee8-0ce0fbc764da} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hop' while processing query: 'SELECT hop', required columns: 'hop'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:12.637071 [ 5687 ] {da9d6abe-6e24-4708-8ab8-0e4709959efb} executeQuery: Code: 47. DB::Exception: Missing columns: 'hopEnd' while processing query: 'SELECT hopEnd', required columns: 'hopEnd'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hopEnd;) 2026.10.27 19:26:12.639561 [ 5687 ] {da9d6abe-6e24-4708-8ab8-0e4709959efb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hopEnd' while processing query: 'SELECT hopEnd', required columns: 'hopEnd'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:12.663463 [ 5687 ] {d2486b4c-3abb-499e-a647-a16d8529f41e} executeQuery: Code: 47. DB::Exception: Missing columns: 'hopStart' while processing query: 'SELECT hopStart', required columns: 'hopStart'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hopStart;) 2026.10.27 19:26:12.665624 [ 5687 ] {d2486b4c-3abb-499e-a647-a16d8529f41e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hopStart' while processing query: 'SELECT hopStart', required columns: 'hopStart'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:12.893899 [ 5687 ] {c224a3b4-3fcf-4599-bd5c-de1f1ec976f5} executeQuery: Code: 47. DB::Exception: Missing columns: 'hostName' while processing query: 'SELECT hostName', required columns: 'hostName'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hostName;) 2026.10.27 19:26:12.896924 [ 5687 ] {c224a3b4-3fcf-4599-bd5c-de1f1ec976f5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hostName' while processing query: 'SELECT hostName', required columns: 'hostName'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:12.926221 [ 5687 ] {d3a4d303-0ea5-4b9a-b667-d5bc96d0dace} executeQuery: Code: 47. DB::Exception: Missing columns: 'hostname' while processing query: 'SELECT hostname', required columns: 'hostname'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hostname;) 2026.10.27 19:26:12.929409 [ 5687 ] {d3a4d303-0ea5-4b9a-b667-d5bc96d0dace} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hostname' while processing query: 'SELECT hostname', required columns: 'hostname'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:12.957309 [ 5687 ] {2c27f67b-25f5-4c58-9aeb-e5cebcdb58c6} executeQuery: Code: 47. DB::Exception: Missing columns: 'hypot' while processing query: 'SELECT hypot', required columns: 'hypot'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT hypot;) 2026.10.27 19:26:12.959947 [ 5687 ] {2c27f67b-25f5-4c58-9aeb-e5cebcdb58c6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'hypot' while processing query: 'SELECT hypot', required columns: 'hypot'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:12.987871 [ 5687 ] {5ba8f226-570c-4ec0-b85d-e3dff97d9710} executeQuery: Code: 47. DB::Exception: Missing columns: 'identity' while processing query: 'SELECT identity', required columns: 'identity'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT identity;) 2026.10.27 19:26:12.990774 [ 5687 ] {5ba8f226-570c-4ec0-b85d-e3dff97d9710} TCPHandler: Code: 47. DB::Exception: Missing columns: 'identity' while processing query: 'SELECT identity', required columns: 'identity'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:13.207213 [ 5687 ] {c91822cb-a4a5-44e6-a915-2277b5312301} executeQuery: Code: 47. DB::Exception: Missing columns: 'if' while processing query: 'SELECT if', required columns: 'if'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT if;) 2026.10.27 19:26:13.310994 [ 5687 ] {c91822cb-a4a5-44e6-a915-2277b5312301} TCPHandler: Code: 47. DB::Exception: Missing columns: 'if' while processing query: 'SELECT if', required columns: 'if'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:13.441506 [ 5687 ] {d3fe48bc-4d8c-4744-988e-cabaf7bf535d} executeQuery: Code: 47. DB::Exception: Missing columns: 'ifNotFinite' while processing query: 'SELECT ifNotFinite', required columns: 'ifNotFinite'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ifNotFinite;) 2026.10.27 19:26:13.444625 [ 5687 ] {d3fe48bc-4d8c-4744-988e-cabaf7bf535d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ifNotFinite' while processing query: 'SELECT ifNotFinite', required columns: 'ifNotFinite'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:13.472488 [ 5687 ] {17fb1d90-61cd-4c9f-b11e-7900140dc799} executeQuery: Code: 47. DB::Exception: Missing columns: 'ifNull' while processing query: 'SELECT ifNull', required columns: 'ifNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ifNull;) 2026.10.27 19:26:13.475140 [ 5687 ] {17fb1d90-61cd-4c9f-b11e-7900140dc799} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ifNull' while processing query: 'SELECT ifNull', required columns: 'ifNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:13.491254 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.47 GiB (attempt to allocate chunk of 4196413 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::HashingWriteBuffer::HashingWriteBuffer(DB::WriteBuffer&, unsigned long) @ 0x000000003cb83320 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114e27 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a471453 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a46e742 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2ea27 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:13.503616 [ 5687 ] {359354fa-60f2-4431-b8c0-020fa7444a09} executeQuery: Code: 47. DB::Exception: Missing columns: 'ignore' while processing query: 'SELECT ignore', required columns: 'ignore'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ignore;) 2026.10.27 19:26:13.506863 [ 5687 ] {359354fa-60f2-4431-b8c0-020fa7444a09} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ignore' while processing query: 'SELECT ignore', required columns: 'ignore'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:13.533453 [ 5687 ] {0b74c659-132a-4946-a544-a19c1a7f1130} executeQuery: Code: 47. DB::Exception: Missing columns: 'ilike' while processing query: 'SELECT ilike', required columns: 'ilike'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ilike;) 2026.10.27 19:26:13.535947 [ 5687 ] {0b74c659-132a-4946-a544-a19c1a7f1130} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ilike' while processing query: 'SELECT ilike', required columns: 'ilike'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:13.565280 [ 5687 ] {a2c2e670-92d3-4483-a2ac-97c02bb0b13f} executeQuery: Code: 47. DB::Exception: Missing columns: 'in' while processing query: 'SELECT in', required columns: 'in'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT in;) 2026.10.27 19:26:13.567887 [ 5687 ] {a2c2e670-92d3-4483-a2ac-97c02bb0b13f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'in' while processing query: 'SELECT in', required columns: 'in'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:13.595257 [ 5687 ] {cb1f31f9-9d7c-4858-a8f1-88a4b8e5af81} executeQuery: Code: 47. DB::Exception: Missing columns: 'inIgnoreSet' while processing query: 'SELECT inIgnoreSet', required columns: 'inIgnoreSet'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT inIgnoreSet;) 2026.10.27 19:26:13.598005 [ 5687 ] {cb1f31f9-9d7c-4858-a8f1-88a4b8e5af81} TCPHandler: Code: 47. DB::Exception: Missing columns: 'inIgnoreSet' while processing query: 'SELECT inIgnoreSet', required columns: 'inIgnoreSet'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:13.629761 [ 5687 ] {6767b6da-a018-4d0a-8588-06f1a6e1f667} executeQuery: Code: 47. DB::Exception: Missing columns: 'indexHint' while processing query: 'SELECT indexHint', required columns: 'indexHint'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT indexHint;) 2026.10.27 19:26:13.633125 [ 5687 ] {6767b6da-a018-4d0a-8588-06f1a6e1f667} TCPHandler: Code: 47. DB::Exception: Missing columns: 'indexHint' while processing query: 'SELECT indexHint', required columns: 'indexHint'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:13.659775 [ 5687 ] {a39af641-0f85-47cd-ad48-9ce9133b6d19} executeQuery: Code: 47. DB::Exception: Missing columns: 'indexOf' while processing query: 'SELECT indexOf', required columns: 'indexOf'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT indexOf;) 2026.10.27 19:26:13.662601 [ 5687 ] {a39af641-0f85-47cd-ad48-9ce9133b6d19} TCPHandler: Code: 47. DB::Exception: Missing columns: 'indexOf' while processing query: 'SELECT indexOf', required columns: 'indexOf'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:13.690639 [ 5687 ] {2f5ff586-5d9d-40e0-97e6-2dc2cbc69fff} executeQuery: Code: 47. DB::Exception: Missing columns: 'initcap' while processing query: 'SELECT initcap', required columns: 'initcap'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT initcap;) 2026.10.27 19:26:13.693810 [ 5687 ] {2f5ff586-5d9d-40e0-97e6-2dc2cbc69fff} TCPHandler: Code: 47. DB::Exception: Missing columns: 'initcap' while processing query: 'SELECT initcap', required columns: 'initcap'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:13.721155 [ 5687 ] {4784a27f-dd2d-4a42-9db4-aeab5eb5d670} executeQuery: Code: 47. DB::Exception: Missing columns: 'initcapUTF8' while processing query: 'SELECT initcapUTF8', required columns: 'initcapUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT initcapUTF8;) 2026.10.27 19:26:13.723700 [ 5687 ] {4784a27f-dd2d-4a42-9db4-aeab5eb5d670} TCPHandler: Code: 47. DB::Exception: Missing columns: 'initcapUTF8' while processing query: 'SELECT initcapUTF8', required columns: 'initcapUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:13.750843 [ 5687 ] {dd4684e1-2267-4b58-a78f-c3061a945cef} executeQuery: Code: 47. DB::Exception: Missing columns: 'initialQueryID' while processing query: 'SELECT initialQueryID', required columns: 'initialQueryID'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT initialQueryID;) 2026.10.27 19:26:13.753848 [ 5687 ] {dd4684e1-2267-4b58-a78f-c3061a945cef} TCPHandler: Code: 47. DB::Exception: Missing columns: 'initialQueryID' while processing query: 'SELECT initialQueryID', required columns: 'initialQueryID'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:13.782761 [ 5687 ] {6d0bc3af-7670-442a-b2c5-aaba65fe4eba} executeQuery: Code: 47. DB::Exception: Missing columns: 'initial_query_id' while processing query: 'SELECT initial_query_id', required columns: 'initial_query_id'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT initial_query_id;) 2026.10.27 19:26:13.786171 [ 5687 ] {6d0bc3af-7670-442a-b2c5-aaba65fe4eba} TCPHandler: Code: 47. DB::Exception: Missing columns: 'initial_query_id' while processing query: 'SELECT initial_query_id', required columns: 'initial_query_id'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:13.899874 [ 5687 ] {a1cb5166-b126-4df4-b3b0-0a6c9b4ae052} executeQuery: Code: 47. DB::Exception: Missing columns: 'initializeAggregation' while processing query: 'SELECT initializeAggregation', required columns: 'initializeAggregation'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT initializeAggregation;) 2026.10.27 19:26:13.902017 [ 5687 ] {a1cb5166-b126-4df4-b3b0-0a6c9b4ae052} TCPHandler: Code: 47. DB::Exception: Missing columns: 'initializeAggregation' while processing query: 'SELECT initializeAggregation', required columns: 'initializeAggregation'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:13.925324 [ 5687 ] {970a439f-99d1-4816-96c1-b1e5e9913d4e} executeQuery: Code: 47. DB::Exception: Missing columns: 'instr' while processing query: 'SELECT instr', required columns: 'instr'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT instr;) 2026.10.27 19:26:13.927389 [ 5687 ] {970a439f-99d1-4816-96c1-b1e5e9913d4e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'instr' while processing query: 'SELECT instr', required columns: 'instr'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:13.950603 [ 5687 ] {3a944b20-48c0-432b-a819-f9f48645bf7f} executeQuery: Code: 47. DB::Exception: Missing columns: 'intDiv' while processing query: 'SELECT intDiv', required columns: 'intDiv'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT intDiv;) 2026.10.27 19:26:13.952620 [ 5687 ] {3a944b20-48c0-432b-a819-f9f48645bf7f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'intDiv' while processing query: 'SELECT intDiv', required columns: 'intDiv'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:13.975754 [ 5687 ] {ebde02a5-325e-4a76-9089-acf2a7964185} executeQuery: Code: 47. DB::Exception: Missing columns: 'intDivOrZero' while processing query: 'SELECT intDivOrZero', required columns: 'intDivOrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT intDivOrZero;) 2026.10.27 19:26:13.977694 [ 5687 ] {ebde02a5-325e-4a76-9089-acf2a7964185} TCPHandler: Code: 47. DB::Exception: Missing columns: 'intDivOrZero' while processing query: 'SELECT intDivOrZero', required columns: 'intDivOrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.000661 [ 5687 ] {1d16784b-3023-4201-9c84-abe4b416e4a7} executeQuery: Code: 47. DB::Exception: Missing columns: 'intExp10' while processing query: 'SELECT intExp10', required columns: 'intExp10'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT intExp10;) 2026.10.27 19:26:14.002338 [ 5687 ] {1d16784b-3023-4201-9c84-abe4b416e4a7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'intExp10' while processing query: 'SELECT intExp10', required columns: 'intExp10'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.026016 [ 5687 ] {d772763e-873b-4cac-a4ed-5f69439bf054} executeQuery: Code: 47. DB::Exception: Missing columns: 'intExp2' while processing query: 'SELECT intExp2', required columns: 'intExp2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT intExp2;) 2026.10.27 19:26:14.027624 [ 5687 ] {d772763e-873b-4cac-a4ed-5f69439bf054} TCPHandler: Code: 47. DB::Exception: Missing columns: 'intExp2' while processing query: 'SELECT intExp2', required columns: 'intExp2'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.050283 [ 5687 ] {31517696-b653-46d7-8585-9977d5c9730c} executeQuery: Code: 47. DB::Exception: Missing columns: 'intHash32' while processing query: 'SELECT intHash32', required columns: 'intHash32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT intHash32;) 2026.10.27 19:26:14.051847 [ 5687 ] {31517696-b653-46d7-8585-9977d5c9730c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'intHash32' while processing query: 'SELECT intHash32', required columns: 'intHash32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.075439 [ 5687 ] {980fb3d9-033b-420f-a741-b72bc12f4e8a} executeQuery: Code: 47. DB::Exception: Missing columns: 'intHash64' while processing query: 'SELECT intHash64', required columns: 'intHash64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT intHash64;) 2026.10.27 19:26:14.077205 [ 5687 ] {980fb3d9-033b-420f-a741-b72bc12f4e8a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'intHash64' while processing query: 'SELECT intHash64', required columns: 'intHash64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.100089 [ 5687 ] {e13c6b46-b28d-4189-b4ab-ef1fdbbabcee} executeQuery: Code: 47. DB::Exception: Missing columns: 'intervalLengthSum' while processing query: 'SELECT intervalLengthSum', required columns: 'intervalLengthSum'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT intervalLengthSum;) 2026.10.27 19:26:14.101756 [ 5687 ] {e13c6b46-b28d-4189-b4ab-ef1fdbbabcee} TCPHandler: Code: 47. DB::Exception: Missing columns: 'intervalLengthSum' while processing query: 'SELECT intervalLengthSum', required columns: 'intervalLengthSum'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.125044 [ 5687 ] {97e73306-6adb-4518-bca3-9fbd37517c7c} executeQuery: Code: 47. DB::Exception: Missing columns: 'isConstant' while processing query: 'SELECT isConstant', required columns: 'isConstant'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT isConstant;) 2026.10.27 19:26:14.126592 [ 5687 ] {97e73306-6adb-4518-bca3-9fbd37517c7c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'isConstant' while processing query: 'SELECT isConstant', required columns: 'isConstant'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.148426 [ 5687 ] {78c72b6f-1945-4caf-b81f-f8e2a769bc6d} executeQuery: Code: 47. DB::Exception: Missing columns: 'isDecimalOverflow' while processing query: 'SELECT isDecimalOverflow', required columns: 'isDecimalOverflow'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT isDecimalOverflow;) 2026.10.27 19:26:14.149983 [ 5687 ] {78c72b6f-1945-4caf-b81f-f8e2a769bc6d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'isDecimalOverflow' while processing query: 'SELECT isDecimalOverflow', required columns: 'isDecimalOverflow'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.172454 [ 5687 ] {f1b8d5e3-f1e0-4021-ab5c-554a24749065} executeQuery: Code: 47. DB::Exception: Missing columns: 'isFinite' while processing query: 'SELECT isFinite', required columns: 'isFinite'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT isFinite;) 2026.10.27 19:26:14.174118 [ 5687 ] {f1b8d5e3-f1e0-4021-ab5c-554a24749065} TCPHandler: Code: 47. DB::Exception: Missing columns: 'isFinite' while processing query: 'SELECT isFinite', required columns: 'isFinite'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.193867 [ 5687 ] {0a827750-f630-4e32-9580-ad3ebbddcfbe} executeQuery: Code: 47. DB::Exception: Missing columns: 'isIPAddressInRange' while processing query: 'SELECT isIPAddressInRange', required columns: 'isIPAddressInRange'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT isIPAddressInRange;) 2026.10.27 19:26:14.195489 [ 5687 ] {0a827750-f630-4e32-9580-ad3ebbddcfbe} TCPHandler: Code: 47. DB::Exception: Missing columns: 'isIPAddressInRange' while processing query: 'SELECT isIPAddressInRange', required columns: 'isIPAddressInRange'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.215095 [ 5687 ] {317b091f-fc54-491a-b151-1029edecf62a} executeQuery: Code: 47. DB::Exception: Missing columns: 'isIPv4String' while processing query: 'SELECT isIPv4String', required columns: 'isIPv4String'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT isIPv4String;) 2026.10.27 19:26:14.216877 [ 5687 ] {317b091f-fc54-491a-b151-1029edecf62a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'isIPv4String' while processing query: 'SELECT isIPv4String', required columns: 'isIPv4String'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.237004 [ 5687 ] {48ac7675-0a9f-4cb9-ace8-1cd80c645538} executeQuery: Code: 47. DB::Exception: Missing columns: 'isIPv6String' while processing query: 'SELECT isIPv6String', required columns: 'isIPv6String'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT isIPv6String;) 2026.10.27 19:26:14.238558 [ 5687 ] {48ac7675-0a9f-4cb9-ace8-1cd80c645538} TCPHandler: Code: 47. DB::Exception: Missing columns: 'isIPv6String' while processing query: 'SELECT isIPv6String', required columns: 'isIPv6String'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.258567 [ 5687 ] {60525bd2-ccb0-4154-bfc5-31d74e44f069} executeQuery: Code: 47. DB::Exception: Missing columns: 'isInfinite' while processing query: 'SELECT isInfinite', required columns: 'isInfinite'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT isInfinite;) 2026.10.27 19:26:14.260003 [ 5687 ] {60525bd2-ccb0-4154-bfc5-31d74e44f069} TCPHandler: Code: 47. DB::Exception: Missing columns: 'isInfinite' while processing query: 'SELECT isInfinite', required columns: 'isInfinite'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.278537 [ 5687 ] {c9f31275-3fd5-4913-8676-62bb73fcf702} executeQuery: Code: 47. DB::Exception: Missing columns: 'isNaN' while processing query: 'SELECT isNaN', required columns: 'isNaN'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT isNaN;) 2026.10.27 19:26:14.280332 [ 5687 ] {c9f31275-3fd5-4913-8676-62bb73fcf702} TCPHandler: Code: 47. DB::Exception: Missing columns: 'isNaN' while processing query: 'SELECT isNaN', required columns: 'isNaN'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.298166 [ 5687 ] {9eff90dc-6dad-4b5e-b130-82999328a2d8} executeQuery: Code: 47. DB::Exception: Missing columns: 'isNotDistinctFrom' while processing query: 'SELECT isNotDistinctFrom', required columns: 'isNotDistinctFrom'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT isNotDistinctFrom;) 2026.10.27 19:26:14.299534 [ 5687 ] {9eff90dc-6dad-4b5e-b130-82999328a2d8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'isNotDistinctFrom' while processing query: 'SELECT isNotDistinctFrom', required columns: 'isNotDistinctFrom'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.318841 [ 5687 ] {0245f7ed-9404-45cf-b820-19ea80d4d2b1} executeQuery: Code: 47. DB::Exception: Missing columns: 'isNotNull' while processing query: 'SELECT isNotNull', required columns: 'isNotNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT isNotNull;) 2026.10.27 19:26:14.320729 [ 5687 ] {0245f7ed-9404-45cf-b820-19ea80d4d2b1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'isNotNull' while processing query: 'SELECT isNotNull', required columns: 'isNotNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.340129 [ 5687 ] {179e53f2-2f64-4c11-89c6-98fcabd32dca} executeQuery: Code: 47. DB::Exception: Missing columns: 'isNull' while processing query: 'SELECT isNull', required columns: 'isNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT isNull;) 2026.10.27 19:26:14.341774 [ 5687 ] {179e53f2-2f64-4c11-89c6-98fcabd32dca} TCPHandler: Code: 47. DB::Exception: Missing columns: 'isNull' while processing query: 'SELECT isNull', required columns: 'isNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.360725 [ 5687 ] {24276123-9686-4e0e-973a-5c8002e155bf} executeQuery: Code: 47. DB::Exception: Missing columns: 'isNullable' while processing query: 'SELECT isNullable', required columns: 'isNullable'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT isNullable;) 2026.10.27 19:26:14.362371 [ 5687 ] {24276123-9686-4e0e-973a-5c8002e155bf} TCPHandler: Code: 47. DB::Exception: Missing columns: 'isNullable' while processing query: 'SELECT isNullable', required columns: 'isNullable'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.381488 [ 5687 ] {7184fd18-24a6-47d4-aae3-25cdfd64ba04} executeQuery: Code: 47. DB::Exception: Missing columns: 'isValidJSON' while processing query: 'SELECT isValidJSON', required columns: 'isValidJSON'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT isValidJSON;) 2026.10.27 19:26:14.383051 [ 5687 ] {7184fd18-24a6-47d4-aae3-25cdfd64ba04} TCPHandler: Code: 47. DB::Exception: Missing columns: 'isValidJSON' while processing query: 'SELECT isValidJSON', required columns: 'isValidJSON'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.403101 [ 5687 ] {f75a8a42-3538-4f8c-bfc3-f5d97e4d0af9} executeQuery: Code: 47. DB::Exception: Missing columns: 'isValidUTF8' while processing query: 'SELECT isValidUTF8', required columns: 'isValidUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT isValidUTF8;) 2026.10.27 19:26:14.405011 [ 5687 ] {f75a8a42-3538-4f8c-bfc3-f5d97e4d0af9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'isValidUTF8' while processing query: 'SELECT isValidUTF8', required columns: 'isValidUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.426612 [ 5687 ] {257e7bec-4ce6-4d2d-8b04-4b5b5c0adab1} executeQuery: Code: 47. DB::Exception: Missing columns: 'isZeroOrNull' while processing query: 'SELECT isZeroOrNull', required columns: 'isZeroOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT isZeroOrNull;) 2026.10.27 19:26:14.529334 [ 5687 ] {257e7bec-4ce6-4d2d-8b04-4b5b5c0adab1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'isZeroOrNull' while processing query: 'SELECT isZeroOrNull', required columns: 'isZeroOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.544770 [ 5687 ] {1ac44a8e-54e9-4a5c-b5c2-0f0c1e0a96e2} executeQuery: Code: 47. DB::Exception: Missing columns: 'javaHash' while processing query: 'SELECT javaHash', required columns: 'javaHash'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT javaHash;) 2026.10.27 19:26:14.546598 [ 5687 ] {1ac44a8e-54e9-4a5c-b5c2-0f0c1e0a96e2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'javaHash' while processing query: 'SELECT javaHash', required columns: 'javaHash'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.561317 [ 5687 ] {fe3afc2c-3fdc-41ef-b85c-5ec60be3a0b7} executeQuery: Code: 47. DB::Exception: Missing columns: 'javaHashUTF16LE' while processing query: 'SELECT javaHashUTF16LE', required columns: 'javaHashUTF16LE'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT javaHashUTF16LE;) 2026.10.27 19:26:14.563102 [ 5687 ] {fe3afc2c-3fdc-41ef-b85c-5ec60be3a0b7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'javaHashUTF16LE' while processing query: 'SELECT javaHashUTF16LE', required columns: 'javaHashUTF16LE'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.577414 [ 5687 ] {dc04ba94-57fa-440e-b65e-7ec4981d4d1a} executeQuery: Code: 47. DB::Exception: Missing columns: 'joinGet' while processing query: 'SELECT joinGet', required columns: 'joinGet'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT joinGet;) 2026.10.27 19:26:14.579342 [ 5687 ] {dc04ba94-57fa-440e-b65e-7ec4981d4d1a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'joinGet' while processing query: 'SELECT joinGet', required columns: 'joinGet'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.594644 [ 5687 ] {b1de6085-a294-4f00-a532-bcf0c9c261aa} executeQuery: Code: 47. DB::Exception: Missing columns: 'joinGetOrNull' while processing query: 'SELECT joinGetOrNull', required columns: 'joinGetOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT joinGetOrNull;) 2026.10.27 19:26:14.596242 [ 5687 ] {b1de6085-a294-4f00-a532-bcf0c9c261aa} TCPHandler: Code: 47. DB::Exception: Missing columns: 'joinGetOrNull' while processing query: 'SELECT joinGetOrNull', required columns: 'joinGetOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.610374 [ 5687 ] {55b10e93-6b83-472d-a9e6-f6872358f634} executeQuery: Code: 47. DB::Exception: Missing columns: 'jumpConsistentHash' while processing query: 'SELECT jumpConsistentHash', required columns: 'jumpConsistentHash'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT jumpConsistentHash;) 2026.10.27 19:26:14.611910 [ 5687 ] {55b10e93-6b83-472d-a9e6-f6872358f634} TCPHandler: Code: 47. DB::Exception: Missing columns: 'jumpConsistentHash' while processing query: 'SELECT jumpConsistentHash', required columns: 'jumpConsistentHash'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.634220 [ 5687 ] {50fddce5-6773-4d7b-b1a3-a5480cd85d32} executeQuery: Code: 47. DB::Exception: Missing columns: 'kafkaMurmurHash' while processing query: 'SELECT kafkaMurmurHash', required columns: 'kafkaMurmurHash'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT kafkaMurmurHash;) 2026.10.27 19:26:14.635793 [ 5687 ] {50fddce5-6773-4d7b-b1a3-a5480cd85d32} TCPHandler: Code: 47. DB::Exception: Missing columns: 'kafkaMurmurHash' while processing query: 'SELECT kafkaMurmurHash', required columns: 'kafkaMurmurHash'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.656726 [ 5687 ] {ff23baeb-bac6-4381-b241-81330c8ae71f} executeQuery: Code: 47. DB::Exception: Missing columns: 'kolmogorovSmirnovTest' while processing query: 'SELECT kolmogorovSmirnovTest', required columns: 'kolmogorovSmirnovTest'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT kolmogorovSmirnovTest;) 2026.10.27 19:26:14.658311 [ 5687 ] {ff23baeb-bac6-4381-b241-81330c8ae71f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'kolmogorovSmirnovTest' while processing query: 'SELECT kolmogorovSmirnovTest', required columns: 'kolmogorovSmirnovTest'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.678992 [ 5687 ] {9c3ee0d7-3972-4983-aa37-c6fdc7647f09} executeQuery: Code: 47. DB::Exception: Missing columns: 'kostikConsistentHash' while processing query: 'SELECT kostikConsistentHash', required columns: 'kostikConsistentHash'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT kostikConsistentHash;) 2026.10.27 19:26:14.680252 [ 5687 ] {9c3ee0d7-3972-4983-aa37-c6fdc7647f09} TCPHandler: Code: 47. DB::Exception: Missing columns: 'kostikConsistentHash' while processing query: 'SELECT kostikConsistentHash', required columns: 'kostikConsistentHash'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:14.801790 [ 5687 ] {eff8a1a0-125e-46d2-b23a-cf36496cb3d1} executeQuery: Code: 47. DB::Exception: Missing columns: 'kurtPop' while processing query: 'SELECT kurtPop', required columns: 'kurtPop'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT kurtPop;) 2026.10.27 19:26:14.804885 [ 5687 ] {eff8a1a0-125e-46d2-b23a-cf36496cb3d1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'kurtPop' while processing query: 'SELECT kurtPop', required columns: 'kurtPop'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:15.033714 [ 5687 ] {12d3255d-4909-48ba-8ac6-c749cf9b8870} executeQuery: Code: 47. DB::Exception: Missing columns: 'kurtSamp' while processing query: 'SELECT kurtSamp', required columns: 'kurtSamp'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT kurtSamp;) 2026.10.27 19:26:15.036736 [ 5687 ] {12d3255d-4909-48ba-8ac6-c749cf9b8870} TCPHandler: Code: 47. DB::Exception: Missing columns: 'kurtSamp' while processing query: 'SELECT kurtSamp', required columns: 'kurtSamp'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:15.057665 [ 5687 ] {c45320b1-ed5b-4f61-b26f-c6eac9cc8133} executeQuery: Code: 47. DB::Exception: Missing columns: 'lagInFrame' while processing query: 'SELECT lagInFrame', required columns: 'lagInFrame'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT lagInFrame;) 2026.10.27 19:26:15.161007 [ 5687 ] {c45320b1-ed5b-4f61-b26f-c6eac9cc8133} TCPHandler: Code: 47. DB::Exception: Missing columns: 'lagInFrame' while processing query: 'SELECT lagInFrame', required columns: 'lagInFrame'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:15.189896 [ 5687 ] {48d06718-61ce-48a3-b576-3a2e0d1e4269} executeQuery: Code: 47. DB::Exception: Missing columns: 'last_value' while processing query: 'SELECT last_value', required columns: 'last_value'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT last_value;) 2026.10.27 19:26:15.192930 [ 5687 ] {48d06718-61ce-48a3-b576-3a2e0d1e4269} TCPHandler: Code: 47. DB::Exception: Missing columns: 'last_value' while processing query: 'SELECT last_value', required columns: 'last_value'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:15.220232 [ 5687 ] {ad051d4e-8e8d-4e41-a95f-da4b65d15758} executeQuery: Code: 47. DB::Exception: Missing columns: 'last_value_respect_nulls' while processing query: 'SELECT last_value_respect_nulls', required columns: 'last_value_respect_nulls'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT last_value_respect_nulls;) 2026.10.27 19:26:15.222813 [ 5687 ] {ad051d4e-8e8d-4e41-a95f-da4b65d15758} TCPHandler: Code: 47. DB::Exception: Missing columns: 'last_value_respect_nulls' while processing query: 'SELECT last_value_respect_nulls', required columns: 'last_value_respect_nulls'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:15.249558 [ 5687 ] {e766e3a9-9e05-49eb-866b-df85eeba2628} executeQuery: Code: 47. DB::Exception: Missing columns: 'lcase' while processing query: 'SELECT lcase', required columns: 'lcase'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT lcase;) 2026.10.27 19:26:15.252310 [ 5687 ] {e766e3a9-9e05-49eb-866b-df85eeba2628} TCPHandler: Code: 47. DB::Exception: Missing columns: 'lcase' while processing query: 'SELECT lcase', required columns: 'lcase'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:15.379745 [ 5687 ] {65973c5a-73d5-4793-89ad-a62bd4649359} executeQuery: Code: 47. DB::Exception: Missing columns: 'lcm' while processing query: 'SELECT lcm', required columns: 'lcm'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT lcm;) 2026.10.27 19:26:15.382819 [ 5687 ] {65973c5a-73d5-4793-89ad-a62bd4649359} TCPHandler: Code: 47. DB::Exception: Missing columns: 'lcm' while processing query: 'SELECT lcm', required columns: 'lcm'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:15.500304 [ 5687 ] {7412fb66-3951-4c59-87fd-fbd00f6634bc} executeQuery: Code: 47. DB::Exception: Missing columns: 'leadInFrame' while processing query: 'SELECT leadInFrame', required columns: 'leadInFrame'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT leadInFrame;) 2026.10.27 19:26:15.503003 [ 5687 ] {7412fb66-3951-4c59-87fd-fbd00f6634bc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'leadInFrame' while processing query: 'SELECT leadInFrame', required columns: 'leadInFrame'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:15.631677 [ 5687 ] {d956bc72-5ba1-4c30-8a45-a32a98e43098} executeQuery: Code: 47. DB::Exception: Missing columns: 'least' while processing query: 'SELECT least', required columns: 'least'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT least;) 2026.10.27 19:26:15.634692 [ 5687 ] {d956bc72-5ba1-4c30-8a45-a32a98e43098} TCPHandler: Code: 47. DB::Exception: Missing columns: 'least' while processing query: 'SELECT least', required columns: 'least'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:15.865605 [ 5687 ] {27f17ec8-f455-4856-97e6-187230537396} executeQuery: Code: 47. DB::Exception: Missing columns: 'left' while processing query: 'SELECT left', required columns: 'left'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT left;) 2026.10.27 19:26:15.868722 [ 5687 ] {27f17ec8-f455-4856-97e6-187230537396} TCPHandler: Code: 47. DB::Exception: Missing columns: 'left' while processing query: 'SELECT left', required columns: 'left'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:15.999707 [ 5687 ] {98bc8e07-7658-4ef1-80dd-8857b9c19efc} executeQuery: Code: 47. DB::Exception: Missing columns: 'leftPad' while processing query: 'SELECT leftPad', required columns: 'leftPad'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT leftPad;) 2026.10.27 19:26:16.103431 [ 5687 ] {98bc8e07-7658-4ef1-80dd-8857b9c19efc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'leftPad' while processing query: 'SELECT leftPad', required columns: 'leftPad'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:16.132518 [ 5687 ] {cda169de-43ce-481c-b47f-d6385f5fa21d} executeQuery: Code: 47. DB::Exception: Missing columns: 'leftPadUTF8' while processing query: 'SELECT leftPadUTF8', required columns: 'leftPadUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT leftPadUTF8;) 2026.10.27 19:26:16.135196 [ 5687 ] {cda169de-43ce-481c-b47f-d6385f5fa21d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'leftPadUTF8' while processing query: 'SELECT leftPadUTF8', required columns: 'leftPadUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:16.221926 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.47 GiB (attempt to allocate chunk of 4199941 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. DB::PODArray, DB::UUIDTag>, 4096ul, Allocator, 63ul, 64ul>::PODArray(unsigned long) @ 0x0000000009df6d7e in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnVector.h:0: COW::immutable_ptr DB::ColumnVector, DB::UUIDTag>>::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b7e4d99 in /usr/bin/clickhouse 9. ./build_docker/./src/Columns/ColumnVector.cpp:729: DB::ColumnVector, DB::UUIDTag>>::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b3ced06 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/IMergeTreeDataPartWriter.cpp:0: DB::permuteBlockIfNeeded(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d11b4c2 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:166: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d10410d in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3ef053 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3ec532 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c26a87 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c2695f in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:16.222274 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.47 GiB (attempt to allocate chunk of 4204223 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d102e0d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a483e53 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a481142 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2fca7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c2fb7f in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:16.263807 [ 5687 ] {8b4492a6-712f-409b-a3bc-fa2416b50b75} executeQuery: Code: 47. DB::Exception: Missing columns: 'leftUTF8' while processing query: 'SELECT leftUTF8', required columns: 'leftUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT leftUTF8;) 2026.10.27 19:26:16.266794 [ 5687 ] {8b4492a6-712f-409b-a3bc-fa2416b50b75} TCPHandler: Code: 47. DB::Exception: Missing columns: 'leftUTF8' while processing query: 'SELECT leftUTF8', required columns: 'leftUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:16.386926 [ 5687 ] {49811be0-9985-4840-823b-aed7312f8644} executeQuery: Code: 47. DB::Exception: Missing columns: 'lemmatize' while processing query: 'SELECT lemmatize', required columns: 'lemmatize'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT lemmatize;) 2026.10.27 19:26:16.390271 [ 5687 ] {49811be0-9985-4840-823b-aed7312f8644} TCPHandler: Code: 47. DB::Exception: Missing columns: 'lemmatize' while processing query: 'SELECT lemmatize', required columns: 'lemmatize'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:16.415635 [ 5687 ] {64be7ee8-4e06-4ea7-a530-ca70922630a3} executeQuery: Code: 47. DB::Exception: Missing columns: 'length' while processing query: 'SELECT length', required columns: 'length'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT length;) 2026.10.27 19:26:16.418612 [ 5687 ] {64be7ee8-4e06-4ea7-a530-ca70922630a3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'length' while processing query: 'SELECT length', required columns: 'length'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:16.443060 [ 5687 ] {37183400-998c-4c8a-ba4c-8da0a3a89f09} executeQuery: Code: 47. DB::Exception: Missing columns: 'lengthUTF8' while processing query: 'SELECT lengthUTF8', required columns: 'lengthUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT lengthUTF8;) 2026.10.27 19:26:16.446021 [ 5687 ] {37183400-998c-4c8a-ba4c-8da0a3a89f09} TCPHandler: Code: 47. DB::Exception: Missing columns: 'lengthUTF8' while processing query: 'SELECT lengthUTF8', required columns: 'lengthUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:16.475361 [ 5687 ] {4714a663-b0f4-472d-b73b-3df28f175cf0} executeQuery: Code: 47. DB::Exception: Missing columns: 'less' while processing query: 'SELECT less', required columns: 'less'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT less;) 2026.10.27 19:26:16.478682 [ 5687 ] {4714a663-b0f4-472d-b73b-3df28f175cf0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'less' while processing query: 'SELECT less', required columns: 'less'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:16.607100 [ 5687 ] {4dc32f21-e5b4-41c8-99e9-59959d3b4536} executeQuery: Code: 47. DB::Exception: Missing columns: 'lessOrEquals' while processing query: 'SELECT lessOrEquals', required columns: 'lessOrEquals'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT lessOrEquals;) 2026.10.27 19:26:16.710902 [ 5687 ] {4dc32f21-e5b4-41c8-99e9-59959d3b4536} TCPHandler: Code: 47. DB::Exception: Missing columns: 'lessOrEquals' while processing query: 'SELECT lessOrEquals', required columns: 'lessOrEquals'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:16.741279 [ 5687 ] {5aeb3f68-3b0e-4404-acea-df4feca7d3a9} executeQuery: Code: 47. DB::Exception: Missing columns: 'lgamma' while processing query: 'SELECT lgamma', required columns: 'lgamma'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT lgamma;) 2026.10.27 19:26:16.743941 [ 5687 ] {5aeb3f68-3b0e-4404-acea-df4feca7d3a9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'lgamma' while processing query: 'SELECT lgamma', required columns: 'lgamma'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:16.870878 [ 5687 ] {2e51696a-f85a-4ab4-9a56-0874b49f67b3} executeQuery: Code: 47. DB::Exception: Missing columns: 'like' while processing query: 'SELECT like', required columns: 'like'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT like;) 2026.10.27 19:26:16.873975 [ 5687 ] {2e51696a-f85a-4ab4-9a56-0874b49f67b3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'like' while processing query: 'SELECT like', required columns: 'like'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:17.097247 [ 5687 ] {07ab407a-dce7-4eb1-a1e4-442b1eed28dd} executeQuery: Code: 47. DB::Exception: Missing columns: 'ln' while processing query: 'SELECT ln', required columns: 'ln'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ln;) 2026.10.27 19:26:17.176885 [ 5687 ] {07ab407a-dce7-4eb1-a1e4-442b1eed28dd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ln' while processing query: 'SELECT ln', required columns: 'ln'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:17.201305 [ 5687 ] {43623ddc-8e65-4cb0-a861-383b5406e360} executeQuery: Code: 47. DB::Exception: Missing columns: 'locate' while processing query: 'SELECT locate', required columns: 'locate'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT locate;) 2026.10.27 19:26:17.203267 [ 5687 ] {43623ddc-8e65-4cb0-a861-383b5406e360} TCPHandler: Code: 47. DB::Exception: Missing columns: 'locate' while processing query: 'SELECT locate', required columns: 'locate'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:17.298941 [ 6121 ] {548e280c-9ab8-45a4-b8ed-6d71e1293683} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48852) (comment: 00172_hits_joins.gen.sql) (in query: SELECT domain, hits, visits FROM ( SELECT domain(URL) AS domain, count() AS hits FROM test.hits GROUP BY domain ) ANY LEFT JOIN ( SELECT domain(StartURL) AS domain, sum(Sign) AS visits FROM test.visits GROUP BY domain ) USING domain ORDER BY hits DESC LIMIT 10 SETTINGS joined_subquery_requires_alias = 0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:17.331952 [ 5687 ] {217caacc-818a-469a-b3b9-6dc278591c0b} executeQuery: Code: 47. DB::Exception: Missing columns: 'log' while processing query: 'SELECT log', required columns: 'log'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT log;) 2026.10.27 19:26:17.334907 [ 5687 ] {217caacc-818a-469a-b3b9-6dc278591c0b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'log' while processing query: 'SELECT log', required columns: 'log'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:17.350561 [ 5687 ] {e041110f-617b-4fcc-b9fe-62da7dba782d} executeQuery: Code: 47. DB::Exception: Missing columns: 'log10' while processing query: 'SELECT log10', required columns: 'log10'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT log10;) 2026.10.27 19:26:17.352527 [ 5687 ] {e041110f-617b-4fcc-b9fe-62da7dba782d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'log10' while processing query: 'SELECT log10', required columns: 'log10'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:17.366585 [ 5687 ] {fa5f5c27-9bf3-4bb4-b060-1f21b8a9d856} executeQuery: Code: 47. DB::Exception: Missing columns: 'log1p' while processing query: 'SELECT log1p', required columns: 'log1p'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT log1p;) 2026.10.27 19:26:17.368380 [ 5687 ] {fa5f5c27-9bf3-4bb4-b060-1f21b8a9d856} TCPHandler: Code: 47. DB::Exception: Missing columns: 'log1p' while processing query: 'SELECT log1p', required columns: 'log1p'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:17.483130 [ 5687 ] {2a50b99a-2629-4ced-a9bb-9d2b20c99dbe} executeQuery: Code: 47. DB::Exception: Missing columns: 'log2' while processing query: 'SELECT log2', required columns: 'log2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT log2;) 2026.10.27 19:26:17.486094 [ 5687 ] {2a50b99a-2629-4ced-a9bb-9d2b20c99dbe} TCPHandler: Code: 47. DB::Exception: Missing columns: 'log2' while processing query: 'SELECT log2', required columns: 'log2'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:17.616671 [ 5687 ] {dbadf82e-f67e-4568-b256-cd9b4f59c8ea} executeQuery: Code: 47. DB::Exception: Missing columns: 'logTrace' while processing query: 'SELECT logTrace', required columns: 'logTrace'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT logTrace;) 2026.10.27 19:26:17.619904 [ 5687 ] {dbadf82e-f67e-4568-b256-cd9b4f59c8ea} TCPHandler: Code: 47. DB::Exception: Missing columns: 'logTrace' while processing query: 'SELECT logTrace', required columns: 'logTrace'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:17.748578 [ 5687 ] {4ff5aee7-af52-4ef7-a45b-951e33677741} executeQuery: Code: 47. DB::Exception: Missing columns: 'lowCardinalityIndices' while processing query: 'SELECT lowCardinalityIndices', required columns: 'lowCardinalityIndices'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT lowCardinalityIndices;) 2026.10.27 19:26:17.752280 [ 5687 ] {4ff5aee7-af52-4ef7-a45b-951e33677741} TCPHandler: Code: 47. DB::Exception: Missing columns: 'lowCardinalityIndices' while processing query: 'SELECT lowCardinalityIndices', required columns: 'lowCardinalityIndices'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:17.782606 [ 5687 ] {6229bb11-3067-4460-aa60-17fa29202cff} executeQuery: Code: 47. DB::Exception: Missing columns: 'lowCardinalityKeys' while processing query: 'SELECT lowCardinalityKeys', required columns: 'lowCardinalityKeys'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT lowCardinalityKeys;) 2026.10.27 19:26:17.785967 [ 5687 ] {6229bb11-3067-4460-aa60-17fa29202cff} TCPHandler: Code: 47. DB::Exception: Missing columns: 'lowCardinalityKeys' while processing query: 'SELECT lowCardinalityKeys', required columns: 'lowCardinalityKeys'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:17.815556 [ 5687 ] {97c98bed-0480-41dc-9bbd-794d0c2bee70} executeQuery: Code: 47. DB::Exception: Missing columns: 'lower' while processing query: 'SELECT lower', required columns: 'lower'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT lower;) 2026.10.27 19:26:17.818799 [ 5687 ] {97c98bed-0480-41dc-9bbd-794d0c2bee70} TCPHandler: Code: 47. DB::Exception: Missing columns: 'lower' while processing query: 'SELECT lower', required columns: 'lower'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:17.946785 [ 5687 ] {c2d20e3e-8e7f-4501-94dd-49929866d60e} executeQuery: Code: 47. DB::Exception: Missing columns: 'lowerUTF8' while processing query: 'SELECT lowerUTF8', required columns: 'lowerUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT lowerUTF8;) 2026.10.27 19:26:17.949527 [ 5687 ] {c2d20e3e-8e7f-4501-94dd-49929866d60e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'lowerUTF8' while processing query: 'SELECT lowerUTF8', required columns: 'lowerUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:17.975858 [ 5687 ] {623b367d-b4b1-48d9-86c5-ae855f96675e} executeQuery: Code: 47. DB::Exception: Missing columns: 'lpad' while processing query: 'SELECT lpad', required columns: 'lpad'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT lpad;) 2026.10.27 19:26:17.978856 [ 5687 ] {623b367d-b4b1-48d9-86c5-ae855f96675e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'lpad' while processing query: 'SELECT lpad', required columns: 'lpad'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:18.004012 [ 5687 ] {d9a1d633-aa10-4f52-808d-41b296de498d} executeQuery: Code: 47. DB::Exception: Missing columns: 'ltrim' while processing query: 'SELECT ltrim', required columns: 'ltrim'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ltrim;) 2026.10.27 19:26:18.006581 [ 5687 ] {d9a1d633-aa10-4f52-808d-41b296de498d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ltrim' while processing query: 'SELECT ltrim', required columns: 'ltrim'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:18.134651 [ 5687 ] {6f3bf2fa-5299-4ae7-af1d-9fb43ad7a580} executeQuery: Code: 47. DB::Exception: Missing columns: 'makeDate' while processing query: 'SELECT makeDate', required columns: 'makeDate'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT makeDate;) 2026.10.27 19:26:18.137469 [ 5687 ] {6f3bf2fa-5299-4ae7-af1d-9fb43ad7a580} TCPHandler: Code: 47. DB::Exception: Missing columns: 'makeDate' while processing query: 'SELECT makeDate', required columns: 'makeDate'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:18.202055 [ 1848 ] {3a3cd7a6-727b-4c3c-a317-537060ca0986} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1048795 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column URL): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56582) (comment: 00038_uniq_state_merge2.sql) (in query: SELECT topLevelDomain(concat('http://', k)) AS tld, sum(u) AS u, uniqMerge(us) AS us FROM (SELECT domain(URL) AS k, uniq(UserID) AS u, uniqState(UserID) AS us FROM test.hits GROUP BY k) GROUP BY tld ORDER BY u DESC, tld ASC LIMIT 100 ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:176: void DB::deserializeBinarySSE2<1>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x0000000036ffe5e3 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:0: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b44 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 27. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 31. ? @ 0x00007fc6eb378a83 in ? 2026.10.27 19:26:18.202198 [ 9250 ] {34efbcc1-8b15-42c2-91f8-0110eb29e3b4} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53170) (comment: 00169_contingency.sql) (in query: WITH URLDomain AS a, URLDomain AS b SELECT round(cramersV(a, b), 2), round(cramersVBiasCorrected(a, b), 2), round(theilsU(a, b), 2), round(theilsU(b, a), 2), round(contingency(a, b), 2) FROM test.hits;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:18.202224 [ 2247 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_54_10}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.39 GiB (attempt to allocate chunk of 1049919 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:18.202415 [ 5708 ] {cc4fd30e-e9c0-4b0b-aed3-b574540f5980} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1101388 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_8_16_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 9833): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45314) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:18.267524 [ 5687 ] {3b502eae-93d9-43ff-a562-3553d55d0975} executeQuery: Code: 47. DB::Exception: Missing columns: 'makeDate32' while processing query: 'SELECT makeDate32', required columns: 'makeDate32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT makeDate32;) 2026.10.27 19:26:18.270815 [ 5687 ] {3b502eae-93d9-43ff-a562-3553d55d0975} TCPHandler: Code: 47. DB::Exception: Missing columns: 'makeDate32' while processing query: 'SELECT makeDate32', required columns: 'makeDate32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:18.299594 [ 5687 ] {3e8e8d0f-ff46-475c-974a-7cde6357e4ce} executeQuery: Code: 47. DB::Exception: Missing columns: 'makeDateTime' while processing query: 'SELECT makeDateTime', required columns: 'makeDateTime'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT makeDateTime;) 2026.10.27 19:26:18.302752 [ 5687 ] {3e8e8d0f-ff46-475c-974a-7cde6357e4ce} TCPHandler: Code: 47. DB::Exception: Missing columns: 'makeDateTime' while processing query: 'SELECT makeDateTime', required columns: 'makeDateTime'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:18.329499 [ 5687 ] {a180501a-4e9e-4baf-9fe8-a04ef9d0c787} executeQuery: Code: 47. DB::Exception: Missing columns: 'makeDateTime64' while processing query: 'SELECT makeDateTime64', required columns: 'makeDateTime64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT makeDateTime64;) 2026.10.27 19:26:18.331849 [ 5687 ] {a180501a-4e9e-4baf-9fe8-a04ef9d0c787} TCPHandler: Code: 47. DB::Exception: Missing columns: 'makeDateTime64' while processing query: 'SELECT makeDateTime64', required columns: 'makeDateTime64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:18.356696 [ 5687 ] {1dbdfe5f-f694-487e-8ba4-5e6a0f76dba8} executeQuery: Code: 47. DB::Exception: Missing columns: 'mannWhitneyUTest' while processing query: 'SELECT mannWhitneyUTest', required columns: 'mannWhitneyUTest'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mannWhitneyUTest;) 2026.10.27 19:26:18.358755 [ 5687 ] {1dbdfe5f-f694-487e-8ba4-5e6a0f76dba8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mannWhitneyUTest' while processing query: 'SELECT mannWhitneyUTest', required columns: 'mannWhitneyUTest'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:18.383530 [ 5687 ] {9949fa0d-493c-4c28-8fb2-03b027e3815c} executeQuery: Code: 47. DB::Exception: Missing columns: 'map' while processing query: 'SELECT map', required columns: 'map'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT map;) 2026.10.27 19:26:18.386117 [ 5687 ] {9949fa0d-493c-4c28-8fb2-03b027e3815c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'map' while processing query: 'SELECT map', required columns: 'map'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:18.411693 [ 5687 ] {d7047528-4462-4b0d-8e52-94965955ba87} executeQuery: Code: 47. DB::Exception: Missing columns: 'mapAdd' while processing query: 'SELECT mapAdd', required columns: 'mapAdd'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mapAdd;) 2026.10.27 19:26:18.414519 [ 5687 ] {d7047528-4462-4b0d-8e52-94965955ba87} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mapAdd' while processing query: 'SELECT mapAdd', required columns: 'mapAdd'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:18.442427 [ 5687 ] {1ab15ce0-572e-4b7d-8df1-ef9be7c3e2f5} executeQuery: Code: 47. DB::Exception: Missing columns: 'mapAll' while processing query: 'SELECT mapAll', required columns: 'mapAll'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mapAll;) 2026.10.27 19:26:18.445102 [ 5687 ] {1ab15ce0-572e-4b7d-8df1-ef9be7c3e2f5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mapAll' while processing query: 'SELECT mapAll', required columns: 'mapAll'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:18.573413 [ 5687 ] {a3398ca3-c988-4f4d-947d-88301e54a47b} executeQuery: Code: 47. DB::Exception: Missing columns: 'mapApply' while processing query: 'SELECT mapApply', required columns: 'mapApply'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mapApply;) 2026.10.27 19:26:18.576682 [ 5687 ] {a3398ca3-c988-4f4d-947d-88301e54a47b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mapApply' while processing query: 'SELECT mapApply', required columns: 'mapApply'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:18.596653 [ 5687 ] {7a9643f3-d71f-44f2-a75a-a6be4a6b4fa1} executeQuery: Code: 47. DB::Exception: Missing columns: 'mapConcat' while processing query: 'SELECT mapConcat', required columns: 'mapConcat'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mapConcat;) 2026.10.27 19:26:18.599949 [ 5687 ] {7a9643f3-d71f-44f2-a75a-a6be4a6b4fa1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mapConcat' while processing query: 'SELECT mapConcat', required columns: 'mapConcat'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:18.618369 [ 5687 ] {1959c926-417a-43d5-b658-d89b04eabdaa} executeQuery: Code: 47. DB::Exception: Missing columns: 'mapContains' while processing query: 'SELECT mapContains', required columns: 'mapContains'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mapContains;) 2026.10.27 19:26:18.621176 [ 5687 ] {1959c926-417a-43d5-b658-d89b04eabdaa} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mapContains' while processing query: 'SELECT mapContains', required columns: 'mapContains'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:18.644357 [ 5687 ] {8f40fa2c-c268-4b9a-ab81-bcb1095c1009} executeQuery: Code: 47. DB::Exception: Missing columns: 'mapContainsKeyLike' while processing query: 'SELECT mapContainsKeyLike', required columns: 'mapContainsKeyLike'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mapContainsKeyLike;) 2026.10.27 19:26:18.648604 [ 5687 ] {8f40fa2c-c268-4b9a-ab81-bcb1095c1009} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mapContainsKeyLike' while processing query: 'SELECT mapContainsKeyLike', required columns: 'mapContainsKeyLike'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:18.668746 [ 5687 ] {c8acd806-5233-4d66-9aac-87f3358958cb} executeQuery: Code: 47. DB::Exception: Missing columns: 'mapExists' while processing query: 'SELECT mapExists', required columns: 'mapExists'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mapExists;) 2026.10.27 19:26:18.671339 [ 5687 ] {c8acd806-5233-4d66-9aac-87f3358958cb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mapExists' while processing query: 'SELECT mapExists', required columns: 'mapExists'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:18.895547 [ 5687 ] {e274c9d0-0859-426b-8421-74d1631f1f6d} executeQuery: Code: 47. DB::Exception: Missing columns: 'mapExtractKeyLike' while processing query: 'SELECT mapExtractKeyLike', required columns: 'mapExtractKeyLike'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mapExtractKeyLike;) 2026.10.27 19:26:18.899613 [ 5687 ] {e274c9d0-0859-426b-8421-74d1631f1f6d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mapExtractKeyLike' while processing query: 'SELECT mapExtractKeyLike', required columns: 'mapExtractKeyLike'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:18.930523 [ 5687 ] {546bf3b9-020d-4a22-9923-64785cd52862} executeQuery: Code: 47. DB::Exception: Missing columns: 'mapFilter' while processing query: 'SELECT mapFilter', required columns: 'mapFilter'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mapFilter;) 2026.10.27 19:26:18.933909 [ 5687 ] {546bf3b9-020d-4a22-9923-64785cd52862} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mapFilter' while processing query: 'SELECT mapFilter', required columns: 'mapFilter'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:18.961295 [ 5687 ] {ffed3cd8-6e5c-4d60-9f48-2edad0c3994c} executeQuery: Code: 47. DB::Exception: Missing columns: 'mapFromArrays' while processing query: 'SELECT mapFromArrays', required columns: 'mapFromArrays'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mapFromArrays;) 2026.10.27 19:26:18.966002 [ 5687 ] {ffed3cd8-6e5c-4d60-9f48-2edad0c3994c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mapFromArrays' while processing query: 'SELECT mapFromArrays', required columns: 'mapFromArrays'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:18.990764 [ 5687 ] {b9fecea0-4525-4da9-93e1-46991806559f} executeQuery: Code: 47. DB::Exception: Missing columns: 'mapFromString' while processing query: 'SELECT mapFromString', required columns: 'mapFromString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mapFromString;) 2026.10.27 19:26:18.994004 [ 5687 ] {b9fecea0-4525-4da9-93e1-46991806559f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mapFromString' while processing query: 'SELECT mapFromString', required columns: 'mapFromString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:19.019438 [ 5687 ] {c6296425-ddc4-4310-8843-ad9e1c7e8935} executeQuery: Code: 47. DB::Exception: Missing columns: 'mapKeys' while processing query: 'SELECT mapKeys', required columns: 'mapKeys'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mapKeys;) 2026.10.27 19:26:19.123891 [ 5687 ] {c6296425-ddc4-4310-8843-ad9e1c7e8935} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mapKeys' while processing query: 'SELECT mapKeys', required columns: 'mapKeys'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:19.255512 [ 5687 ] {a7fc4995-d782-4ed8-a9a6-55120f4134a4} executeQuery: Code: 47. DB::Exception: Missing columns: 'mapPartialReverseSort' while processing query: 'SELECT mapPartialReverseSort', required columns: 'mapPartialReverseSort'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mapPartialReverseSort;) 2026.10.27 19:26:19.259185 [ 5687 ] {a7fc4995-d782-4ed8-a9a6-55120f4134a4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mapPartialReverseSort' while processing query: 'SELECT mapPartialReverseSort', required columns: 'mapPartialReverseSort'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:19.389198 [ 5687 ] {d458e9e3-5519-496d-8469-a36ed8f9aec3} executeQuery: Code: 47. DB::Exception: Missing columns: 'mapPartialSort' while processing query: 'SELECT mapPartialSort', required columns: 'mapPartialSort'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mapPartialSort;) 2026.10.27 19:26:19.392371 [ 5687 ] {d458e9e3-5519-496d-8469-a36ed8f9aec3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mapPartialSort' while processing query: 'SELECT mapPartialSort', required columns: 'mapPartialSort'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:19.420333 [ 5687 ] {9ea3e2ca-1209-4a02-a62a-006d71589818} executeQuery: Code: 47. DB::Exception: Missing columns: 'mapPopulateSeries' while processing query: 'SELECT mapPopulateSeries', required columns: 'mapPopulateSeries'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mapPopulateSeries;) 2026.10.27 19:26:19.423109 [ 5687 ] {9ea3e2ca-1209-4a02-a62a-006d71589818} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mapPopulateSeries' while processing query: 'SELECT mapPopulateSeries', required columns: 'mapPopulateSeries'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:19.449247 [ 5687 ] {913a0fa5-8409-414b-bfc3-9ceba04d05a9} executeQuery: Code: 47. DB::Exception: Missing columns: 'mapReverseSort' while processing query: 'SELECT mapReverseSort', required columns: 'mapReverseSort'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mapReverseSort;) 2026.10.27 19:26:19.451595 [ 5687 ] {913a0fa5-8409-414b-bfc3-9ceba04d05a9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mapReverseSort' while processing query: 'SELECT mapReverseSort', required columns: 'mapReverseSort'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:19.476663 [ 5687 ] {ad10b096-77ce-4483-b4bf-5342a169e453} executeQuery: Code: 47. DB::Exception: Missing columns: 'mapSort' while processing query: 'SELECT mapSort', required columns: 'mapSort'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mapSort;) 2026.10.27 19:26:19.479190 [ 5687 ] {ad10b096-77ce-4483-b4bf-5342a169e453} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mapSort' while processing query: 'SELECT mapSort', required columns: 'mapSort'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:19.506225 [ 5687 ] {3b6b4082-c7dc-4cc8-b85a-ac74aecc3162} executeQuery: Code: 47. DB::Exception: Missing columns: 'mapSubtract' while processing query: 'SELECT mapSubtract', required columns: 'mapSubtract'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mapSubtract;) 2026.10.27 19:26:19.509277 [ 5687 ] {3b6b4082-c7dc-4cc8-b85a-ac74aecc3162} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mapSubtract' while processing query: 'SELECT mapSubtract', required columns: 'mapSubtract'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:19.738120 [ 5687 ] {d0082600-4ac0-412e-9ead-b7c636375fcb} executeQuery: Code: 47. DB::Exception: Missing columns: 'mapUpdate' while processing query: 'SELECT mapUpdate', required columns: 'mapUpdate'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mapUpdate;) 2026.10.27 19:26:19.741664 [ 5687 ] {d0082600-4ac0-412e-9ead-b7c636375fcb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mapUpdate' while processing query: 'SELECT mapUpdate', required columns: 'mapUpdate'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:19.769745 [ 5687 ] {b1a25119-37b9-40b5-89bc-9ab23f40dd27} executeQuery: Code: 47. DB::Exception: Missing columns: 'mapValues' while processing query: 'SELECT mapValues', required columns: 'mapValues'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mapValues;) 2026.10.27 19:26:19.773065 [ 5687 ] {b1a25119-37b9-40b5-89bc-9ab23f40dd27} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mapValues' while processing query: 'SELECT mapValues', required columns: 'mapValues'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:19.902157 [ 5687 ] {1645c2dd-0775-462f-b9b2-112a509013b5} executeQuery: Code: 47. DB::Exception: Missing columns: 'match' while processing query: 'SELECT match', required columns: 'match'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT match;) 2026.10.27 19:26:19.905063 [ 5687 ] {1645c2dd-0775-462f-b9b2-112a509013b5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'match' while processing query: 'SELECT match', required columns: 'match'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:20.033063 [ 5705 ] {f5536e5b-5394-45a3-bc6f-29f229c6938e} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56592) (comment: 01825_type_json_nullable.sql) (in query: CREATE TABLE t_json_null (`id` UInt64, `data` Object(Nullable('JSON'))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 29339, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 1709, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 1534780646, index_granularity_bytes = 1626920, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 96071, primary_key_compress_block_size = 56611), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:296: DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x000000003ce1f4ac in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/StorageMergeTree.cpp:116: 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) @ 0x000000003d9fc2fc in /usr/bin/clickhouse 19. ./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&) @ 0x000000003d9fa74b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003d9ed120 in /usr/bin/clickhouse 21. ./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&) @ 0x000000003571bd9a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bbeeb7a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393dacd0 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c260a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c 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*) @ 0x000000003a989745 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 2026.10.27 19:26:20.033358 [ 5687 ] {75639f32-fd63-45cf-918a-ad8e43afd74c} executeQuery: Code: 47. DB::Exception: Missing columns: 'materialize' while processing query: 'SELECT materialize', required columns: 'materialize'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT materialize;) 2026.10.27 19:26:20.035878 [ 5687 ] {75639f32-fd63-45cf-918a-ad8e43afd74c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'materialize' while processing query: 'SELECT materialize', required columns: 'materialize'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:20.062662 [ 5687 ] {50e679fd-fb20-41e3-91ad-17f5709ea05f} executeQuery: Code: 47. DB::Exception: Missing columns: 'max' while processing query: 'SELECT max', required columns: 'max'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT max;) 2026.10.27 19:26:20.066410 [ 5687 ] {50e679fd-fb20-41e3-91ad-17f5709ea05f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'max' while processing query: 'SELECT max', required columns: 'max'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:20.090774 [ 5687 ] {9ee838eb-0ea9-4c3c-9381-80faef97b4a7} executeQuery: Code: 47. DB::Exception: Missing columns: 'max2' while processing query: 'SELECT max2', required columns: 'max2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT max2;) 2026.10.27 19:26:20.193226 [ 5687 ] {9ee838eb-0ea9-4c3c-9381-80faef97b4a7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'max2' while processing query: 'SELECT max2', required columns: 'max2'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:20.220699 [ 5687 ] {354e7c6b-b299-4057-a987-7c577966a273} executeQuery: Code: 47. DB::Exception: Missing columns: 'maxIntersections' while processing query: 'SELECT maxIntersections', required columns: 'maxIntersections'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT maxIntersections;) 2026.10.27 19:26:20.223348 [ 5687 ] {354e7c6b-b299-4057-a987-7c577966a273} TCPHandler: Code: 47. DB::Exception: Missing columns: 'maxIntersections' while processing query: 'SELECT maxIntersections', required columns: 'maxIntersections'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:20.250335 [ 5687 ] {1c7a0967-fe6d-4155-b234-43203c64571b} executeQuery: Code: 47. DB::Exception: Missing columns: 'maxIntersectionsPosition' while processing query: 'SELECT maxIntersectionsPosition', required columns: 'maxIntersectionsPosition'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT maxIntersectionsPosition;) 2026.10.27 19:26:20.253227 [ 5687 ] {1c7a0967-fe6d-4155-b234-43203c64571b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'maxIntersectionsPosition' while processing query: 'SELECT maxIntersectionsPosition', required columns: 'maxIntersectionsPosition'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:20.380592 [ 5687 ] {ee086390-762b-4617-adf0-95b3d360aced} executeQuery: Code: 47. DB::Exception: Missing columns: 'maxMappedArrays' while processing query: 'SELECT maxMappedArrays', required columns: 'maxMappedArrays'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT maxMappedArrays;) 2026.10.27 19:26:20.383321 [ 5687 ] {ee086390-762b-4617-adf0-95b3d360aced} TCPHandler: Code: 47. DB::Exception: Missing columns: 'maxMappedArrays' while processing query: 'SELECT maxMappedArrays', required columns: 'maxMappedArrays'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:20.410770 [ 5687 ] {3e69035d-95c5-4856-8ba0-6ddeaa518a9e} executeQuery: Code: 47. DB::Exception: Missing columns: 'meanZTest' while processing query: 'SELECT meanZTest', required columns: 'meanZTest'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT meanZTest;) 2026.10.27 19:26:20.413860 [ 5687 ] {3e69035d-95c5-4856-8ba0-6ddeaa518a9e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'meanZTest' while processing query: 'SELECT meanZTest', required columns: 'meanZTest'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:20.438759 [ 5687 ] {8f134c26-923b-41c5-84a6-14a1644c2f2b} executeQuery: Code: 47. DB::Exception: Missing columns: 'median' while processing query: 'SELECT median', required columns: 'median'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT median;) 2026.10.27 19:26:20.441203 [ 5687 ] {8f134c26-923b-41c5-84a6-14a1644c2f2b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'median' while processing query: 'SELECT median', required columns: 'median'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:20.467231 [ 5687 ] {928a5b17-a2f1-40f8-92b8-b24768d1a93e} executeQuery: Code: 47. DB::Exception: Missing columns: 'medianBFloat16' while processing query: 'SELECT medianBFloat16', required columns: 'medianBFloat16'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT medianBFloat16;) 2026.10.27 19:26:20.469768 [ 5687 ] {928a5b17-a2f1-40f8-92b8-b24768d1a93e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'medianBFloat16' while processing query: 'SELECT medianBFloat16', required columns: 'medianBFloat16'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:20.493223 [ 5687 ] {b9a50bf6-c29e-4eee-8eab-416e68074edd} executeQuery: Code: 47. DB::Exception: Missing columns: 'medianBFloat16Weighted' while processing query: 'SELECT medianBFloat16Weighted', required columns: 'medianBFloat16Weighted'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT medianBFloat16Weighted;) 2026.10.27 19:26:20.495317 [ 5687 ] {b9a50bf6-c29e-4eee-8eab-416e68074edd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'medianBFloat16Weighted' while processing query: 'SELECT medianBFloat16Weighted', required columns: 'medianBFloat16Weighted'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:20.713664 [ 5687 ] {280c93b8-0cfd-44e6-b949-cea9f8e11c19} executeQuery: Code: 47. DB::Exception: Missing columns: 'medianDeterministic' while processing query: 'SELECT medianDeterministic', required columns: 'medianDeterministic'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT medianDeterministic;) 2026.10.27 19:26:20.716532 [ 5687 ] {280c93b8-0cfd-44e6-b949-cea9f8e11c19} TCPHandler: Code: 47. DB::Exception: Missing columns: 'medianDeterministic' while processing query: 'SELECT medianDeterministic', required columns: 'medianDeterministic'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:20.743119 [ 5687 ] {dfcb203c-02dd-4efb-9b70-e9db723ff837} executeQuery: Code: 47. DB::Exception: Missing columns: 'medianExact' while processing query: 'SELECT medianExact', required columns: 'medianExact'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT medianExact;) 2026.10.27 19:26:20.745993 [ 5687 ] {dfcb203c-02dd-4efb-9b70-e9db723ff837} TCPHandler: Code: 47. DB::Exception: Missing columns: 'medianExact' while processing query: 'SELECT medianExact', required columns: 'medianExact'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:20.779143 [ 5687 ] {2ecf3a9e-9974-4b13-8bb8-36d363fa848c} executeQuery: Code: 47. DB::Exception: Missing columns: 'medianExactHigh' while processing query: 'SELECT medianExactHigh', required columns: 'medianExactHigh'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT medianExactHigh;) 2026.10.27 19:26:20.784167 [ 5687 ] {2ecf3a9e-9974-4b13-8bb8-36d363fa848c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'medianExactHigh' while processing query: 'SELECT medianExactHigh', required columns: 'medianExactHigh'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:20.809150 [ 5687 ] {4b905274-f841-4ff0-a839-0e0aea1105da} executeQuery: Code: 47. DB::Exception: Missing columns: 'medianExactLow' while processing query: 'SELECT medianExactLow', required columns: 'medianExactLow'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT medianExactLow;) 2026.10.27 19:26:20.811699 [ 5687 ] {4b905274-f841-4ff0-a839-0e0aea1105da} TCPHandler: Code: 47. DB::Exception: Missing columns: 'medianExactLow' while processing query: 'SELECT medianExactLow', required columns: 'medianExactLow'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:20.937597 [ 5687 ] {3f3ba4d0-cebc-4a63-84d4-b8c4b71b0f43} executeQuery: Code: 47. DB::Exception: Missing columns: 'medianExactWeighted' while processing query: 'SELECT medianExactWeighted', required columns: 'medianExactWeighted'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT medianExactWeighted;) 2026.10.27 19:26:20.940786 [ 5687 ] {3f3ba4d0-cebc-4a63-84d4-b8c4b71b0f43} TCPHandler: Code: 47. DB::Exception: Missing columns: 'medianExactWeighted' while processing query: 'SELECT medianExactWeighted', required columns: 'medianExactWeighted'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:20.967882 [ 5687 ] {bab303fc-936a-4517-922b-bce608f7427c} executeQuery: Code: 47. DB::Exception: Missing columns: 'medianGK' while processing query: 'SELECT medianGK', required columns: 'medianGK'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT medianGK;) 2026.10.27 19:26:20.970966 [ 5687 ] {bab303fc-936a-4517-922b-bce608f7427c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'medianGK' while processing query: 'SELECT medianGK', required columns: 'medianGK'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:21.098969 [ 5687 ] {46be0cc5-21cf-4006-98fe-23f006f0fe51} executeQuery: Code: 47. DB::Exception: Missing columns: 'medianInterpolatedWeighted' while processing query: 'SELECT medianInterpolatedWeighted', required columns: 'medianInterpolatedWeighted'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT medianInterpolatedWeighted;) 2026.10.27 19:26:21.101759 [ 5687 ] {46be0cc5-21cf-4006-98fe-23f006f0fe51} TCPHandler: Code: 47. DB::Exception: Missing columns: 'medianInterpolatedWeighted' while processing query: 'SELECT medianInterpolatedWeighted', required columns: 'medianInterpolatedWeighted'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:21.128559 [ 5687 ] {35a39195-3ecc-47c8-b6ae-51f25a1406f4} executeQuery: Code: 47. DB::Exception: Missing columns: 'medianTDigest' while processing query: 'SELECT medianTDigest', required columns: 'medianTDigest'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT medianTDigest;) 2026.10.27 19:26:21.131217 [ 5687 ] {35a39195-3ecc-47c8-b6ae-51f25a1406f4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'medianTDigest' while processing query: 'SELECT medianTDigest', required columns: 'medianTDigest'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:21.156686 [ 5687 ] {2c20b407-cbb7-4aa4-b07a-413d557d7e57} executeQuery: Code: 47. DB::Exception: Missing columns: 'medianTDigestWeighted' while processing query: 'SELECT medianTDigestWeighted', required columns: 'medianTDigestWeighted'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT medianTDigestWeighted;) 2026.10.27 19:26:21.159186 [ 5687 ] {2c20b407-cbb7-4aa4-b07a-413d557d7e57} TCPHandler: Code: 47. DB::Exception: Missing columns: 'medianTDigestWeighted' while processing query: 'SELECT medianTDigestWeighted', required columns: 'medianTDigestWeighted'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:21.183205 [ 5687 ] {1451b69e-3b4f-4031-a464-eba5d266560d} executeQuery: Code: 47. DB::Exception: Missing columns: 'medianTiming' while processing query: 'SELECT medianTiming', required columns: 'medianTiming'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT medianTiming;) 2026.10.27 19:26:21.185776 [ 5687 ] {1451b69e-3b4f-4031-a464-eba5d266560d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'medianTiming' while processing query: 'SELECT medianTiming', required columns: 'medianTiming'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:21.210771 [ 5687 ] {04a3c481-4c1e-43ce-bf77-72317f7cf8cf} executeQuery: Code: 47. DB::Exception: Missing columns: 'medianTimingWeighted' while processing query: 'SELECT medianTimingWeighted', required columns: 'medianTimingWeighted'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT medianTimingWeighted;) 2026.10.27 19:26:21.213318 [ 5687 ] {04a3c481-4c1e-43ce-bf77-72317f7cf8cf} TCPHandler: Code: 47. DB::Exception: Missing columns: 'medianTimingWeighted' while processing query: 'SELECT medianTimingWeighted', required columns: 'medianTimingWeighted'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:21.237932 [ 5687 ] {0b691845-b828-4512-a037-0c450375b8b8} executeQuery: Code: 47. DB::Exception: Missing columns: 'meiliMatch' while processing query: 'SELECT meiliMatch', required columns: 'meiliMatch'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT meiliMatch;) 2026.10.27 19:26:21.240533 [ 5687 ] {0b691845-b828-4512-a037-0c450375b8b8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'meiliMatch' while processing query: 'SELECT meiliMatch', required columns: 'meiliMatch'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:21.366912 [ 5687 ] {948561ac-5fb8-4d96-82b5-3c34cfb5d864} executeQuery: Code: 47. DB::Exception: Missing columns: 'metroHash64' while processing query: 'SELECT metroHash64', required columns: 'metroHash64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT metroHash64;) 2026.10.27 19:26:21.369967 [ 5687 ] {948561ac-5fb8-4d96-82b5-3c34cfb5d864} TCPHandler: Code: 47. DB::Exception: Missing columns: 'metroHash64' while processing query: 'SELECT metroHash64', required columns: 'metroHash64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:21.396927 [ 5687 ] {1947d5ee-1f31-4f11-b836-221f1f9eaa32} executeQuery: Code: 47. DB::Exception: Missing columns: 'mid' while processing query: 'SELECT mid', required columns: 'mid'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mid;) 2026.10.27 19:26:21.399585 [ 5687 ] {1947d5ee-1f31-4f11-b836-221f1f9eaa32} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mid' while processing query: 'SELECT mid', required columns: 'mid'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:21.425497 [ 5687 ] {b9b69fdd-0a8d-49e0-b3ba-06e8d2af4135} executeQuery: Code: 47. DB::Exception: Missing columns: 'min' while processing query: 'SELECT min', required columns: 'min'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT min;) 2026.10.27 19:26:21.428443 [ 5687 ] {b9b69fdd-0a8d-49e0-b3ba-06e8d2af4135} TCPHandler: Code: 47. DB::Exception: Missing columns: 'min' while processing query: 'SELECT min', required columns: 'min'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:21.521921 [ 4374 ] {bd576a45-febc-4998-a29b-2537124c335a} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 15.00 million, current rows: 17.75 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:21.522022 [ 2237 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {8460cadc-c6b1-435d-a2d7-c00420d93d42::all_0_0_0_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.46 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList const&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&, bool, bool, DB::WriteSettings, DB::MergeTreeIndexGranularity&, void>(std::allocator const&, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList const&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&&, DB::WriteSettings&&, DB::MergeTreeIndexGranularity&) @ 0x000000003d6e183e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::MutateAllPartColumnsTask::prepare() @ 0x000000003d6dc7e3 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:1246: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000003d6d5110 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:1754: DB::MutateTask::execute() @ 0x000000003d6852d2 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MutateFromLogEntryTask.h:44: DB::MutateFromLogEntryTask::executeInnerTask() @ 0x000000003d676226 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000003d79ff82 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000003d79d3c5 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:21.522249 [ 7225 ] {11817fe4-4a1e-4711-b676-9571417a077b} ExternalDictionariesLoader: Could not load external dictionary 'test_5.dict', next update is scheduled at 2026-10-27 19:26:09: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 67108864 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. HashTable, HashTableNoState>, DefaultHash, DB::HashedDictionaryImpl::HashTableGrowerWithPrecalculationAndMaxLoadFactor<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000002bb33dfe in /usr/bin/clickhouse 10. void detail::static_for::getAttributeContainers::resize(unsigned long)::'lambda'(auto&)>(unsigned long, auto&&)::'lambda'(auto const&)&>(DB::AttributeUnderlyingType, auto&&)::'lambda'(auto), 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul, 8ul, 9ul, 10ul, 11ul, 12ul, 13ul, 14ul, 15ul, 16ul, 17ul, 18ul, 19ul, 20ul, 21ul, 22ul, 23ul>(void DB::callOnDictionaryAttributeType::getAttributeContainers::resize(unsigned long)::'lambda'(auto&)>(unsigned long, auto&&)::'lambda'(auto const&)&>(DB::AttributeUnderlyingType, auto&&)::'lambda'(auto)&&, std::integer_sequence) @ 0x000000002bbdbcac in /usr/bin/clickhouse 11. DB::HashedDictionary<(DB::DictionaryKeyType)0, true, false>::loadData() @ 0x000000002b3e4799 in /usr/bin/clickhouse 12. DB::HashedDictionary<(DB::DictionaryKeyType)0, true, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x000000002b3e3401 in /usr/bin/clickhouse 13. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000002b3b8356 in /usr/bin/clickhouse 14. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b3ba3d7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000035256311 in /usr/bin/clickhouse 16. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000035252fb7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038c9ac44 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038ca6a60 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cc3485 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cba4b5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ccec9a in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038cce77f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 25. ? @ 0x00007fc6eb378a83 in ? 26. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:21.554855 [ 5687 ] {f4653775-766f-4853-8eeb-b0e9c77393d1} executeQuery: Code: 47. DB::Exception: Missing columns: 'min2' while processing query: 'SELECT min2', required columns: 'min2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT min2;) 2026.10.27 19:26:21.558864 [ 5687 ] {f4653775-766f-4853-8eeb-b0e9c77393d1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'min2' while processing query: 'SELECT min2', required columns: 'min2'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:21.583366 [ 5687 ] {3253501b-da87-4ba9-bb6d-4bd62859e1b0} executeQuery: Code: 47. DB::Exception: Missing columns: 'minMappedArrays' while processing query: 'SELECT minMappedArrays', required columns: 'minMappedArrays'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT minMappedArrays;) 2026.10.27 19:26:21.585492 [ 5687 ] {3253501b-da87-4ba9-bb6d-4bd62859e1b0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'minMappedArrays' while processing query: 'SELECT minMappedArrays', required columns: 'minMappedArrays'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:21.608664 [ 5687 ] {5b365e7d-c303-4d27-ba50-28cf49429895} executeQuery: Code: 47. DB::Exception: Missing columns: 'minSampleSizeContinous' while processing query: 'SELECT minSampleSizeContinous', required columns: 'minSampleSizeContinous'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT minSampleSizeContinous;) 2026.10.27 19:26:21.610407 [ 5687 ] {5b365e7d-c303-4d27-ba50-28cf49429895} TCPHandler: Code: 47. DB::Exception: Missing columns: 'minSampleSizeContinous' while processing query: 'SELECT minSampleSizeContinous', required columns: 'minSampleSizeContinous'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:21.635019 [ 5687 ] {5c0df4e1-fc38-465e-b098-c240eb39b6dc} executeQuery: Code: 47. DB::Exception: Missing columns: 'minSampleSizeConversion' while processing query: 'SELECT minSampleSizeConversion', required columns: 'minSampleSizeConversion'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT minSampleSizeConversion;) 2026.10.27 19:26:21.637596 [ 5687 ] {5c0df4e1-fc38-465e-b098-c240eb39b6dc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'minSampleSizeConversion' while processing query: 'SELECT minSampleSizeConversion', required columns: 'minSampleSizeConversion'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:21.658622 [ 5687 ] {bf967d60-169e-4ab8-9bf3-c1d62f9b918e} executeQuery: Code: 47. DB::Exception: Missing columns: 'minus' while processing query: 'SELECT minus', required columns: 'minus'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT minus;) 2026.10.27 19:26:21.760796 [ 5687 ] {bf967d60-169e-4ab8-9bf3-c1d62f9b918e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'minus' while processing query: 'SELECT minus', required columns: 'minus'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:21.787797 [ 5687 ] {5266420e-4f5c-487f-997b-e2e3414ec344} executeQuery: Code: 47. DB::Exception: Missing columns: 'mod' while processing query: 'SELECT mod', required columns: 'mod'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mod;) 2026.10.27 19:26:21.790679 [ 5687 ] {5266420e-4f5c-487f-997b-e2e3414ec344} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mod' while processing query: 'SELECT mod', required columns: 'mod'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:21.815482 [ 5687 ] {c94082d7-3cc5-4aba-b326-40728024d530} executeQuery: Code: 47. DB::Exception: Missing columns: 'modulo' while processing query: 'SELECT modulo', required columns: 'modulo'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT modulo;) 2026.10.27 19:26:21.818412 [ 5687 ] {c94082d7-3cc5-4aba-b326-40728024d530} TCPHandler: Code: 47. DB::Exception: Missing columns: 'modulo' while processing query: 'SELECT modulo', required columns: 'modulo'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:21.946513 [ 5687 ] {f6fe5357-527c-4877-98b2-41adf2aa0c86} executeQuery: Code: 47. DB::Exception: Missing columns: 'moduloLegacy' while processing query: 'SELECT moduloLegacy', required columns: 'moduloLegacy'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT moduloLegacy;) 2026.10.27 19:26:21.949339 [ 5687 ] {f6fe5357-527c-4877-98b2-41adf2aa0c86} TCPHandler: Code: 47. DB::Exception: Missing columns: 'moduloLegacy' while processing query: 'SELECT moduloLegacy', required columns: 'moduloLegacy'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:21.977008 [ 5687 ] {d853082d-5d73-4db9-9f4b-819f0efbdbcd} executeQuery: Code: 47. DB::Exception: Missing columns: 'moduloOrZero' while processing query: 'SELECT moduloOrZero', required columns: 'moduloOrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT moduloOrZero;) 2026.10.27 19:26:21.980552 [ 5687 ] {d853082d-5d73-4db9-9f4b-819f0efbdbcd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'moduloOrZero' while processing query: 'SELECT moduloOrZero', required columns: 'moduloOrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:22.006374 [ 5687 ] {b2e93195-895c-43f8-acf9-0d3f5e62740c} executeQuery: Code: 47. DB::Exception: Missing columns: 'monthName' while processing query: 'SELECT monthName', required columns: 'monthName'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT monthName;) 2026.10.27 19:26:22.009668 [ 5687 ] {b2e93195-895c-43f8-acf9-0d3f5e62740c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'monthName' while processing query: 'SELECT monthName', required columns: 'monthName'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:22.030651 [ 5687 ] {a76e501a-3db8-4418-b52d-70ad7bbde79d} executeQuery: Code: 47. DB::Exception: Missing columns: 'mortonDecode' while processing query: 'SELECT mortonDecode', required columns: 'mortonDecode'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mortonDecode;) 2026.10.27 19:26:22.033979 [ 5687 ] {a76e501a-3db8-4418-b52d-70ad7bbde79d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mortonDecode' while processing query: 'SELECT mortonDecode', required columns: 'mortonDecode'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:22.051709 [ 5687 ] {9324976f-f6d6-4051-88cb-b8896e520bd6} executeQuery: Code: 47. DB::Exception: Missing columns: 'mortonEncode' while processing query: 'SELECT mortonEncode', required columns: 'mortonEncode'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT mortonEncode;) 2026.10.27 19:26:22.054554 [ 5687 ] {9324976f-f6d6-4051-88cb-b8896e520bd6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'mortonEncode' while processing query: 'SELECT mortonEncode', required columns: 'mortonEncode'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:22.075926 [ 5687 ] {2d5cabcc-ed05-4940-9f8a-580177b1041b} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiFuzzyMatchAllIndices' while processing query: 'SELECT multiFuzzyMatchAllIndices', required columns: 'multiFuzzyMatchAllIndices'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiFuzzyMatchAllIndices;) 2026.10.27 19:26:22.078744 [ 5687 ] {2d5cabcc-ed05-4940-9f8a-580177b1041b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiFuzzyMatchAllIndices' while processing query: 'SELECT multiFuzzyMatchAllIndices', required columns: 'multiFuzzyMatchAllIndices'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:22.099002 [ 5687 ] {d6bc0ba2-d56b-4889-bb76-007e4a8be7e2} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiFuzzyMatchAny' while processing query: 'SELECT multiFuzzyMatchAny', required columns: 'multiFuzzyMatchAny'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiFuzzyMatchAny;) 2026.10.27 19:26:22.101269 [ 5687 ] {d6bc0ba2-d56b-4889-bb76-007e4a8be7e2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiFuzzyMatchAny' while processing query: 'SELECT multiFuzzyMatchAny', required columns: 'multiFuzzyMatchAny'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:22.225590 [ 5687 ] {a50a5c86-a1c6-401e-a047-6fa2ef78ab66} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiFuzzyMatchAnyIndex' while processing query: 'SELECT multiFuzzyMatchAnyIndex', required columns: 'multiFuzzyMatchAnyIndex'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiFuzzyMatchAnyIndex;) 2026.10.27 19:26:22.228782 [ 5687 ] {a50a5c86-a1c6-401e-a047-6fa2ef78ab66} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiFuzzyMatchAnyIndex' while processing query: 'SELECT multiFuzzyMatchAnyIndex', required columns: 'multiFuzzyMatchAnyIndex'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:22.257289 [ 5687 ] {f949f8d9-1a36-4dc4-ae0f-8487a8fe1312} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiIf' while processing query: 'SELECT multiIf', required columns: 'multiIf'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiIf;) 2026.10.27 19:26:22.260786 [ 5687 ] {f949f8d9-1a36-4dc4-ae0f-8487a8fe1312} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiIf' while processing query: 'SELECT multiIf', required columns: 'multiIf'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:22.290378 [ 5687 ] {094bed00-6778-4d14-b4f9-77250082275e} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiMatchAllIndices' while processing query: 'SELECT multiMatchAllIndices', required columns: 'multiMatchAllIndices'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiMatchAllIndices;) 2026.10.27 19:26:22.293904 [ 5687 ] {094bed00-6778-4d14-b4f9-77250082275e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiMatchAllIndices' while processing query: 'SELECT multiMatchAllIndices', required columns: 'multiMatchAllIndices'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:22.325291 [ 5687 ] {cbf63f79-6c5e-4c75-b8cb-6d033b3bb21c} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiMatchAny' while processing query: 'SELECT multiMatchAny', required columns: 'multiMatchAny'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiMatchAny;) 2026.10.27 19:26:22.332020 [ 5687 ] {cbf63f79-6c5e-4c75-b8cb-6d033b3bb21c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiMatchAny' while processing query: 'SELECT multiMatchAny', required columns: 'multiMatchAny'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:22.357633 [ 5687 ] {df6ca30f-7cdb-415c-9944-da7fea3ed9d8} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiMatchAnyIndex' while processing query: 'SELECT multiMatchAnyIndex', required columns: 'multiMatchAnyIndex'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiMatchAnyIndex;) 2026.10.27 19:26:22.461500 [ 5687 ] {df6ca30f-7cdb-415c-9944-da7fea3ed9d8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiMatchAnyIndex' while processing query: 'SELECT multiMatchAnyIndex', required columns: 'multiMatchAnyIndex'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:22.490122 [ 5687 ] {440f2359-790c-4066-8999-43ff72bcd0fd} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiSearchAllPositions' while processing query: 'SELECT multiSearchAllPositions', required columns: 'multiSearchAllPositions'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiSearchAllPositions;) 2026.10.27 19:26:22.493565 [ 5687 ] {440f2359-790c-4066-8999-43ff72bcd0fd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiSearchAllPositions' while processing query: 'SELECT multiSearchAllPositions', required columns: 'multiSearchAllPositions'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:22.514990 [ 5687 ] {8d4a3f74-463c-4840-9136-a90a9c5d0448} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiSearchAllPositionsCaseInsensitive' while processing query: 'SELECT multiSearchAllPositionsCaseInsensitive', required columns: 'multiSearchAllPositionsCaseInsensitive'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiSearchAllPositionsCaseInsensitive;) 2026.10.27 19:26:22.518420 [ 5687 ] {8d4a3f74-463c-4840-9136-a90a9c5d0448} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiSearchAllPositionsCaseInsensitive' while processing query: 'SELECT multiSearchAllPositionsCaseInsensitive', required columns: 'multiSearchAllPositionsCaseInsensitive'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:22.638587 [ 5687 ] {f9a3ce80-f126-485d-b490-478db8fc2469} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiSearchAllPositionsCaseInsensitiveUTF8' while processing query: 'SELECT multiSearchAllPositionsCaseInsensitiveUTF8', required columns: 'multiSearchAllPositionsCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiSearchAllPositionsCaseInsensitiveUTF8;) 2026.10.27 19:26:22.641804 [ 5687 ] {f9a3ce80-f126-485d-b490-478db8fc2469} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiSearchAllPositionsCaseInsensitiveUTF8' while processing query: 'SELECT multiSearchAllPositionsCaseInsensitiveUTF8', required columns: 'multiSearchAllPositionsCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:22.661374 [ 5687 ] {cd6bba87-c81b-4093-9dad-87ef8e5a940a} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiSearchAllPositionsUTF8' while processing query: 'SELECT multiSearchAllPositionsUTF8', required columns: 'multiSearchAllPositionsUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiSearchAllPositionsUTF8;) 2026.10.27 19:26:22.663349 [ 5687 ] {cd6bba87-c81b-4093-9dad-87ef8e5a940a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiSearchAllPositionsUTF8' while processing query: 'SELECT multiSearchAllPositionsUTF8', required columns: 'multiSearchAllPositionsUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:22.682729 [ 5687 ] {87d9c90b-b937-44f4-99a1-505de94c1f21} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiSearchAny' while processing query: 'SELECT multiSearchAny', required columns: 'multiSearchAny'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiSearchAny;) 2026.10.27 19:26:22.684522 [ 5687 ] {87d9c90b-b937-44f4-99a1-505de94c1f21} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiSearchAny' while processing query: 'SELECT multiSearchAny', required columns: 'multiSearchAny'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:22.808300 [ 5687 ] {38c7bbb5-fc8e-4e35-9dd5-25e163b23602} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiSearchAnyCaseInsensitive' while processing query: 'SELECT multiSearchAnyCaseInsensitive', required columns: 'multiSearchAnyCaseInsensitive'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiSearchAnyCaseInsensitive;) 2026.10.27 19:26:22.811325 [ 5687 ] {38c7bbb5-fc8e-4e35-9dd5-25e163b23602} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiSearchAnyCaseInsensitive' while processing query: 'SELECT multiSearchAnyCaseInsensitive', required columns: 'multiSearchAnyCaseInsensitive'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:22.940105 [ 5687 ] {13b8bc24-cdb7-419b-a3f8-6056e8ca78d2} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiSearchAnyCaseInsensitiveUTF8' while processing query: 'SELECT multiSearchAnyCaseInsensitiveUTF8', required columns: 'multiSearchAnyCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiSearchAnyCaseInsensitiveUTF8;) 2026.10.27 19:26:22.944808 [ 5687 ] {13b8bc24-cdb7-419b-a3f8-6056e8ca78d2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiSearchAnyCaseInsensitiveUTF8' while processing query: 'SELECT multiSearchAnyCaseInsensitiveUTF8', required columns: 'multiSearchAnyCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:22.968855 [ 5687 ] {2e9d6fc3-3f3b-4c13-971a-07661f8b78cf} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiSearchAnyUTF8' while processing query: 'SELECT multiSearchAnyUTF8', required columns: 'multiSearchAnyUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiSearchAnyUTF8;) 2026.10.27 19:26:22.971516 [ 5687 ] {2e9d6fc3-3f3b-4c13-971a-07661f8b78cf} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiSearchAnyUTF8' while processing query: 'SELECT multiSearchAnyUTF8', required columns: 'multiSearchAnyUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:23.094986 [ 5687 ] {2789f481-181e-4c57-9198-d0274907ddfd} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiSearchFirstIndex' while processing query: 'SELECT multiSearchFirstIndex', required columns: 'multiSearchFirstIndex'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiSearchFirstIndex;) 2026.10.27 19:26:23.098061 [ 5687 ] {2789f481-181e-4c57-9198-d0274907ddfd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiSearchFirstIndex' while processing query: 'SELECT multiSearchFirstIndex', required columns: 'multiSearchFirstIndex'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:23.124101 [ 5687 ] {e757934d-daed-4597-af6f-d9258eed8e47} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiSearchFirstIndexCaseInsensitive' while processing query: 'SELECT multiSearchFirstIndexCaseInsensitive', required columns: 'multiSearchFirstIndexCaseInsensitive'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiSearchFirstIndexCaseInsensitive;) 2026.10.27 19:26:23.126448 [ 5687 ] {e757934d-daed-4597-af6f-d9258eed8e47} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiSearchFirstIndexCaseInsensitive' while processing query: 'SELECT multiSearchFirstIndexCaseInsensitive', required columns: 'multiSearchFirstIndexCaseInsensitive'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:23.152821 [ 6141 ] {4eb34d76-32fd-4662-9fef-16c566e9c23b} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 385.84 MiB (attempt to allocate chunk of 1572864 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::(anonymous namespace)::getBlockSortPermutationImpl(DB::Block const&, DB::SortDescription const&, DB::IColumn::PermutationSortStability, unsigned long, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa25639 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa2460c in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:23.152985 [ 4309 ] {26f4b7fa-8845-43d6-abf7-2e737071db60} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation '0000000000' with part 'all_0_0_0' reason: 'Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.46 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build))'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53192) (comment: 01079_alter_default_zookeeper_long.sql) (in query: ALTER TABLE alter_default MODIFY COLUMN value UInt64;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d3f1fe4 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d3f1895 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bf86df3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c13217e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c12c6fc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0598 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:23.153078 [ 6121 ] {548e280c-9ab8-45a4-b8ed-6d71e1293683} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:23.153170 [ 9250 ] {34efbcc1-8b15-42c2-91f8-0110eb29e3b4} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:23.153218 [ 1848 ] {3a3cd7a6-727b-4c3c-a317-537060ca0986} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1048795 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column URL): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:176: void DB::deserializeBinarySSE2<1>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x0000000036ffe5e3 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:0: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b44 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 27. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 31. ? @ 0x00007fc6eb378a83 in ? 2026.10.27 19:26:23.153271 [ 2232 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1152006 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (while reading column UserID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_7_7_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 6616): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::resize(unsigned long) @ 0x00000000209e2879 in /usr/bin/clickhouse 11. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x000000003689445f in /usr/bin/clickhouse 12. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000036894c8d in /usr/bin/clickhouse 13. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:160: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f83cd3 in /usr/bin/clickhouse 14. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:23.153408 [ 5708 ] {cc4fd30e-e9c0-4b0b-aed3-b574540f5980} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1101388 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_8_16_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 9833): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:23.153395 [ 5687 ] {c6610fde-33f3-4b1d-8477-598a4b405a4d} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiSearchFirstIndexCaseInsensitiveUTF8' while processing query: 'SELECT multiSearchFirstIndexCaseInsensitiveUTF8', required columns: 'multiSearchFirstIndexCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiSearchFirstIndexCaseInsensitiveUTF8;) 2026.10.27 19:26:23.153406 [ 5705 ] {f5536e5b-5394-45a3-bc6f-29f229c6938e} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:296: DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x000000003ce1f4ac in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/StorageMergeTree.cpp:116: 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) @ 0x000000003d9fc2fc in /usr/bin/clickhouse 19. ./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&) @ 0x000000003d9fa74b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003d9ed120 in /usr/bin/clickhouse 21. ./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&) @ 0x000000003571bd9a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bbeeb7a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393dacd0 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c260a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c 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*) @ 0x000000003a989745 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 2026.10.27 19:26:23.153297 [ 2238 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_52_96_7}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1091555 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (while reading from part /var/lib/clickhouse/disks/s3/store/29b/29baccac-732e-4d30-9f86-41a1af37e650/202610_94_94_0/ in table system.text_log (29baccac-732e-4d30-9f86-41a1af37e650) located on disk s3 of type s3, from mark 0 with max_rows_to_read = 679): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:176: void DB::deserializeBinarySSE2<1>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x0000000036ffe5e3 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:0: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b44 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeReaderCompact::readData(DB::NameAndTypePair const&, COW::immutable_ptr&, unsigned long, unsigned long, unsigned long, unsigned long, std::optional>) @ 0x000000003d45c381 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d45a13b in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:23.153813 [ 2671 ] {11817fe4-4a1e-4711-b676-9571417a077b} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 67108864 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46684) (comment: 02760_dictionaries_memory.gen.sql) (in query: SYSTEM RELOAD DICTIONARY dict;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. HashTable, HashTableNoState>, DefaultHash, DB::HashedDictionaryImpl::HashTableGrowerWithPrecalculationAndMaxLoadFactor<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000002bb33dfe in /usr/bin/clickhouse 10. void detail::static_for::getAttributeContainers::resize(unsigned long)::'lambda'(auto&)>(unsigned long, auto&&)::'lambda'(auto const&)&>(DB::AttributeUnderlyingType, auto&&)::'lambda'(auto), 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul, 8ul, 9ul, 10ul, 11ul, 12ul, 13ul, 14ul, 15ul, 16ul, 17ul, 18ul, 19ul, 20ul, 21ul, 22ul, 23ul>(void DB::callOnDictionaryAttributeType::getAttributeContainers::resize(unsigned long)::'lambda'(auto&)>(unsigned long, auto&&)::'lambda'(auto const&)&>(DB::AttributeUnderlyingType, auto&&)::'lambda'(auto)&&, std::integer_sequence) @ 0x000000002bbdbcac in /usr/bin/clickhouse 11. DB::HashedDictionary<(DB::DictionaryKeyType)0, true, false>::loadData() @ 0x000000002b3e4799 in /usr/bin/clickhouse 12. DB::HashedDictionary<(DB::DictionaryKeyType)0, true, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x000000002b3e3401 in /usr/bin/clickhouse 13. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000002b3b8356 in /usr/bin/clickhouse 14. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b3ba3d7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000035256311 in /usr/bin/clickhouse 16. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000035252fb7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038c9ac44 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038ca6a60 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cc3485 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cba4b5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ccec9a in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038cce77f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 25. ? @ 0x00007fc6eb378a83 in ? 26. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:23.156414 [ 5687 ] {c6610fde-33f3-4b1d-8477-598a4b405a4d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiSearchFirstIndexCaseInsensitiveUTF8' while processing query: 'SELECT multiSearchFirstIndexCaseInsensitiveUTF8', required columns: 'multiSearchFirstIndexCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:23.286540 [ 5687 ] {6f9749fe-31f5-4e90-9b68-7b509573814d} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiSearchFirstIndexUTF8' while processing query: 'SELECT multiSearchFirstIndexUTF8', required columns: 'multiSearchFirstIndexUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiSearchFirstIndexUTF8;) 2026.10.27 19:26:23.289520 [ 5687 ] {6f9749fe-31f5-4e90-9b68-7b509573814d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiSearchFirstIndexUTF8' while processing query: 'SELECT multiSearchFirstIndexUTF8', required columns: 'multiSearchFirstIndexUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:23.315914 [ 5687 ] {fefa5f24-66ae-4c5d-a1a0-4f9d805b2e33} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiSearchFirstPosition' while processing query: 'SELECT multiSearchFirstPosition', required columns: 'multiSearchFirstPosition'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiSearchFirstPosition;) 2026.10.27 19:26:23.319028 [ 5687 ] {fefa5f24-66ae-4c5d-a1a0-4f9d805b2e33} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiSearchFirstPosition' while processing query: 'SELECT multiSearchFirstPosition', required columns: 'multiSearchFirstPosition'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:23.434836 [ 5687 ] {d2a3656d-6bc7-4ac0-8e60-44a5a874eb65} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiSearchFirstPositionCaseInsensitive' while processing query: 'SELECT multiSearchFirstPositionCaseInsensitive', required columns: 'multiSearchFirstPositionCaseInsensitive'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiSearchFirstPositionCaseInsensitive;) 2026.10.27 19:26:23.437566 [ 5687 ] {d2a3656d-6bc7-4ac0-8e60-44a5a874eb65} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiSearchFirstPositionCaseInsensitive' while processing query: 'SELECT multiSearchFirstPositionCaseInsensitive', required columns: 'multiSearchFirstPositionCaseInsensitive'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:23.465960 [ 5687 ] {aad91804-cfef-46cd-a736-7b560f13d728} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiSearchFirstPositionCaseInsensitiveUTF8' while processing query: 'SELECT multiSearchFirstPositionCaseInsensitiveUTF8', required columns: 'multiSearchFirstPositionCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiSearchFirstPositionCaseInsensitiveUTF8;) 2026.10.27 19:26:23.469300 [ 5687 ] {aad91804-cfef-46cd-a736-7b560f13d728} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiSearchFirstPositionCaseInsensitiveUTF8' while processing query: 'SELECT multiSearchFirstPositionCaseInsensitiveUTF8', required columns: 'multiSearchFirstPositionCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:23.496588 [ 5687 ] {bfe5487f-bf68-447d-9dfb-1088896a64d9} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiSearchFirstPositionUTF8' while processing query: 'SELECT multiSearchFirstPositionUTF8', required columns: 'multiSearchFirstPositionUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiSearchFirstPositionUTF8;) 2026.10.27 19:26:23.499235 [ 5687 ] {bfe5487f-bf68-447d-9dfb-1088896a64d9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiSearchFirstPositionUTF8' while processing query: 'SELECT multiSearchFirstPositionUTF8', required columns: 'multiSearchFirstPositionUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:23.523793 [ 5687 ] {86353f35-1fee-448d-b251-32ffec0f3032} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiply' while processing query: 'SELECT multiply', required columns: 'multiply'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiply;) 2026.10.27 19:26:23.526530 [ 5687 ] {86353f35-1fee-448d-b251-32ffec0f3032} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiply' while processing query: 'SELECT multiply', required columns: 'multiply'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:23.652578 [ 5687 ] {0472f0e3-cad9-4e87-8114-868f9c15f060} executeQuery: Code: 47. DB::Exception: Missing columns: 'multiplyDecimal' while processing query: 'SELECT multiplyDecimal', required columns: 'multiplyDecimal'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT multiplyDecimal;) 2026.10.27 19:26:23.655461 [ 5687 ] {0472f0e3-cad9-4e87-8114-868f9c15f060} TCPHandler: Code: 47. DB::Exception: Missing columns: 'multiplyDecimal' while processing query: 'SELECT multiplyDecimal', required columns: 'multiplyDecimal'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:23.680969 [ 5687 ] {bf7052c3-6069-41e0-b055-c14c50e3fd34} executeQuery: Code: 47. DB::Exception: Missing columns: 'murmurHash2_32' while processing query: 'SELECT murmurHash2_32', required columns: 'murmurHash2_32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT murmurHash2_32;) 2026.10.27 19:26:23.683326 [ 5687 ] {bf7052c3-6069-41e0-b055-c14c50e3fd34} TCPHandler: Code: 47. DB::Exception: Missing columns: 'murmurHash2_32' while processing query: 'SELECT murmurHash2_32', required columns: 'murmurHash2_32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:23.806405 [ 5687 ] {7b3ff93d-86da-439b-814c-abdeae2f3d87} executeQuery: Code: 47. DB::Exception: Missing columns: 'murmurHash2_64' while processing query: 'SELECT murmurHash2_64', required columns: 'murmurHash2_64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT murmurHash2_64;) 2026.10.27 19:26:23.808547 [ 5687 ] {7b3ff93d-86da-439b-814c-abdeae2f3d87} TCPHandler: Code: 47. DB::Exception: Missing columns: 'murmurHash2_64' while processing query: 'SELECT murmurHash2_64', required columns: 'murmurHash2_64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:23.831040 [ 5687 ] {8d7dca14-18cc-4c13-b3d6-c645c168b53e} executeQuery: Code: 47. DB::Exception: Missing columns: 'murmurHash3_128' while processing query: 'SELECT murmurHash3_128', required columns: 'murmurHash3_128'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT murmurHash3_128;) 2026.10.27 19:26:23.832826 [ 5687 ] {8d7dca14-18cc-4c13-b3d6-c645c168b53e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'murmurHash3_128' while processing query: 'SELECT murmurHash3_128', required columns: 'murmurHash3_128'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:23.853323 [ 5687 ] {75acf41c-540c-49dd-90a3-4313de2f5744} executeQuery: Code: 47. DB::Exception: Missing columns: 'murmurHash3_32' while processing query: 'SELECT murmurHash3_32', required columns: 'murmurHash3_32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT murmurHash3_32;) 2026.10.27 19:26:23.854778 [ 5687 ] {75acf41c-540c-49dd-90a3-4313de2f5744} TCPHandler: Code: 47. DB::Exception: Missing columns: 'murmurHash3_32' while processing query: 'SELECT murmurHash3_32', required columns: 'murmurHash3_32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:23.876707 [ 5687 ] {6992b953-17fa-483f-b838-e0ef893e43ff} executeQuery: Code: 47. DB::Exception: Missing columns: 'murmurHash3_64' while processing query: 'SELECT murmurHash3_64', required columns: 'murmurHash3_64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT murmurHash3_64;) 2026.10.27 19:26:23.878319 [ 5687 ] {6992b953-17fa-483f-b838-e0ef893e43ff} TCPHandler: Code: 47. DB::Exception: Missing columns: 'murmurHash3_64' while processing query: 'SELECT murmurHash3_64', required columns: 'murmurHash3_64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:23.901530 [ 5687 ] {3288d2cc-2a7b-4924-8234-541c5651876d} executeQuery: Code: 47. DB::Exception: Missing columns: 'negate' while processing query: 'SELECT negate', required columns: 'negate'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT negate;) 2026.10.27 19:26:23.903404 [ 5687 ] {3288d2cc-2a7b-4924-8234-541c5651876d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'negate' while processing query: 'SELECT negate', required columns: 'negate'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:23.929613 [ 5687 ] {33a2db10-26f5-4394-a15c-e0e124e54e26} executeQuery: Code: 47. DB::Exception: Missing columns: 'neighbor' while processing query: 'SELECT neighbor', required columns: 'neighbor'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT neighbor;) 2026.10.27 19:26:23.932845 [ 5687 ] {33a2db10-26f5-4394-a15c-e0e124e54e26} TCPHandler: Code: 47. DB::Exception: Missing columns: 'neighbor' while processing query: 'SELECT neighbor', required columns: 'neighbor'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:24.057173 [ 5687 ] {d65d283c-36f5-4e52-b5be-f7a37d739a19} executeQuery: Code: 47. DB::Exception: Missing columns: 'nested' while processing query: 'SELECT nested', required columns: 'nested'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT nested;) 2026.10.27 19:26:24.060689 [ 5687 ] {d65d283c-36f5-4e52-b5be-f7a37d739a19} TCPHandler: Code: 47. DB::Exception: Missing columns: 'nested' while processing query: 'SELECT nested', required columns: 'nested'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:24.066659 [ 9259 ] {e020b67e-0d9f-48a8-9969-869680fa1a38} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 134.63 MiB (attempt to allocate chunk of 1092704 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44432) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactEachRowWithNames), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::PODArray, 4096ul, Allocator, 63ul, 64ul>::PODArray(unsigned long) @ 0x000000003b24587f in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnVector.cpp:0: auto DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const::'lambda'(auto, auto, auto)::operator()::less>(auto, auto, auto) const @ 0x000000003b4b30a9 in /usr/bin/clickhouse 9. ./build_docker/./src/Columns/IColumnImpl.h:0: void DB::IColumn::updatePermutationImpl::less, DB::ColumnVector::equals, DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const::'lambda'(auto, auto, auto), DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const::'lambda'(auto, auto, auto, auto)>(unsigned long, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&, auto, auto, auto, auto) const @ 0x000000003b28d037 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnVector.cpp:401: DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const @ 0x000000003b28c95e in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/sortBlock.cpp:190: DB::(anonymous namespace)::getBlockSortPermutationImpl(DB::Block const&, DB::SortDescription const&, DB::IColumn::PermutationSortStability, unsigned long, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa25bbb in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa2460c in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:24.067093 [ 4309 ] {26f4b7fa-8845-43d6-abf7-2e737071db60} TCPHandler: Code: 341. DB::Exception: Exception happened during execution of mutation '0000000000' with part 'all_0_0_0' reason: 'Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.46 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build))'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d3f1fe4 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d3f1895 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bf86df3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c13217e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003c12c6fc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0598 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:24.069084 [ 2671 ] {11817fe4-4a1e-4711-b676-9571417a077b} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 67108864 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. HashTable, HashTableNoState>, DefaultHash, DB::HashedDictionaryImpl::HashTableGrowerWithPrecalculationAndMaxLoadFactor<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000002bb33dfe in /usr/bin/clickhouse 10. void detail::static_for::getAttributeContainers::resize(unsigned long)::'lambda'(auto&)>(unsigned long, auto&&)::'lambda'(auto const&)&>(DB::AttributeUnderlyingType, auto&&)::'lambda'(auto), 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul, 8ul, 9ul, 10ul, 11ul, 12ul, 13ul, 14ul, 15ul, 16ul, 17ul, 18ul, 19ul, 20ul, 21ul, 22ul, 23ul>(void DB::callOnDictionaryAttributeType::getAttributeContainers::resize(unsigned long)::'lambda'(auto&)>(unsigned long, auto&&)::'lambda'(auto const&)&>(DB::AttributeUnderlyingType, auto&&)::'lambda'(auto)&&, std::integer_sequence) @ 0x000000002bbdbcac in /usr/bin/clickhouse 11. DB::HashedDictionary<(DB::DictionaryKeyType)0, true, false>::loadData() @ 0x000000002b3e4799 in /usr/bin/clickhouse 12. DB::HashedDictionary<(DB::DictionaryKeyType)0, true, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x000000002b3e3401 in /usr/bin/clickhouse 13. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000002b3b8356 in /usr/bin/clickhouse 14. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b3ba3d7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000035256311 in /usr/bin/clickhouse 16. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000035252fb7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038c9ac44 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038ca6a60 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cc3485 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cba4b5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ccec9a in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038cce77f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 25. ? @ 0x00007fc6eb378a83 in ? 26. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:24.071191 [ 4374 ] {7465f870-6be5-4005-9806-10cb0db32ca8} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery47: While processing CounterID > ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery47). (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45326) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4ea34 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5a94a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dfc3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a6eed7e 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) const @ 0x000000003a6de8f4 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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 2026.10.27 19:26:24.081260 [ 4374 ] {7465f870-6be5-4005-9806-10cb0db32ca8} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00 million, current rows: 8.87 million: While processing (SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery47: While processing CounterID > ((SELECT count() FROM test.hits WHERE NOT ignore(AdvEngineID)) AS _subquery47). (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4ea34 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dede in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f5a94a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x0000000039f4dfc3 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000039f4cd75 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000039f4d00d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.h:35: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000003a6eed7e 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) const @ 0x000000003a6de8f4 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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 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) @ 0x0000000039b12212 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 2026.10.27 19:26:24.184691 [ 5687 ] {8f14a6f7-ad93-4c49-8bc0-211c75c052bf} executeQuery: Code: 47. DB::Exception: Missing columns: 'netloc' while processing query: 'SELECT netloc', required columns: 'netloc'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT netloc;) 2026.10.27 19:26:24.190047 [ 5687 ] {8f14a6f7-ad93-4c49-8bc0-211c75c052bf} TCPHandler: Code: 47. DB::Exception: Missing columns: 'netloc' while processing query: 'SELECT netloc', required columns: 'netloc'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:24.208479 [ 5687 ] {26fd3e8f-09cc-4563-9caf-c6a408e6d748} executeQuery: Code: 47. DB::Exception: Missing columns: 'ngramDistance' while processing query: 'SELECT ngramDistance', required columns: 'ngramDistance'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ngramDistance;) 2026.10.27 19:26:24.212783 [ 5687 ] {26fd3e8f-09cc-4563-9caf-c6a408e6d748} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ngramDistance' while processing query: 'SELECT ngramDistance', required columns: 'ngramDistance'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:24.230720 [ 5687 ] {f67223c7-ab6d-4672-afb5-14efcffb15b5} executeQuery: Code: 47. DB::Exception: Missing columns: 'ngramDistanceCaseInsensitive' while processing query: 'SELECT ngramDistanceCaseInsensitive', required columns: 'ngramDistanceCaseInsensitive'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ngramDistanceCaseInsensitive;) 2026.10.27 19:26:24.235013 [ 5687 ] {f67223c7-ab6d-4672-afb5-14efcffb15b5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ngramDistanceCaseInsensitive' while processing query: 'SELECT ngramDistanceCaseInsensitive', required columns: 'ngramDistanceCaseInsensitive'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:24.249926 [ 5687 ] {63f6ea1b-53f1-40bb-bf1f-5205b0144fa7} executeQuery: Code: 47. DB::Exception: Missing columns: 'ngramDistanceCaseInsensitiveUTF8' while processing query: 'SELECT ngramDistanceCaseInsensitiveUTF8', required columns: 'ngramDistanceCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ngramDistanceCaseInsensitiveUTF8;) 2026.10.27 19:26:24.251840 [ 5687 ] {63f6ea1b-53f1-40bb-bf1f-5205b0144fa7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ngramDistanceCaseInsensitiveUTF8' while processing query: 'SELECT ngramDistanceCaseInsensitiveUTF8', required columns: 'ngramDistanceCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:24.366026 [ 5687 ] {7e257947-d85e-4826-a0c4-daeaaf836c78} executeQuery: Code: 47. DB::Exception: Missing columns: 'ngramDistanceUTF8' while processing query: 'SELECT ngramDistanceUTF8', required columns: 'ngramDistanceUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ngramDistanceUTF8;) 2026.10.27 19:26:24.369532 [ 5687 ] {7e257947-d85e-4826-a0c4-daeaaf836c78} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ngramDistanceUTF8' while processing query: 'SELECT ngramDistanceUTF8', required columns: 'ngramDistanceUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:24.383101 [ 5687 ] {10a777ae-7bfc-46da-9305-b20e3d1ca44a} executeQuery: Code: 47. DB::Exception: Missing columns: 'ngramMinHash' while processing query: 'SELECT ngramMinHash', required columns: 'ngramMinHash'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ngramMinHash;) 2026.10.27 19:26:24.386290 [ 5687 ] {10a777ae-7bfc-46da-9305-b20e3d1ca44a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ngramMinHash' while processing query: 'SELECT ngramMinHash', required columns: 'ngramMinHash'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:24.402427 [ 5687 ] {742abcb0-dbfc-42c3-8374-a97ea2392048} executeQuery: Code: 47. DB::Exception: Missing columns: 'ngramMinHashArg' while processing query: 'SELECT ngramMinHashArg', required columns: 'ngramMinHashArg'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ngramMinHashArg;) 2026.10.27 19:26:24.406911 [ 5687 ] {742abcb0-dbfc-42c3-8374-a97ea2392048} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ngramMinHashArg' while processing query: 'SELECT ngramMinHashArg', required columns: 'ngramMinHashArg'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:24.424534 [ 5687 ] {0d0b1768-dd8d-4652-bb20-c0d42278fbba} executeQuery: Code: 47. DB::Exception: Missing columns: 'ngramMinHashArgCaseInsensitive' while processing query: 'SELECT ngramMinHashArgCaseInsensitive', required columns: 'ngramMinHashArgCaseInsensitive'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ngramMinHashArgCaseInsensitive;) 2026.10.27 19:26:24.428335 [ 5687 ] {0d0b1768-dd8d-4652-bb20-c0d42278fbba} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ngramMinHashArgCaseInsensitive' while processing query: 'SELECT ngramMinHashArgCaseInsensitive', required columns: 'ngramMinHashArgCaseInsensitive'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:24.452689 [ 5687 ] {0017e86c-3185-4ec1-b665-f809b55c733b} executeQuery: Code: 47. DB::Exception: Missing columns: 'ngramMinHashArgCaseInsensitiveUTF8' while processing query: 'SELECT ngramMinHashArgCaseInsensitiveUTF8', required columns: 'ngramMinHashArgCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ngramMinHashArgCaseInsensitiveUTF8;) 2026.10.27 19:26:24.456210 [ 5687 ] {0017e86c-3185-4ec1-b665-f809b55c733b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ngramMinHashArgCaseInsensitiveUTF8' while processing query: 'SELECT ngramMinHashArgCaseInsensitiveUTF8', required columns: 'ngramMinHashArgCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:24.472729 [ 5687 ] {32a05176-6ea9-439b-b158-5037a4cc0d8c} executeQuery: Code: 47. DB::Exception: Missing columns: 'ngramMinHashArgUTF8' while processing query: 'SELECT ngramMinHashArgUTF8', required columns: 'ngramMinHashArgUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ngramMinHashArgUTF8;) 2026.10.27 19:26:24.475464 [ 5687 ] {32a05176-6ea9-439b-b158-5037a4cc0d8c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ngramMinHashArgUTF8' while processing query: 'SELECT ngramMinHashArgUTF8', required columns: 'ngramMinHashArgUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:24.490168 [ 5687 ] {1768dc56-3a53-4d1e-af41-b25c56e32026} executeQuery: Code: 47. DB::Exception: Missing columns: 'ngramMinHashCaseInsensitive' while processing query: 'SELECT ngramMinHashCaseInsensitive', required columns: 'ngramMinHashCaseInsensitive'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ngramMinHashCaseInsensitive;) 2026.10.27 19:26:24.492430 [ 5687 ] {1768dc56-3a53-4d1e-af41-b25c56e32026} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ngramMinHashCaseInsensitive' while processing query: 'SELECT ngramMinHashCaseInsensitive', required columns: 'ngramMinHashCaseInsensitive'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:24.508451 [ 5687 ] {acf4aee4-44e6-4c34-ab3c-9ced5e3c29dd} executeQuery: Code: 47. DB::Exception: Missing columns: 'ngramMinHashCaseInsensitiveUTF8' while processing query: 'SELECT ngramMinHashCaseInsensitiveUTF8', required columns: 'ngramMinHashCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ngramMinHashCaseInsensitiveUTF8;) 2026.10.27 19:26:24.510627 [ 5687 ] {acf4aee4-44e6-4c34-ab3c-9ced5e3c29dd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ngramMinHashCaseInsensitiveUTF8' while processing query: 'SELECT ngramMinHashCaseInsensitiveUTF8', required columns: 'ngramMinHashCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:24.513360 [ 9259 ] {e020b67e-0d9f-48a8-9969-869680fa1a38} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 134.63 MiB (attempt to allocate chunk of 1092704 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::PODArray, 4096ul, Allocator, 63ul, 64ul>::PODArray(unsigned long) @ 0x000000003b24587f in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnVector.cpp:0: auto DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const::'lambda'(auto, auto, auto)::operator()::less>(auto, auto, auto) const @ 0x000000003b4b30a9 in /usr/bin/clickhouse 9. ./build_docker/./src/Columns/IColumnImpl.h:0: void DB::IColumn::updatePermutationImpl::less, DB::ColumnVector::equals, DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const::'lambda'(auto, auto, auto), DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const::'lambda'(auto, auto, auto, auto)>(unsigned long, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&, auto, auto, auto, auto) const @ 0x000000003b28d037 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnVector.cpp:401: DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const @ 0x000000003b28c95e in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/sortBlock.cpp:190: DB::(anonymous namespace)::getBlockSortPermutationImpl(DB::Block const&, DB::SortDescription const&, DB::IColumn::PermutationSortStability, unsigned long, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa25bbb in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa2460c in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:24.524818 [ 5687 ] {b8d8ca2c-0e2b-47b4-add7-81543a36c8b1} executeQuery: Code: 47. DB::Exception: Missing columns: 'ngramMinHashUTF8' while processing query: 'SELECT ngramMinHashUTF8', required columns: 'ngramMinHashUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ngramMinHashUTF8;) 2026.10.27 19:26:24.526729 [ 5687 ] {b8d8ca2c-0e2b-47b4-add7-81543a36c8b1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ngramMinHashUTF8' while processing query: 'SELECT ngramMinHashUTF8', required columns: 'ngramMinHashUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:24.541217 [ 5687 ] {6a1201e6-faf0-46c0-b207-5f542a3ce6bb} executeQuery: Code: 47. DB::Exception: Missing columns: 'ngramSearch' while processing query: 'SELECT ngramSearch', required columns: 'ngramSearch'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ngramSearch;) 2026.10.27 19:26:24.542847 [ 5687 ] {6a1201e6-faf0-46c0-b207-5f542a3ce6bb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ngramSearch' while processing query: 'SELECT ngramSearch', required columns: 'ngramSearch'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:24.556473 [ 5687 ] {9dc6159d-c52a-4996-b921-6813ac4d70cf} executeQuery: Code: 47. DB::Exception: Missing columns: 'ngramSearchCaseInsensitive' while processing query: 'SELECT ngramSearchCaseInsensitive', required columns: 'ngramSearchCaseInsensitive'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ngramSearchCaseInsensitive;) 2026.10.27 19:26:24.558012 [ 5687 ] {9dc6159d-c52a-4996-b921-6813ac4d70cf} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ngramSearchCaseInsensitive' while processing query: 'SELECT ngramSearchCaseInsensitive', required columns: 'ngramSearchCaseInsensitive'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:24.662823 [ 5705 ] {b509375f-72fb-4e37-b8ae-38e2fcf0061c} executeQuery: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44476) (comment: 00818_alias_bug_4110.sql) (in query: SET allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:24.665999 [ 5705 ] {b509375f-72fb-4e37-b8ae-38e2fcf0061c} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:24.678950 [ 5687 ] {059afbb0-ae9e-449e-a0c4-383691b52b8f} executeQuery: Code: 47. DB::Exception: Missing columns: 'ngramSearchCaseInsensitiveUTF8' while processing query: 'SELECT ngramSearchCaseInsensitiveUTF8', required columns: 'ngramSearchCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ngramSearchCaseInsensitiveUTF8;) 2026.10.27 19:26:24.685320 [ 5687 ] {059afbb0-ae9e-449e-a0c4-383691b52b8f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ngramSearchCaseInsensitiveUTF8' while processing query: 'SELECT ngramSearchCaseInsensitiveUTF8', required columns: 'ngramSearchCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:24.836642 [ 5687 ] {bf919cb5-a282-4e17-a979-f4a8b3f32dc9} executeQuery: Code: 47. DB::Exception: Missing columns: 'ngramSearchUTF8' while processing query: 'SELECT ngramSearchUTF8', required columns: 'ngramSearchUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ngramSearchUTF8;) 2026.10.27 19:26:24.858728 [ 9259 ] {253cafb4-e7b8-46b2-8a3c-f85694df2b49} executeQuery: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44494) (comment: 00081_group_by_without_key_and_totals.sql) (in query: SET allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:24.864933 [ 9259 ] {253cafb4-e7b8-46b2-8a3c-f85694df2b49} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:24.884920 [ 5687 ] {bf919cb5-a282-4e17-a979-f4a8b3f32dc9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ngramSearchUTF8' while processing query: 'SELECT ngramSearchUTF8', required columns: 'ngramSearchUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:24.913737 [ 5687 ] {af53b492-f788-41f3-bbf2-b7af256eb2c6} executeQuery: Code: 47. DB::Exception: Missing columns: 'ngramSimHash' while processing query: 'SELECT ngramSimHash', required columns: 'ngramSimHash'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ngramSimHash;) 2026.10.27 19:26:24.925936 [ 5687 ] {af53b492-f788-41f3-bbf2-b7af256eb2c6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ngramSimHash' while processing query: 'SELECT ngramSimHash', required columns: 'ngramSimHash'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:24.945653 [ 4374 ] {9fa27b06-5579-4d69-aaa0-e189b389f8a8} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 10.00 million, current rows: 13.11 million: While executing MergeTreeThread. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45326) (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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:24.968645 [ 4374 ] {9fa27b06-5579-4d69-aaa0-e189b389f8a8} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 10.00 million, current rows: 13.11 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x0000000036a58989 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eccb in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:25.034641 [ 5687 ] {be0b8919-487c-4b9d-a5b4-e97d9ab676f9} executeQuery: Code: 47. DB::Exception: Missing columns: 'ngramSimHashCaseInsensitive' while processing query: 'SELECT ngramSimHashCaseInsensitive', required columns: 'ngramSimHashCaseInsensitive'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ngramSimHashCaseInsensitive;) 2026.10.27 19:26:25.044906 [ 5687 ] {be0b8919-487c-4b9d-a5b4-e97d9ab676f9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ngramSimHashCaseInsensitive' while processing query: 'SELECT ngramSimHashCaseInsensitive', required columns: 'ngramSimHashCaseInsensitive'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:25.105189 [ 5687 ] {5afc6824-8513-4a49-a878-4c8fd747e187} executeQuery: Code: 47. DB::Exception: Missing columns: 'ngramSimHashCaseInsensitiveUTF8' while processing query: 'SELECT ngramSimHashCaseInsensitiveUTF8', required columns: 'ngramSimHashCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ngramSimHashCaseInsensitiveUTF8;) 2026.10.27 19:26:25.117714 [ 5687 ] {5afc6824-8513-4a49-a878-4c8fd747e187} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ngramSimHashCaseInsensitiveUTF8' while processing query: 'SELECT ngramSimHashCaseInsensitiveUTF8', required columns: 'ngramSimHashCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:25.273688 [ 5687 ] {43f47356-7243-454f-b677-7f8205e26721} executeQuery: Code: 47. DB::Exception: Missing columns: 'ngramSimHashUTF8' while processing query: 'SELECT ngramSimHashUTF8', required columns: 'ngramSimHashUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ngramSimHashUTF8;) 2026.10.27 19:26:25.293746 [ 5687 ] {43f47356-7243-454f-b677-7f8205e26721} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ngramSimHashUTF8' while processing query: 'SELECT ngramSimHashUTF8', required columns: 'ngramSimHashUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:25.368422 [ 5687 ] {38987a1a-7646-4c0f-9f08-43418ccb7c73} executeQuery: Code: 47. DB::Exception: Missing columns: 'ngrams' while processing query: 'SELECT ngrams', required columns: 'ngrams'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ngrams;) 2026.10.27 19:26:25.402158 [ 5687 ] {38987a1a-7646-4c0f-9f08-43418ccb7c73} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ngrams' while processing query: 'SELECT ngrams', required columns: 'ngrams'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:25.518185 [ 5687 ] {94372a31-65df-4503-aa6d-8b770124a78a} executeQuery: Code: 47. DB::Exception: Missing columns: 'nonNegativeDerivative' while processing query: 'SELECT nonNegativeDerivative', required columns: 'nonNegativeDerivative'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT nonNegativeDerivative;) 2026.10.27 19:26:25.525054 [ 5687 ] {94372a31-65df-4503-aa6d-8b770124a78a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'nonNegativeDerivative' while processing query: 'SELECT nonNegativeDerivative', required columns: 'nonNegativeDerivative'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:25.607854 [ 5687 ] {c30dce1f-5239-4c3e-823e-1bdb564bb3fa} executeQuery: Code: 47. DB::Exception: Missing columns: 'normL1' while processing query: 'SELECT normL1', required columns: 'normL1'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT normL1;) 2026.10.27 19:26:25.619949 [ 5687 ] {c30dce1f-5239-4c3e-823e-1bdb564bb3fa} TCPHandler: Code: 47. DB::Exception: Missing columns: 'normL1' while processing query: 'SELECT normL1', required columns: 'normL1'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:25.670115 [ 5687 ] {fc21a36f-95bf-4ba7-b154-ed53e6424c5c} executeQuery: Code: 47. DB::Exception: Missing columns: 'normL2' while processing query: 'SELECT normL2', required columns: 'normL2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT normL2;) 2026.10.27 19:26:25.672492 [ 5687 ] {fc21a36f-95bf-4ba7-b154-ed53e6424c5c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'normL2' while processing query: 'SELECT normL2', required columns: 'normL2'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:25.757747 [ 5687 ] {86276cf8-4366-4b4a-b271-ba35c4e0cbd9} executeQuery: Code: 47. DB::Exception: Missing columns: 'normL2Squared' while processing query: 'SELECT normL2Squared', required columns: 'normL2Squared'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT normL2Squared;) 2026.10.27 19:26:25.771335 [ 5687 ] {86276cf8-4366-4b4a-b271-ba35c4e0cbd9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'normL2Squared' while processing query: 'SELECT normL2Squared', required columns: 'normL2Squared'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:25.830446 [ 5687 ] {57fcbe10-4c81-40fc-b802-48ae8b2d61e2} executeQuery: Code: 47. DB::Exception: Missing columns: 'normLinf' while processing query: 'SELECT normLinf', required columns: 'normLinf'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT normLinf;) 2026.10.27 19:26:25.844405 [ 5687 ] {57fcbe10-4c81-40fc-b802-48ae8b2d61e2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'normLinf' while processing query: 'SELECT normLinf', required columns: 'normLinf'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:26.005459 [ 5687 ] {210b57de-2960-425c-b1c6-426ad0371aaa} executeQuery: Code: 47. DB::Exception: Missing columns: 'normLp' while processing query: 'SELECT normLp', required columns: 'normLp'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT normLp;) 2026.10.27 19:26:26.017179 [ 5687 ] {210b57de-2960-425c-b1c6-426ad0371aaa} TCPHandler: Code: 47. DB::Exception: Missing columns: 'normLp' while processing query: 'SELECT normLp', required columns: 'normLp'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:26.210424 [ 5687 ] {7469244d-7d11-4778-8f1c-4ce1203b0a81} executeQuery: Code: 47. DB::Exception: Missing columns: 'normalizeL1' while processing query: 'SELECT normalizeL1', required columns: 'normalizeL1'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT normalizeL1;) 2026.10.27 19:26:26.225201 [ 5687 ] {7469244d-7d11-4778-8f1c-4ce1203b0a81} TCPHandler: Code: 47. DB::Exception: Missing columns: 'normalizeL1' while processing query: 'SELECT normalizeL1', required columns: 'normalizeL1'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:26.382174 [ 5687 ] {8402f8e4-4880-4cd3-bb66-52c47801c489} executeQuery: Code: 47. DB::Exception: Missing columns: 'normalizeL2' while processing query: 'SELECT normalizeL2', required columns: 'normalizeL2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT normalizeL2;) 2026.10.27 19:26:26.390561 [ 5687 ] {8402f8e4-4880-4cd3-bb66-52c47801c489} TCPHandler: Code: 47. DB::Exception: Missing columns: 'normalizeL2' while processing query: 'SELECT normalizeL2', required columns: 'normalizeL2'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:26.475258 [ 5687 ] {21c27e9a-b1a3-4abb-a821-92638fd4d050} executeQuery: Code: 47. DB::Exception: Missing columns: 'normalizeLinf' while processing query: 'SELECT normalizeLinf', required columns: 'normalizeLinf'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT normalizeLinf;) 2026.10.27 19:26:26.490753 [ 5687 ] {21c27e9a-b1a3-4abb-a821-92638fd4d050} TCPHandler: Code: 47. DB::Exception: Missing columns: 'normalizeLinf' while processing query: 'SELECT normalizeLinf', required columns: 'normalizeLinf'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:26.565773 [ 5687 ] {dbdc9a08-f360-4c6c-9d85-98b5e48ddcfd} executeQuery: Code: 47. DB::Exception: Missing columns: 'normalizeLp' while processing query: 'SELECT normalizeLp', required columns: 'normalizeLp'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT normalizeLp;) 2026.10.27 19:26:26.577588 [ 5687 ] {dbdc9a08-f360-4c6c-9d85-98b5e48ddcfd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'normalizeLp' while processing query: 'SELECT normalizeLp', required columns: 'normalizeLp'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:26.667409 [ 5687 ] {8a75f81a-2c47-47bd-af2b-dc7ca52d8f84} executeQuery: Code: 47. DB::Exception: Missing columns: 'normalizeQuery' while processing query: 'SELECT normalizeQuery', required columns: 'normalizeQuery'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT normalizeQuery;) 2026.10.27 19:26:26.683036 [ 5687 ] {8a75f81a-2c47-47bd-af2b-dc7ca52d8f84} TCPHandler: Code: 47. DB::Exception: Missing columns: 'normalizeQuery' while processing query: 'SELECT normalizeQuery', required columns: 'normalizeQuery'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:26.748518 [ 5687 ] {e44b05e8-a951-4873-9e1c-32b1399fb58f} executeQuery: Code: 47. DB::Exception: Missing columns: 'normalizeQueryKeepNames' while processing query: 'SELECT normalizeQueryKeepNames', required columns: 'normalizeQueryKeepNames'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT normalizeQueryKeepNames;) 2026.10.27 19:26:26.766630 [ 5687 ] {e44b05e8-a951-4873-9e1c-32b1399fb58f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'normalizeQueryKeepNames' while processing query: 'SELECT normalizeQueryKeepNames', required columns: 'normalizeQueryKeepNames'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:26.849921 [ 5687 ] {0d1021cf-f129-4e1e-a1a5-a830ed5f0ee6} executeQuery: Code: 47. DB::Exception: Missing columns: 'normalizeUTF8NFC' while processing query: 'SELECT normalizeUTF8NFC', required columns: 'normalizeUTF8NFC'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT normalizeUTF8NFC;) 2026.10.27 19:26:26.868367 [ 5687 ] {0d1021cf-f129-4e1e-a1a5-a830ed5f0ee6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'normalizeUTF8NFC' while processing query: 'SELECT normalizeUTF8NFC', required columns: 'normalizeUTF8NFC'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:27.072490 [ 5687 ] {78449a69-5674-4827-886d-ef6d0dc8ad44} executeQuery: Code: 47. DB::Exception: Missing columns: 'normalizeUTF8NFD' while processing query: 'SELECT normalizeUTF8NFD', required columns: 'normalizeUTF8NFD'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT normalizeUTF8NFD;) 2026.10.27 19:26:27.089835 [ 5687 ] {78449a69-5674-4827-886d-ef6d0dc8ad44} TCPHandler: Code: 47. DB::Exception: Missing columns: 'normalizeUTF8NFD' while processing query: 'SELECT normalizeUTF8NFD', required columns: 'normalizeUTF8NFD'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:27.184369 [ 5687 ] {ee31b459-0a43-4fce-a387-4c85b9a94b45} executeQuery: Code: 47. DB::Exception: Missing columns: 'normalizeUTF8NFKC' while processing query: 'SELECT normalizeUTF8NFKC', required columns: 'normalizeUTF8NFKC'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT normalizeUTF8NFKC;) 2026.10.27 19:26:27.204387 [ 5687 ] {ee31b459-0a43-4fce-a387-4c85b9a94b45} TCPHandler: Code: 47. DB::Exception: Missing columns: 'normalizeUTF8NFKC' while processing query: 'SELECT normalizeUTF8NFKC', required columns: 'normalizeUTF8NFKC'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:27.481925 [ 5687 ] {67e4485a-9e92-458d-ac9f-49fca16350a8} executeQuery: Code: 47. DB::Exception: Missing columns: 'normalizeUTF8NFKD' while processing query: 'SELECT normalizeUTF8NFKD', required columns: 'normalizeUTF8NFKD'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT normalizeUTF8NFKD;) 2026.10.27 19:26:27.490892 [ 5687 ] {67e4485a-9e92-458d-ac9f-49fca16350a8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'normalizeUTF8NFKD' while processing query: 'SELECT normalizeUTF8NFKD', required columns: 'normalizeUTF8NFKD'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:27.575073 [ 5687 ] {6ce8ddc1-c967-4ca8-8eba-fc1b86bff94d} executeQuery: Code: 47. DB::Exception: Missing columns: 'normalizedQueryHash' while processing query: 'SELECT normalizedQueryHash', required columns: 'normalizedQueryHash'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT normalizedQueryHash;) 2026.10.27 19:26:27.584760 [ 5687 ] {6ce8ddc1-c967-4ca8-8eba-fc1b86bff94d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'normalizedQueryHash' while processing query: 'SELECT normalizedQueryHash', required columns: 'normalizedQueryHash'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:27.635992 [ 5687 ] {4f427cb8-5897-45ce-94af-84e551d84917} executeQuery: Code: 47. DB::Exception: Missing columns: 'normalizedQueryHashKeepNames' while processing query: 'SELECT normalizedQueryHashKeepNames', required columns: 'normalizedQueryHashKeepNames'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT normalizedQueryHashKeepNames;) 2026.10.27 19:26:27.651053 [ 5687 ] {4f427cb8-5897-45ce-94af-84e551d84917} TCPHandler: Code: 47. DB::Exception: Missing columns: 'normalizedQueryHashKeepNames' while processing query: 'SELECT normalizedQueryHashKeepNames', required columns: 'normalizedQueryHashKeepNames'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:27.840460 [ 5687 ] {b13406e8-d599-458c-9895-762c82263de2} executeQuery: Code: 47. DB::Exception: Missing columns: 'notEmpty' while processing query: 'SELECT notEmpty', required columns: 'notEmpty'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT notEmpty;) 2026.10.27 19:26:27.964471 [ 5687 ] {b13406e8-d599-458c-9895-762c82263de2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'notEmpty' while processing query: 'SELECT notEmpty', required columns: 'notEmpty'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:28.052932 [ 5687 ] {1c0d58d1-a040-4f30-8dd8-450a4194ede7} executeQuery: Code: 47. DB::Exception: Missing columns: 'notEquals' while processing query: 'SELECT notEquals', required columns: 'notEquals'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT notEquals;) 2026.10.27 19:26:28.070373 [ 5687 ] {1c0d58d1-a040-4f30-8dd8-450a4194ede7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'notEquals' while processing query: 'SELECT notEquals', required columns: 'notEquals'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:28.177011 [ 5687 ] {250514d8-4483-437a-b681-019a73aa1efc} executeQuery: Code: 47. DB::Exception: Missing columns: 'notILike' while processing query: 'SELECT notILike', required columns: 'notILike'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT notILike;) 2026.10.27 19:26:28.192548 [ 5687 ] {250514d8-4483-437a-b681-019a73aa1efc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'notILike' while processing query: 'SELECT notILike', required columns: 'notILike'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:28.368805 [ 5687 ] {b17cddb0-4752-446d-a6de-f96979e4db67} executeQuery: Code: 47. DB::Exception: Missing columns: 'notIn' while processing query: 'SELECT notIn', required columns: 'notIn'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT notIn;) 2026.10.27 19:26:28.398145 [ 5687 ] {b17cddb0-4752-446d-a6de-f96979e4db67} TCPHandler: Code: 47. DB::Exception: Missing columns: 'notIn' while processing query: 'SELECT notIn', required columns: 'notIn'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:28.601123 [ 5687 ] {402f9d1f-b4b1-42d0-a2e5-8a564439e5e1} executeQuery: Code: 47. DB::Exception: Missing columns: 'notInIgnoreSet' while processing query: 'SELECT notInIgnoreSet', required columns: 'notInIgnoreSet'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT notInIgnoreSet;) 2026.10.27 19:26:28.613926 [ 5687 ] {402f9d1f-b4b1-42d0-a2e5-8a564439e5e1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'notInIgnoreSet' while processing query: 'SELECT notInIgnoreSet', required columns: 'notInIgnoreSet'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:28.814909 [ 5687 ] {06e202a8-a4e1-4f1f-89eb-4820f27c021b} executeQuery: Code: 47. DB::Exception: Missing columns: 'notLike' while processing query: 'SELECT notLike', required columns: 'notLike'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT notLike;) 2026.10.27 19:26:28.825398 [ 5687 ] {06e202a8-a4e1-4f1f-89eb-4820f27c021b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'notLike' while processing query: 'SELECT notLike', required columns: 'notLike'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:28.907351 [ 5687 ] {7e81e0b0-ca7b-4a8e-bbde-91054a9e663d} executeQuery: Code: 47. DB::Exception: Missing columns: 'notNullIn' while processing query: 'SELECT notNullIn', required columns: 'notNullIn'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT notNullIn;) 2026.10.27 19:26:28.918680 [ 5687 ] {7e81e0b0-ca7b-4a8e-bbde-91054a9e663d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'notNullIn' while processing query: 'SELECT notNullIn', required columns: 'notNullIn'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:28.994038 [ 5687 ] {90301790-448a-4b33-a80f-818b7e1c926c} executeQuery: Code: 47. DB::Exception: Missing columns: 'notNullInIgnoreSet' while processing query: 'SELECT notNullInIgnoreSet', required columns: 'notNullInIgnoreSet'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT notNullInIgnoreSet;) 2026.10.27 19:26:29.013136 [ 5687 ] {90301790-448a-4b33-a80f-818b7e1c926c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'notNullInIgnoreSet' while processing query: 'SELECT notNullInIgnoreSet', required columns: 'notNullInIgnoreSet'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:29.121787 [ 5687 ] {c8cc6913-38d4-4306-a727-9bcd658cb4a2} executeQuery: Code: 47. DB::Exception: Missing columns: 'nothing' while processing query: 'SELECT nothing', required columns: 'nothing'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT nothing;) 2026.10.27 19:26:29.139821 [ 5687 ] {c8cc6913-38d4-4306-a727-9bcd658cb4a2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'nothing' while processing query: 'SELECT nothing', required columns: 'nothing'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:29.325238 [ 5687 ] {58d2d580-9dda-4891-80cf-c88795306699} executeQuery: Code: 47. DB::Exception: Missing columns: 'now' while processing query: 'SELECT now', required columns: 'now'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT now;) 2026.10.27 19:26:29.401930 [ 5687 ] {58d2d580-9dda-4891-80cf-c88795306699} TCPHandler: Code: 47. DB::Exception: Missing columns: 'now' while processing query: 'SELECT now', required columns: 'now'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:29.479942 [ 5687 ] {46566dd0-0903-4951-8ddd-9566d1c4d9c9} executeQuery: Code: 47. DB::Exception: Missing columns: 'now64' while processing query: 'SELECT now64', required columns: 'now64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT now64;) 2026.10.27 19:26:29.493843 [ 5687 ] {46566dd0-0903-4951-8ddd-9566d1c4d9c9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'now64' while processing query: 'SELECT now64', required columns: 'now64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:29.700880 [ 5687 ] {e931e5e8-827b-452c-92c8-51f421a29bb4} executeQuery: Code: 47. DB::Exception: Missing columns: 'nowInBlock' while processing query: 'SELECT nowInBlock', required columns: 'nowInBlock'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT nowInBlock;) 2026.10.27 19:26:29.721829 [ 5687 ] {e931e5e8-827b-452c-92c8-51f421a29bb4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'nowInBlock' while processing query: 'SELECT nowInBlock', required columns: 'nowInBlock'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:29.784391 [ 5687 ] {82a14a5b-c7dc-49aa-8424-9021056d6df9} executeQuery: Code: 47. DB::Exception: Missing columns: 'nth_value' while processing query: 'SELECT nth_value', required columns: 'nth_value'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT nth_value;) 2026.10.27 19:26:29.863580 [ 5687 ] {82a14a5b-c7dc-49aa-8424-9021056d6df9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'nth_value' while processing query: 'SELECT nth_value', required columns: 'nth_value'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:29.962951 [ 5687 ] {ff0c3da3-5ee2-44d5-9e3c-f4f9859247d4} executeQuery: Code: 47. DB::Exception: Missing columns: 'ntile' while processing query: 'SELECT ntile', required columns: 'ntile'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ntile;) 2026.10.27 19:26:29.981774 [ 5687 ] {ff0c3da3-5ee2-44d5-9e3c-f4f9859247d4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ntile' while processing query: 'SELECT ntile', required columns: 'ntile'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:30.065546 [ 5687 ] {07ff9612-bae4-43f0-b654-c567ad5fa9f7} executeQuery: Code: 47. DB::Exception: Missing columns: 'nullIf' while processing query: 'SELECT nullIf', required columns: 'nullIf'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT nullIf;) 2026.10.27 19:26:30.079819 [ 5687 ] {07ff9612-bae4-43f0-b654-c567ad5fa9f7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'nullIf' while processing query: 'SELECT nullIf', required columns: 'nullIf'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:30.189080 [ 5687 ] {c39f78db-561e-428e-b561-22d0c436e427} executeQuery: Code: 47. DB::Exception: Missing columns: 'nullIn' while processing query: 'SELECT nullIn', required columns: 'nullIn'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT nullIn;) 2026.10.27 19:26:30.204948 [ 5687 ] {c39f78db-561e-428e-b561-22d0c436e427} TCPHandler: Code: 47. DB::Exception: Missing columns: 'nullIn' while processing query: 'SELECT nullIn', required columns: 'nullIn'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:30.307108 [ 5687 ] {7c146f5d-70cc-41a9-914d-2a7a51fae234} executeQuery: Code: 47. DB::Exception: Missing columns: 'nullInIgnoreSet' while processing query: 'SELECT nullInIgnoreSet', required columns: 'nullInIgnoreSet'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT nullInIgnoreSet;) 2026.10.27 19:26:30.319929 [ 5687 ] {7c146f5d-70cc-41a9-914d-2a7a51fae234} TCPHandler: Code: 47. DB::Exception: Missing columns: 'nullInIgnoreSet' while processing query: 'SELECT nullInIgnoreSet', required columns: 'nullInIgnoreSet'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:30.430204 [ 5687 ] {6473b04f-d83a-4f23-8645-615eae54bec2} executeQuery: Code: 47. DB::Exception: Missing columns: 'or' while processing query: 'SELECT or', required columns: 'or'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT or;) 2026.10.27 19:26:30.447127 [ 5687 ] {6473b04f-d83a-4f23-8645-615eae54bec2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'or' while processing query: 'SELECT or', required columns: 'or'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:30.558738 [ 5687 ] {913acfe8-41ce-47a2-84e0-382878f67527} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseDateTime' while processing query: 'SELECT parseDateTime', required columns: 'parseDateTime'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseDateTime;) 2026.10.27 19:26:30.570054 [ 5687 ] {913acfe8-41ce-47a2-84e0-382878f67527} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseDateTime' while processing query: 'SELECT parseDateTime', required columns: 'parseDateTime'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:30.675621 [ 5687 ] {28a78ac2-cad7-424a-8b30-67878325de32} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseDateTime32BestEffort' while processing query: 'SELECT parseDateTime32BestEffort', required columns: 'parseDateTime32BestEffort'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseDateTime32BestEffort;) 2026.10.27 19:26:30.691478 [ 5687 ] {28a78ac2-cad7-424a-8b30-67878325de32} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseDateTime32BestEffort' while processing query: 'SELECT parseDateTime32BestEffort', required columns: 'parseDateTime32BestEffort'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:30.801117 [ 5687 ] {6e83909c-5ebb-4766-bec8-2f356c816af9} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseDateTime32BestEffortOrNull' while processing query: 'SELECT parseDateTime32BestEffortOrNull', required columns: 'parseDateTime32BestEffortOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseDateTime32BestEffortOrNull;) 2026.10.27 19:26:30.823964 [ 5687 ] {6e83909c-5ebb-4766-bec8-2f356c816af9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseDateTime32BestEffortOrNull' while processing query: 'SELECT parseDateTime32BestEffortOrNull', required columns: 'parseDateTime32BestEffortOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:31.001500 [ 5687 ] {43f4e15e-ee3a-46a2-960c-b53d99138a86} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseDateTime32BestEffortOrZero' while processing query: 'SELECT parseDateTime32BestEffortOrZero', required columns: 'parseDateTime32BestEffortOrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseDateTime32BestEffortOrZero;) 2026.10.27 19:26:31.021728 [ 5687 ] {43f4e15e-ee3a-46a2-960c-b53d99138a86} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseDateTime32BestEffortOrZero' while processing query: 'SELECT parseDateTime32BestEffortOrZero', required columns: 'parseDateTime32BestEffortOrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:31.152567 [ 5687 ] {2013a493-deec-4661-91b4-0132e91297f8} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseDateTime64BestEffort' while processing query: 'SELECT parseDateTime64BestEffort', required columns: 'parseDateTime64BestEffort'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseDateTime64BestEffort;) 2026.10.27 19:26:31.176713 [ 5687 ] {2013a493-deec-4661-91b4-0132e91297f8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseDateTime64BestEffort' while processing query: 'SELECT parseDateTime64BestEffort', required columns: 'parseDateTime64BestEffort'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:31.283369 [ 5687 ] {477b3582-6c11-43e3-a8f0-9aae0481205b} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseDateTime64BestEffortOrNull' while processing query: 'SELECT parseDateTime64BestEffortOrNull', required columns: 'parseDateTime64BestEffortOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseDateTime64BestEffortOrNull;) 2026.10.27 19:26:31.404971 [ 5687 ] {477b3582-6c11-43e3-a8f0-9aae0481205b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseDateTime64BestEffortOrNull' while processing query: 'SELECT parseDateTime64BestEffortOrNull', required columns: 'parseDateTime64BestEffortOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:31.548651 [ 5687 ] {76432783-4741-4871-9856-57ffe2d081da} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseDateTime64BestEffortOrZero' while processing query: 'SELECT parseDateTime64BestEffortOrZero', required columns: 'parseDateTime64BestEffortOrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseDateTime64BestEffortOrZero;) 2026.10.27 19:26:31.551910 [ 5687 ] {76432783-4741-4871-9856-57ffe2d081da} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseDateTime64BestEffortOrZero' while processing query: 'SELECT parseDateTime64BestEffortOrZero', required columns: 'parseDateTime64BestEffortOrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:31.567520 [ 5687 ] {a9c0e527-556e-4c08-904d-954b503dde78} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseDateTime64BestEffortUS' while processing query: 'SELECT parseDateTime64BestEffortUS', required columns: 'parseDateTime64BestEffortUS'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseDateTime64BestEffortUS;) 2026.10.27 19:26:31.569491 [ 5687 ] {a9c0e527-556e-4c08-904d-954b503dde78} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseDateTime64BestEffortUS' while processing query: 'SELECT parseDateTime64BestEffortUS', required columns: 'parseDateTime64BestEffortUS'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:31.584822 [ 5687 ] {0659d25e-278c-4c2a-b441-a15adc7577c6} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseDateTime64BestEffortUSOrNull' while processing query: 'SELECT parseDateTime64BestEffortUSOrNull', required columns: 'parseDateTime64BestEffortUSOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseDateTime64BestEffortUSOrNull;) 2026.10.27 19:26:31.587084 [ 5687 ] {0659d25e-278c-4c2a-b441-a15adc7577c6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseDateTime64BestEffortUSOrNull' while processing query: 'SELECT parseDateTime64BestEffortUSOrNull', required columns: 'parseDateTime64BestEffortUSOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:31.703269 [ 5687 ] {16ae8f80-182e-40dc-9811-e9d3d66eedac} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseDateTime64BestEffortUSOrZero' while processing query: 'SELECT parseDateTime64BestEffortUSOrZero', required columns: 'parseDateTime64BestEffortUSOrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseDateTime64BestEffortUSOrZero;) 2026.10.27 19:26:31.706561 [ 5687 ] {16ae8f80-182e-40dc-9811-e9d3d66eedac} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseDateTime64BestEffortUSOrZero' while processing query: 'SELECT parseDateTime64BestEffortUSOrZero', required columns: 'parseDateTime64BestEffortUSOrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:31.832505 [ 5687 ] {a06540fc-cb7e-4ee5-8dca-d8f2288ad9bb} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseDateTimeBestEffort' while processing query: 'SELECT parseDateTimeBestEffort', required columns: 'parseDateTimeBestEffort'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseDateTimeBestEffort;) 2026.10.27 19:26:31.835435 [ 5687 ] {a06540fc-cb7e-4ee5-8dca-d8f2288ad9bb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseDateTimeBestEffort' while processing query: 'SELECT parseDateTimeBestEffort', required columns: 'parseDateTimeBestEffort'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:31.965838 [ 5687 ] {18c090e1-a9ad-46b3-8219-a66794ccb4b8} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseDateTimeBestEffortOrNull' while processing query: 'SELECT parseDateTimeBestEffortOrNull', required columns: 'parseDateTimeBestEffortOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseDateTimeBestEffortOrNull;) 2026.10.27 19:26:31.969559 [ 5687 ] {18c090e1-a9ad-46b3-8219-a66794ccb4b8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseDateTimeBestEffortOrNull' while processing query: 'SELECT parseDateTimeBestEffortOrNull', required columns: 'parseDateTimeBestEffortOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:31.997184 [ 5687 ] {42870120-69de-44d3-9fd1-c6b6ef1edded} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseDateTimeBestEffortOrZero' while processing query: 'SELECT parseDateTimeBestEffortOrZero', required columns: 'parseDateTimeBestEffortOrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseDateTimeBestEffortOrZero;) 2026.10.27 19:26:32.000079 [ 5687 ] {42870120-69de-44d3-9fd1-c6b6ef1edded} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseDateTimeBestEffortOrZero' while processing query: 'SELECT parseDateTimeBestEffortOrZero', required columns: 'parseDateTimeBestEffortOrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:32.108525 [ 5687 ] {e8cd1df9-311e-4b14-b5c5-588a41ddda46} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseDateTimeBestEffortUS' while processing query: 'SELECT parseDateTimeBestEffortUS', required columns: 'parseDateTimeBestEffortUS'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseDateTimeBestEffortUS;) 2026.10.27 19:26:32.111295 [ 5687 ] {e8cd1df9-311e-4b14-b5c5-588a41ddda46} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseDateTimeBestEffortUS' while processing query: 'SELECT parseDateTimeBestEffortUS', required columns: 'parseDateTimeBestEffortUS'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:32.137988 [ 5687 ] {521757ee-53c2-4420-8dd5-9f8468d700b5} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseDateTimeBestEffortUSOrNull' while processing query: 'SELECT parseDateTimeBestEffortUSOrNull', required columns: 'parseDateTimeBestEffortUSOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseDateTimeBestEffortUSOrNull;) 2026.10.27 19:26:32.141369 [ 5687 ] {521757ee-53c2-4420-8dd5-9f8468d700b5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseDateTimeBestEffortUSOrNull' while processing query: 'SELECT parseDateTimeBestEffortUSOrNull', required columns: 'parseDateTimeBestEffortUSOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:32.169831 [ 5687 ] {e313de13-cb80-468d-80cb-e1ba8d2782b5} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseDateTimeBestEffortUSOrZero' while processing query: 'SELECT parseDateTimeBestEffortUSOrZero', required columns: 'parseDateTimeBestEffortUSOrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseDateTimeBestEffortUSOrZero;) 2026.10.27 19:26:32.173632 [ 5687 ] {e313de13-cb80-468d-80cb-e1ba8d2782b5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseDateTimeBestEffortUSOrZero' while processing query: 'SELECT parseDateTimeBestEffortUSOrZero', required columns: 'parseDateTimeBestEffortUSOrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:32.198975 [ 5687 ] {e1e14905-3768-4085-88cb-52bc0be342e8} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseDateTimeInJodaSyntax' while processing query: 'SELECT parseDateTimeInJodaSyntax', required columns: 'parseDateTimeInJodaSyntax'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseDateTimeInJodaSyntax;) 2026.10.27 19:26:32.201964 [ 5687 ] {e1e14905-3768-4085-88cb-52bc0be342e8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseDateTimeInJodaSyntax' while processing query: 'SELECT parseDateTimeInJodaSyntax', required columns: 'parseDateTimeInJodaSyntax'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:32.227578 [ 5687 ] {fbcf617d-9b90-44c8-bd3e-e626fce23136} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseDateTimeInJodaSyntaxOrNull' while processing query: 'SELECT parseDateTimeInJodaSyntaxOrNull', required columns: 'parseDateTimeInJodaSyntaxOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseDateTimeInJodaSyntaxOrNull;) 2026.10.27 19:26:32.230245 [ 5687 ] {fbcf617d-9b90-44c8-bd3e-e626fce23136} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseDateTimeInJodaSyntaxOrNull' while processing query: 'SELECT parseDateTimeInJodaSyntaxOrNull', required columns: 'parseDateTimeInJodaSyntaxOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:32.254686 [ 5687 ] {25fd20e6-3080-4835-8128-2c8d70412d01} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseDateTimeInJodaSyntaxOrZero' while processing query: 'SELECT parseDateTimeInJodaSyntaxOrZero', required columns: 'parseDateTimeInJodaSyntaxOrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseDateTimeInJodaSyntaxOrZero;) 2026.10.27 19:26:32.257589 [ 5687 ] {25fd20e6-3080-4835-8128-2c8d70412d01} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseDateTimeInJodaSyntaxOrZero' while processing query: 'SELECT parseDateTimeInJodaSyntaxOrZero', required columns: 'parseDateTimeInJodaSyntaxOrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:32.284435 [ 5687 ] {d62b028a-2925-4aee-982c-83dbe01aefe6} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseDateTimeOrNull' while processing query: 'SELECT parseDateTimeOrNull', required columns: 'parseDateTimeOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseDateTimeOrNull;) 2026.10.27 19:26:32.287611 [ 5687 ] {d62b028a-2925-4aee-982c-83dbe01aefe6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseDateTimeOrNull' while processing query: 'SELECT parseDateTimeOrNull', required columns: 'parseDateTimeOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:32.314423 [ 5687 ] {fe8517ad-edd4-4898-b689-e153cbec2f74} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseDateTimeOrZero' while processing query: 'SELECT parseDateTimeOrZero', required columns: 'parseDateTimeOrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseDateTimeOrZero;) 2026.10.27 19:26:32.317774 [ 5687 ] {fe8517ad-edd4-4898-b689-e153cbec2f74} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseDateTimeOrZero' while processing query: 'SELECT parseDateTimeOrZero', required columns: 'parseDateTimeOrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:32.444174 [ 5687 ] {116c1d4a-4f95-4264-94eb-d04489b0b9f1} executeQuery: Code: 47. DB::Exception: Missing columns: 'parseTimeDelta' while processing query: 'SELECT parseTimeDelta', required columns: 'parseTimeDelta'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT parseTimeDelta;) 2026.10.27 19:26:32.446975 [ 5687 ] {116c1d4a-4f95-4264-94eb-d04489b0b9f1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'parseTimeDelta' while processing query: 'SELECT parseTimeDelta', required columns: 'parseTimeDelta'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:32.574444 [ 5687 ] {ee715ba1-5424-45a5-bfbd-065973f366bb} executeQuery: Code: 47. DB::Exception: Missing columns: 'partitionId' while processing query: 'SELECT partitionId', required columns: 'partitionId'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT partitionId;) 2026.10.27 19:26:32.577604 [ 5687 ] {ee715ba1-5424-45a5-bfbd-065973f366bb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'partitionId' while processing query: 'SELECT partitionId', required columns: 'partitionId'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:32.705076 [ 5687 ] {f2b01a5d-904c-413b-8073-d07a0890ef7f} executeQuery: Code: 47. DB::Exception: Missing columns: 'path' while processing query: 'SELECT path', required columns: 'path'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT path;) 2026.10.27 19:26:32.708557 [ 5687 ] {f2b01a5d-904c-413b-8073-d07a0890ef7f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'path' while processing query: 'SELECT path', required columns: 'path'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:32.835739 [ 5687 ] {d703f68d-9b50-4828-93e8-d4e1392a3ce4} executeQuery: Code: 47. DB::Exception: Missing columns: 'pathFull' while processing query: 'SELECT pathFull', required columns: 'pathFull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT pathFull;) 2026.10.27 19:26:32.939006 [ 5687 ] {d703f68d-9b50-4828-93e8-d4e1392a3ce4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'pathFull' while processing query: 'SELECT pathFull', required columns: 'pathFull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:32.964766 [ 5687 ] {e164db2e-276b-4ab3-94ac-b4c33da2116e} executeQuery: Code: 47. DB::Exception: Missing columns: 'pi' while processing query: 'SELECT pi', required columns: 'pi'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT pi;) 2026.10.27 19:26:32.967536 [ 5687 ] {e164db2e-276b-4ab3-94ac-b4c33da2116e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'pi' while processing query: 'SELECT pi', required columns: 'pi'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:32.991973 [ 5687 ] {1c1e4cfa-8f48-4c6e-b3c3-be641c036c8c} executeQuery: Code: 47. DB::Exception: Missing columns: 'plus' while processing query: 'SELECT plus', required columns: 'plus'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT plus;) 2026.10.27 19:26:32.994638 [ 5687 ] {1c1e4cfa-8f48-4c6e-b3c3-be641c036c8c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'plus' while processing query: 'SELECT plus', required columns: 'plus'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:33.019047 [ 5687 ] {45617031-abc6-41e0-b68f-f6ffc9ed3bcf} executeQuery: Code: 47. DB::Exception: Missing columns: 'pmod' while processing query: 'SELECT pmod', required columns: 'pmod'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT pmod;) 2026.10.27 19:26:33.021937 [ 5687 ] {45617031-abc6-41e0-b68f-f6ffc9ed3bcf} TCPHandler: Code: 47. DB::Exception: Missing columns: 'pmod' while processing query: 'SELECT pmod', required columns: 'pmod'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:33.048176 [ 5687 ] {ef15557c-1955-4b10-885b-4c7aa928af8d} executeQuery: Code: 47. DB::Exception: Missing columns: 'pointInEllipses' while processing query: 'SELECT pointInEllipses', required columns: 'pointInEllipses'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT pointInEllipses;) 2026.10.27 19:26:33.050964 [ 5687 ] {ef15557c-1955-4b10-885b-4c7aa928af8d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'pointInEllipses' while processing query: 'SELECT pointInEllipses', required columns: 'pointInEllipses'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:33.075671 [ 5687 ] {806a6dc0-a91e-4d78-9526-ee403bf6108a} executeQuery: Code: 47. DB::Exception: Missing columns: 'pointInPolygon' while processing query: 'SELECT pointInPolygon', required columns: 'pointInPolygon'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT pointInPolygon;) 2026.10.27 19:26:33.078493 [ 5687 ] {806a6dc0-a91e-4d78-9526-ee403bf6108a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'pointInPolygon' while processing query: 'SELECT pointInPolygon', required columns: 'pointInPolygon'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:33.103705 [ 5687 ] {edb4acc4-fcaa-46a8-b1e2-97dc68df4b70} executeQuery: Code: 47. DB::Exception: Missing columns: 'polygonAreaCartesian' while processing query: 'SELECT polygonAreaCartesian', required columns: 'polygonAreaCartesian'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT polygonAreaCartesian;) 2026.10.27 19:26:33.106799 [ 5687 ] {edb4acc4-fcaa-46a8-b1e2-97dc68df4b70} TCPHandler: Code: 47. DB::Exception: Missing columns: 'polygonAreaCartesian' while processing query: 'SELECT polygonAreaCartesian', required columns: 'polygonAreaCartesian'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:33.132404 [ 5687 ] {9de64f32-b145-4f5c-982d-5295301f74ff} executeQuery: Code: 47. DB::Exception: Missing columns: 'polygonAreaSpherical' while processing query: 'SELECT polygonAreaSpherical', required columns: 'polygonAreaSpherical'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT polygonAreaSpherical;) 2026.10.27 19:26:33.135172 [ 5687 ] {9de64f32-b145-4f5c-982d-5295301f74ff} TCPHandler: Code: 47. DB::Exception: Missing columns: 'polygonAreaSpherical' while processing query: 'SELECT polygonAreaSpherical', required columns: 'polygonAreaSpherical'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:33.159600 [ 5687 ] {bc67d41d-e219-4218-8dee-198844071864} executeQuery: Code: 47. DB::Exception: Missing columns: 'polygonConvexHullCartesian' while processing query: 'SELECT polygonConvexHullCartesian', required columns: 'polygonConvexHullCartesian'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT polygonConvexHullCartesian;) 2026.10.27 19:26:33.162456 [ 5687 ] {bc67d41d-e219-4218-8dee-198844071864} TCPHandler: Code: 47. DB::Exception: Missing columns: 'polygonConvexHullCartesian' while processing query: 'SELECT polygonConvexHullCartesian', required columns: 'polygonConvexHullCartesian'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:33.287795 [ 5687 ] {f9fb960f-4c4f-49dd-b166-49e3e316d5a4} executeQuery: Code: 47. DB::Exception: Missing columns: 'polygonPerimeterCartesian' while processing query: 'SELECT polygonPerimeterCartesian', required columns: 'polygonPerimeterCartesian'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT polygonPerimeterCartesian;) 2026.10.27 19:26:33.290930 [ 5687 ] {f9fb960f-4c4f-49dd-b166-49e3e316d5a4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'polygonPerimeterCartesian' while processing query: 'SELECT polygonPerimeterCartesian', required columns: 'polygonPerimeterCartesian'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:33.316649 [ 5687 ] {844656f6-a68e-4f35-a5cd-074b34bdd774} executeQuery: Code: 47. DB::Exception: Missing columns: 'polygonPerimeterSpherical' while processing query: 'SELECT polygonPerimeterSpherical', required columns: 'polygonPerimeterSpherical'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT polygonPerimeterSpherical;) 2026.10.27 19:26:33.319295 [ 5687 ] {844656f6-a68e-4f35-a5cd-074b34bdd774} TCPHandler: Code: 47. DB::Exception: Missing columns: 'polygonPerimeterSpherical' while processing query: 'SELECT polygonPerimeterSpherical', required columns: 'polygonPerimeterSpherical'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:33.444460 [ 5687 ] {aa9e047d-b555-449a-a97c-842c2feaac35} executeQuery: Code: 47. DB::Exception: Missing columns: 'polygonsDistanceCartesian' while processing query: 'SELECT polygonsDistanceCartesian', required columns: 'polygonsDistanceCartesian'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT polygonsDistanceCartesian;) 2026.10.27 19:26:33.447198 [ 5687 ] {aa9e047d-b555-449a-a97c-842c2feaac35} TCPHandler: Code: 47. DB::Exception: Missing columns: 'polygonsDistanceCartesian' while processing query: 'SELECT polygonsDistanceCartesian', required columns: 'polygonsDistanceCartesian'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:33.472545 [ 5687 ] {95262dac-b8b1-4732-83c2-fc3f02a574ac} executeQuery: Code: 47. DB::Exception: Missing columns: 'polygonsDistanceSpherical' while processing query: 'SELECT polygonsDistanceSpherical', required columns: 'polygonsDistanceSpherical'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT polygonsDistanceSpherical;) 2026.10.27 19:26:33.475203 [ 5687 ] {95262dac-b8b1-4732-83c2-fc3f02a574ac} TCPHandler: Code: 47. DB::Exception: Missing columns: 'polygonsDistanceSpherical' while processing query: 'SELECT polygonsDistanceSpherical', required columns: 'polygonsDistanceSpherical'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:33.599201 [ 5687 ] {36f9d84e-135f-4309-b79f-5a4e90ed2108} executeQuery: Code: 47. DB::Exception: Missing columns: 'polygonsEqualsCartesian' while processing query: 'SELECT polygonsEqualsCartesian', required columns: 'polygonsEqualsCartesian'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT polygonsEqualsCartesian;) 2026.10.27 19:26:33.602135 [ 5687 ] {36f9d84e-135f-4309-b79f-5a4e90ed2108} TCPHandler: Code: 47. DB::Exception: Missing columns: 'polygonsEqualsCartesian' while processing query: 'SELECT polygonsEqualsCartesian', required columns: 'polygonsEqualsCartesian'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:33.626738 [ 5687 ] {3044f772-341f-4303-a778-55287990721c} executeQuery: Code: 47. DB::Exception: Missing columns: 'polygonsIntersectionCartesian' while processing query: 'SELECT polygonsIntersectionCartesian', required columns: 'polygonsIntersectionCartesian'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT polygonsIntersectionCartesian;) 2026.10.27 19:26:33.629428 [ 5687 ] {3044f772-341f-4303-a778-55287990721c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'polygonsIntersectionCartesian' while processing query: 'SELECT polygonsIntersectionCartesian', required columns: 'polygonsIntersectionCartesian'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:33.753957 [ 5687 ] {688d4ade-68fb-4658-91d5-131500ffe9e0} executeQuery: Code: 47. DB::Exception: Missing columns: 'polygonsIntersectionSpherical' while processing query: 'SELECT polygonsIntersectionSpherical', required columns: 'polygonsIntersectionSpherical'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT polygonsIntersectionSpherical;) 2026.10.27 19:26:33.756915 [ 5687 ] {688d4ade-68fb-4658-91d5-131500ffe9e0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'polygonsIntersectionSpherical' while processing query: 'SELECT polygonsIntersectionSpherical', required columns: 'polygonsIntersectionSpherical'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:33.783275 [ 5687 ] {a073df6a-a6d3-4ee3-91b3-cc7e0595f7a0} executeQuery: Code: 47. DB::Exception: Missing columns: 'polygonsSymDifferenceCartesian' while processing query: 'SELECT polygonsSymDifferenceCartesian', required columns: 'polygonsSymDifferenceCartesian'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT polygonsSymDifferenceCartesian;) 2026.10.27 19:26:33.786978 [ 5687 ] {a073df6a-a6d3-4ee3-91b3-cc7e0595f7a0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'polygonsSymDifferenceCartesian' while processing query: 'SELECT polygonsSymDifferenceCartesian', required columns: 'polygonsSymDifferenceCartesian'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:33.914706 [ 5687 ] {53919520-966b-4086-b603-6a2c335df707} executeQuery: Code: 47. DB::Exception: Missing columns: 'polygonsSymDifferenceSpherical' while processing query: 'SELECT polygonsSymDifferenceSpherical', required columns: 'polygonsSymDifferenceSpherical'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT polygonsSymDifferenceSpherical;) 2026.10.27 19:26:33.917711 [ 5687 ] {53919520-966b-4086-b603-6a2c335df707} TCPHandler: Code: 47. DB::Exception: Missing columns: 'polygonsSymDifferenceSpherical' while processing query: 'SELECT polygonsSymDifferenceSpherical', required columns: 'polygonsSymDifferenceSpherical'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:33.942823 [ 5687 ] {5bfc2316-1c03-4e9f-9339-0cf51c00efdb} executeQuery: Code: 47. DB::Exception: Missing columns: 'polygonsUnionCartesian' while processing query: 'SELECT polygonsUnionCartesian', required columns: 'polygonsUnionCartesian'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT polygonsUnionCartesian;) 2026.10.27 19:26:33.945757 [ 5687 ] {5bfc2316-1c03-4e9f-9339-0cf51c00efdb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'polygonsUnionCartesian' while processing query: 'SELECT polygonsUnionCartesian', required columns: 'polygonsUnionCartesian'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:34.069779 [ 5687 ] {702cbdcc-ebe4-4d58-a3c4-63e8b8667a2d} executeQuery: Code: 47. DB::Exception: Missing columns: 'polygonsUnionSpherical' while processing query: 'SELECT polygonsUnionSpherical', required columns: 'polygonsUnionSpherical'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT polygonsUnionSpherical;) 2026.10.27 19:26:34.073271 [ 5687 ] {702cbdcc-ebe4-4d58-a3c4-63e8b8667a2d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'polygonsUnionSpherical' while processing query: 'SELECT polygonsUnionSpherical', required columns: 'polygonsUnionSpherical'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:34.099837 [ 5687 ] {515d4583-7496-4309-b08d-398f8d86c1ae} executeQuery: Code: 47. DB::Exception: Missing columns: 'polygonsWithinCartesian' while processing query: 'SELECT polygonsWithinCartesian', required columns: 'polygonsWithinCartesian'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT polygonsWithinCartesian;) 2026.10.27 19:26:34.103097 [ 5687 ] {515d4583-7496-4309-b08d-398f8d86c1ae} TCPHandler: Code: 47. DB::Exception: Missing columns: 'polygonsWithinCartesian' while processing query: 'SELECT polygonsWithinCartesian', required columns: 'polygonsWithinCartesian'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:34.228970 [ 5687 ] {88907dd7-5634-4d28-b0a6-10a3c1f051ee} executeQuery: Code: 47. DB::Exception: Missing columns: 'polygonsWithinSpherical' while processing query: 'SELECT polygonsWithinSpherical', required columns: 'polygonsWithinSpherical'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT polygonsWithinSpherical;) 2026.10.27 19:26:34.231824 [ 5687 ] {88907dd7-5634-4d28-b0a6-10a3c1f051ee} TCPHandler: Code: 47. DB::Exception: Missing columns: 'polygonsWithinSpherical' while processing query: 'SELECT polygonsWithinSpherical', required columns: 'polygonsWithinSpherical'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:34.256787 [ 5687 ] {b375c85f-2c8a-41b5-8bf0-4649a167b59c} executeQuery: Code: 47. DB::Exception: Missing columns: 'port' while processing query: 'SELECT port', required columns: 'port'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT port;) 2026.10.27 19:26:34.259509 [ 5687 ] {b375c85f-2c8a-41b5-8bf0-4649a167b59c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'port' while processing query: 'SELECT port', required columns: 'port'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:34.384639 [ 5687 ] {4a674d1b-33e9-4848-97bc-7c8d1f5dc16b} executeQuery: Code: 47. DB::Exception: Missing columns: 'portRFC' while processing query: 'SELECT portRFC', required columns: 'portRFC'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT portRFC;) 2026.10.27 19:26:34.387529 [ 5687 ] {4a674d1b-33e9-4848-97bc-7c8d1f5dc16b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'portRFC' while processing query: 'SELECT portRFC', required columns: 'portRFC'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:34.411976 [ 5687 ] {eeba393d-8ab3-46bf-812d-73765e22adbf} executeQuery: Code: 47. DB::Exception: Missing columns: 'position' while processing query: 'SELECT position', required columns: 'position'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT position;) 2026.10.27 19:26:34.414665 [ 5687 ] {eeba393d-8ab3-46bf-812d-73765e22adbf} TCPHandler: Code: 47. DB::Exception: Missing columns: 'position' while processing query: 'SELECT position', required columns: 'position'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:34.438336 [ 5687 ] {4753e8b9-7cbd-4490-9a12-781df36956fe} executeQuery: Code: 47. DB::Exception: Missing columns: 'positionCaseInsensitive' while processing query: 'SELECT positionCaseInsensitive', required columns: 'positionCaseInsensitive'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT positionCaseInsensitive;) 2026.10.27 19:26:34.441183 [ 5687 ] {4753e8b9-7cbd-4490-9a12-781df36956fe} TCPHandler: Code: 47. DB::Exception: Missing columns: 'positionCaseInsensitive' while processing query: 'SELECT positionCaseInsensitive', required columns: 'positionCaseInsensitive'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:34.566481 [ 5687 ] {17167368-b08d-4116-a274-870ddc1a4a6b} executeQuery: Code: 47. DB::Exception: Missing columns: 'positionCaseInsensitiveUTF8' while processing query: 'SELECT positionCaseInsensitiveUTF8', required columns: 'positionCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT positionCaseInsensitiveUTF8;) 2026.10.27 19:26:34.669766 [ 5687 ] {17167368-b08d-4116-a274-870ddc1a4a6b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'positionCaseInsensitiveUTF8' while processing query: 'SELECT positionCaseInsensitiveUTF8', required columns: 'positionCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:34.794668 [ 5687 ] {0f6586dd-4640-4cd9-babf-cb9e3c4e1eef} executeQuery: Code: 47. DB::Exception: Missing columns: 'positionUTF8' while processing query: 'SELECT positionUTF8', required columns: 'positionUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT positionUTF8;) 2026.10.27 19:26:34.797667 [ 5687 ] {0f6586dd-4640-4cd9-babf-cb9e3c4e1eef} TCPHandler: Code: 47. DB::Exception: Missing columns: 'positionUTF8' while processing query: 'SELECT positionUTF8', required columns: 'positionUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:34.822504 [ 5687 ] {693405a1-ae11-4c65-b860-ee6148c38828} executeQuery: Code: 47. DB::Exception: Missing columns: 'positiveModulo' while processing query: 'SELECT positiveModulo', required columns: 'positiveModulo'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT positiveModulo;) 2026.10.27 19:26:34.825810 [ 5687 ] {693405a1-ae11-4c65-b860-ee6148c38828} TCPHandler: Code: 47. DB::Exception: Missing columns: 'positiveModulo' while processing query: 'SELECT positiveModulo', required columns: 'positiveModulo'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:34.849783 [ 5687 ] {2984c0c4-4e66-44b5-8769-b1735e76e65e} executeQuery: Code: 47. DB::Exception: Missing columns: 'positive_modulo' while processing query: 'SELECT positive_modulo', required columns: 'positive_modulo'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT positive_modulo;) 2026.10.27 19:26:34.852704 [ 5687 ] {2984c0c4-4e66-44b5-8769-b1735e76e65e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'positive_modulo' while processing query: 'SELECT positive_modulo', required columns: 'positive_modulo'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:34.977175 [ 5687 ] {3f0dc942-c93c-4998-86f7-6739638760c5} executeQuery: Code: 47. DB::Exception: Missing columns: 'pow' while processing query: 'SELECT pow', required columns: 'pow'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT pow;) 2026.10.27 19:26:34.980666 [ 5687 ] {3f0dc942-c93c-4998-86f7-6739638760c5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'pow' while processing query: 'SELECT pow', required columns: 'pow'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:35.108335 [ 5687 ] {66811218-7294-442e-940c-ee08557b97c6} executeQuery: Code: 47. DB::Exception: Missing columns: 'power' while processing query: 'SELECT power', required columns: 'power'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT power;) 2026.10.27 19:26:35.110977 [ 5687 ] {66811218-7294-442e-940c-ee08557b97c6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'power' while processing query: 'SELECT power', required columns: 'power'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:35.135166 [ 5687 ] {a8af9293-cda6-46f6-8a61-1903fb411ce5} executeQuery: Code: 47. DB::Exception: Missing columns: 'proportionsZTest' while processing query: 'SELECT proportionsZTest', required columns: 'proportionsZTest'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT proportionsZTest;) 2026.10.27 19:26:35.138143 [ 5687 ] {a8af9293-cda6-46f6-8a61-1903fb411ce5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'proportionsZTest' while processing query: 'SELECT proportionsZTest', required columns: 'proportionsZTest'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:35.162075 [ 5687 ] {a2d920c2-3095-4f95-bfe4-773ff4f3b04c} executeQuery: Code: 47. DB::Exception: Missing columns: 'protocol' while processing query: 'SELECT protocol', required columns: 'protocol'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT protocol;) 2026.10.27 19:26:35.164924 [ 5687 ] {a2d920c2-3095-4f95-bfe4-773ff4f3b04c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'protocol' while processing query: 'SELECT protocol', required columns: 'protocol'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:35.188473 [ 5687 ] {53f5f602-5fb7-440b-a54f-00150f01d123} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantile' while processing query: 'SELECT quantile', required columns: 'quantile'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantile;) 2026.10.27 19:26:35.191092 [ 5687 ] {53f5f602-5fb7-440b-a54f-00150f01d123} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantile' while processing query: 'SELECT quantile', required columns: 'quantile'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:35.309916 [ 5687 ] {fb3f2a33-f4f3-4f5f-bd7d-8d9412e961a0} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantileBFloat16' while processing query: 'SELECT quantileBFloat16', required columns: 'quantileBFloat16'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantileBFloat16;) 2026.10.27 19:26:35.313343 [ 5687 ] {fb3f2a33-f4f3-4f5f-bd7d-8d9412e961a0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantileBFloat16' while processing query: 'SELECT quantileBFloat16', required columns: 'quantileBFloat16'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:35.339623 [ 5687 ] {d3b256bb-7ae8-47c7-b557-d1cdd6428c64} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantileBFloat16Weighted' while processing query: 'SELECT quantileBFloat16Weighted', required columns: 'quantileBFloat16Weighted'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantileBFloat16Weighted;) 2026.10.27 19:26:35.343054 [ 5687 ] {d3b256bb-7ae8-47c7-b557-d1cdd6428c64} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantileBFloat16Weighted' while processing query: 'SELECT quantileBFloat16Weighted', required columns: 'quantileBFloat16Weighted'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:35.470087 [ 5687 ] {87c87c52-289f-42b7-bc9a-8e6cbe861906} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantileDeterministic' while processing query: 'SELECT quantileDeterministic', required columns: 'quantileDeterministic'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantileDeterministic;) 2026.10.27 19:26:35.472930 [ 5687 ] {87c87c52-289f-42b7-bc9a-8e6cbe861906} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantileDeterministic' while processing query: 'SELECT quantileDeterministic', required columns: 'quantileDeterministic'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:35.498444 [ 5687 ] {0c93268b-dffd-4d8d-8ab7-23ab1a27fd89} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantileExact' while processing query: 'SELECT quantileExact', required columns: 'quantileExact'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantileExact;) 2026.10.27 19:26:35.501334 [ 5687 ] {0c93268b-dffd-4d8d-8ab7-23ab1a27fd89} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantileExact' while processing query: 'SELECT quantileExact', required columns: 'quantileExact'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:35.523039 [ 5687 ] {b3b59491-c9fe-407b-ba7c-05d906455536} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantileExactExclusive' while processing query: 'SELECT quantileExactExclusive', required columns: 'quantileExactExclusive'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantileExactExclusive;) 2026.10.27 19:26:35.525883 [ 5687 ] {b3b59491-c9fe-407b-ba7c-05d906455536} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantileExactExclusive' while processing query: 'SELECT quantileExactExclusive', required columns: 'quantileExactExclusive'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:35.550764 [ 5687 ] {71817721-8ff5-4e06-b2d7-6676a4398766} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantileExactHigh' while processing query: 'SELECT quantileExactHigh', required columns: 'quantileExactHigh'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantileExactHigh;) 2026.10.27 19:26:35.553336 [ 5687 ] {71817721-8ff5-4e06-b2d7-6676a4398766} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantileExactHigh' while processing query: 'SELECT quantileExactHigh', required columns: 'quantileExactHigh'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:35.578185 [ 5687 ] {c0270334-12e6-440c-90ed-8e22530216b0} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantileExactInclusive' while processing query: 'SELECT quantileExactInclusive', required columns: 'quantileExactInclusive'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantileExactInclusive;) 2026.10.27 19:26:35.580988 [ 5687 ] {c0270334-12e6-440c-90ed-8e22530216b0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantileExactInclusive' while processing query: 'SELECT quantileExactInclusive', required columns: 'quantileExactInclusive'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:35.605520 [ 5687 ] {2c3b7103-9400-4e7a-b94f-8948449b4875} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantileExactLow' while processing query: 'SELECT quantileExactLow', required columns: 'quantileExactLow'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantileExactLow;) 2026.10.27 19:26:35.608515 [ 5687 ] {2c3b7103-9400-4e7a-b94f-8948449b4875} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantileExactLow' while processing query: 'SELECT quantileExactLow', required columns: 'quantileExactLow'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:35.732496 [ 5687 ] {c40192a9-5e9e-4ec4-ad17-961da7095cba} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantileExactWeighted' while processing query: 'SELECT quantileExactWeighted', required columns: 'quantileExactWeighted'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantileExactWeighted;) 2026.10.27 19:26:35.735139 [ 5687 ] {c40192a9-5e9e-4ec4-ad17-961da7095cba} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantileExactWeighted' while processing query: 'SELECT quantileExactWeighted', required columns: 'quantileExactWeighted'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:35.761064 [ 5687 ] {03edeedd-5093-4b09-ba4c-34f1749fb4a6} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantileGK' while processing query: 'SELECT quantileGK', required columns: 'quantileGK'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantileGK;) 2026.10.27 19:26:35.763722 [ 5687 ] {03edeedd-5093-4b09-ba4c-34f1749fb4a6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantileGK' while processing query: 'SELECT quantileGK', required columns: 'quantileGK'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:35.785326 [ 5687 ] {30f31f5c-f692-40f2-aa76-598a710cf49c} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantileInterpolatedWeighted' while processing query: 'SELECT quantileInterpolatedWeighted', required columns: 'quantileInterpolatedWeighted'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantileInterpolatedWeighted;) 2026.10.27 19:26:35.787786 [ 5687 ] {30f31f5c-f692-40f2-aa76-598a710cf49c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantileInterpolatedWeighted' while processing query: 'SELECT quantileInterpolatedWeighted', required columns: 'quantileInterpolatedWeighted'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:35.811755 [ 5687 ] {82413382-ea5e-401a-a5a2-7c19b51eef75} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantileTDigest' while processing query: 'SELECT quantileTDigest', required columns: 'quantileTDigest'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantileTDigest;) 2026.10.27 19:26:35.814669 [ 5687 ] {82413382-ea5e-401a-a5a2-7c19b51eef75} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantileTDigest' while processing query: 'SELECT quantileTDigest', required columns: 'quantileTDigest'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:35.939606 [ 5687 ] {007d58e3-bc65-4e34-b865-9799e30ea88b} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantileTDigestWeighted' while processing query: 'SELECT quantileTDigestWeighted', required columns: 'quantileTDigestWeighted'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantileTDigestWeighted;) 2026.10.27 19:26:35.942958 [ 5687 ] {007d58e3-bc65-4e34-b865-9799e30ea88b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantileTDigestWeighted' while processing query: 'SELECT quantileTDigestWeighted', required columns: 'quantileTDigestWeighted'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:35.966103 [ 5687 ] {23d6a70d-ea56-4579-a1d7-d4827585baf8} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantileTiming' while processing query: 'SELECT quantileTiming', required columns: 'quantileTiming'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantileTiming;) 2026.10.27 19:26:35.969215 [ 5687 ] {23d6a70d-ea56-4579-a1d7-d4827585baf8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantileTiming' while processing query: 'SELECT quantileTiming', required columns: 'quantileTiming'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:36.091070 [ 5687 ] {d60696d6-bc7f-44c2-9953-659167f5c012} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantileTimingWeighted' while processing query: 'SELECT quantileTimingWeighted', required columns: 'quantileTimingWeighted'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantileTimingWeighted;) 2026.10.27 19:26:36.094208 [ 5687 ] {d60696d6-bc7f-44c2-9953-659167f5c012} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantileTimingWeighted' while processing query: 'SELECT quantileTimingWeighted', required columns: 'quantileTimingWeighted'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:36.119580 [ 5687 ] {3a6243e8-0dc8-46fd-9860-9b53f319a44e} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantiles' while processing query: 'SELECT quantiles', required columns: 'quantiles'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantiles;) 2026.10.27 19:26:36.122581 [ 5687 ] {3a6243e8-0dc8-46fd-9860-9b53f319a44e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantiles' while processing query: 'SELECT quantiles', required columns: 'quantiles'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:36.150374 [ 5687 ] {eec005ba-fbdf-4cb9-b805-e337dc73626f} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantilesBFloat16' while processing query: 'SELECT quantilesBFloat16', required columns: 'quantilesBFloat16'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantilesBFloat16;) 2026.10.27 19:26:36.154019 [ 5687 ] {eec005ba-fbdf-4cb9-b805-e337dc73626f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantilesBFloat16' while processing query: 'SELECT quantilesBFloat16', required columns: 'quantilesBFloat16'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:36.279931 [ 5687 ] {82c70757-b4b7-46fd-8e9c-d8072cf9f9ee} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantilesBFloat16Weighted' while processing query: 'SELECT quantilesBFloat16Weighted', required columns: 'quantilesBFloat16Weighted'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantilesBFloat16Weighted;) 2026.10.27 19:26:36.282887 [ 5687 ] {82c70757-b4b7-46fd-8e9c-d8072cf9f9ee} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantilesBFloat16Weighted' while processing query: 'SELECT quantilesBFloat16Weighted', required columns: 'quantilesBFloat16Weighted'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:36.421670 [ 5687 ] {3786246a-2ef1-487e-a147-5ad0c07d7ccf} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantilesDeterministic' while processing query: 'SELECT quantilesDeterministic', required columns: 'quantilesDeterministic'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantilesDeterministic;) 2026.10.27 19:26:36.429897 [ 5687 ] {3786246a-2ef1-487e-a147-5ad0c07d7ccf} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantilesDeterministic' while processing query: 'SELECT quantilesDeterministic', required columns: 'quantilesDeterministic'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:36.451647 [ 5687 ] {1f7c07f0-bc4e-4a50-83b0-c1780e568a79} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantilesExact' while processing query: 'SELECT quantilesExact', required columns: 'quantilesExact'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantilesExact;) 2026.10.27 19:26:36.455351 [ 5687 ] {1f7c07f0-bc4e-4a50-83b0-c1780e568a79} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantilesExact' while processing query: 'SELECT quantilesExact', required columns: 'quantilesExact'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:36.470874 [ 5687 ] {4f6fb9d8-a8f9-49b5-8e83-db76cc48f416} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantilesExactExclusive' while processing query: 'SELECT quantilesExactExclusive', required columns: 'quantilesExactExclusive'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantilesExactExclusive;) 2026.10.27 19:26:36.472883 [ 5687 ] {4f6fb9d8-a8f9-49b5-8e83-db76cc48f416} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantilesExactExclusive' while processing query: 'SELECT quantilesExactExclusive', required columns: 'quantilesExactExclusive'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:36.494155 [ 5687 ] {48ce1299-1eb7-4d7a-939f-017fb370c07f} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantilesExactHigh' while processing query: 'SELECT quantilesExactHigh', required columns: 'quantilesExactHigh'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantilesExactHigh;) 2026.10.27 19:26:36.495865 [ 5687 ] {48ce1299-1eb7-4d7a-939f-017fb370c07f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantilesExactHigh' while processing query: 'SELECT quantilesExactHigh', required columns: 'quantilesExactHigh'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:36.621871 [ 5687 ] {3ce2c1fa-c0b4-4513-ab92-4af03ce37a28} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantilesExactInclusive' while processing query: 'SELECT quantilesExactInclusive', required columns: 'quantilesExactInclusive'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantilesExactInclusive;) 2026.10.27 19:26:36.624609 [ 5687 ] {3ce2c1fa-c0b4-4513-ab92-4af03ce37a28} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantilesExactInclusive' while processing query: 'SELECT quantilesExactInclusive', required columns: 'quantilesExactInclusive'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:36.648679 [ 5687 ] {975a7ffd-6a3e-4814-a67b-67e929ca320c} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantilesExactLow' while processing query: 'SELECT quantilesExactLow', required columns: 'quantilesExactLow'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantilesExactLow;) 2026.10.27 19:26:36.651680 [ 5687 ] {975a7ffd-6a3e-4814-a67b-67e929ca320c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantilesExactLow' while processing query: 'SELECT quantilesExactLow', required columns: 'quantilesExactLow'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:36.671518 [ 5687 ] {56323a99-0264-4ce0-9c88-599e2dcdd317} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantilesExactWeighted' while processing query: 'SELECT quantilesExactWeighted', required columns: 'quantilesExactWeighted'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantilesExactWeighted;) 2026.10.27 19:26:36.675404 [ 5687 ] {56323a99-0264-4ce0-9c88-599e2dcdd317} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantilesExactWeighted' while processing query: 'SELECT quantilesExactWeighted', required columns: 'quantilesExactWeighted'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:36.700722 [ 5687 ] {59eb42b9-96e9-433b-9ccb-8f30e2a15e68} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantilesGK' while processing query: 'SELECT quantilesGK', required columns: 'quantilesGK'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantilesGK;) 2026.10.27 19:26:36.704249 [ 5687 ] {59eb42b9-96e9-433b-9ccb-8f30e2a15e68} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantilesGK' while processing query: 'SELECT quantilesGK', required columns: 'quantilesGK'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:36.727591 [ 5687 ] {7a2409a2-31f0-40b9-9077-3cf23e48e524} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantilesInterpolatedWeighted' while processing query: 'SELECT quantilesInterpolatedWeighted', required columns: 'quantilesInterpolatedWeighted'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantilesInterpolatedWeighted;) 2026.10.27 19:26:36.730408 [ 5687 ] {7a2409a2-31f0-40b9-9077-3cf23e48e524} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantilesInterpolatedWeighted' while processing query: 'SELECT quantilesInterpolatedWeighted', required columns: 'quantilesInterpolatedWeighted'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:36.757464 [ 5687 ] {9482f2a4-3f80-4e08-b34c-b624d9620ffa} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantilesTDigest' while processing query: 'SELECT quantilesTDigest', required columns: 'quantilesTDigest'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantilesTDigest;) 2026.10.27 19:26:36.860701 [ 5687 ] {9482f2a4-3f80-4e08-b34c-b624d9620ffa} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantilesTDigest' while processing query: 'SELECT quantilesTDigest', required columns: 'quantilesTDigest'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:36.977044 [ 5687 ] {5ce293c3-1d58-40eb-b0bd-948aacc2b535} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantilesTDigestWeighted' while processing query: 'SELECT quantilesTDigestWeighted', required columns: 'quantilesTDigestWeighted'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantilesTDigestWeighted;) 2026.10.27 19:26:36.979166 [ 5687 ] {5ce293c3-1d58-40eb-b0bd-948aacc2b535} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantilesTDigestWeighted' while processing query: 'SELECT quantilesTDigestWeighted', required columns: 'quantilesTDigestWeighted'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:36.997943 [ 5687 ] {f82be835-408f-4720-ad67-144c961c157c} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantilesTiming' while processing query: 'SELECT quantilesTiming', required columns: 'quantilesTiming'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantilesTiming;) 2026.10.27 19:26:36.999856 [ 5687 ] {f82be835-408f-4720-ad67-144c961c157c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantilesTiming' while processing query: 'SELECT quantilesTiming', required columns: 'quantilesTiming'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.017795 [ 5687 ] {2c977ab6-92fb-4777-a2db-1aff1be816bc} executeQuery: Code: 47. DB::Exception: Missing columns: 'quantilesTimingWeighted' while processing query: 'SELECT quantilesTimingWeighted', required columns: 'quantilesTimingWeighted'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT quantilesTimingWeighted;) 2026.10.27 19:26:37.019748 [ 5687 ] {2c977ab6-92fb-4777-a2db-1aff1be816bc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'quantilesTimingWeighted' while processing query: 'SELECT quantilesTimingWeighted', required columns: 'quantilesTimingWeighted'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.034041 [ 5687 ] {1f3dab73-a001-4b15-aec7-060cd78bff96} executeQuery: Code: 47. DB::Exception: Missing columns: 'queryID' while processing query: 'SELECT queryID', required columns: 'queryID'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT queryID;) 2026.10.27 19:26:37.036415 [ 5687 ] {1f3dab73-a001-4b15-aec7-060cd78bff96} TCPHandler: Code: 47. DB::Exception: Missing columns: 'queryID' while processing query: 'SELECT queryID', required columns: 'queryID'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.050854 [ 5687 ] {5e9e9c6b-f140-4a5b-b2d5-f6e7ca44306b} executeQuery: Code: 47. DB::Exception: Missing columns: 'queryString' while processing query: 'SELECT queryString', required columns: 'queryString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT queryString;) 2026.10.27 19:26:37.053180 [ 5687 ] {5e9e9c6b-f140-4a5b-b2d5-f6e7ca44306b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'queryString' while processing query: 'SELECT queryString', required columns: 'queryString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.067145 [ 5687 ] {337678b7-d60d-465a-ab26-941c6dff17e4} executeQuery: Code: 47. DB::Exception: Missing columns: 'queryStringAndFragment' while processing query: 'SELECT queryStringAndFragment', required columns: 'queryStringAndFragment'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT queryStringAndFragment;) 2026.10.27 19:26:37.169544 [ 5687 ] {337678b7-d60d-465a-ab26-941c6dff17e4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'queryStringAndFragment' while processing query: 'SELECT queryStringAndFragment', required columns: 'queryStringAndFragment'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.187328 [ 5687 ] {2a38da0a-0602-4b18-90bb-118da24bac4b} executeQuery: Code: 47. DB::Exception: Missing columns: 'query_id' while processing query: 'SELECT query_id', required columns: 'query_id'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT query_id;) 2026.10.27 19:26:37.189468 [ 5687 ] {2a38da0a-0602-4b18-90bb-118da24bac4b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'query_id' while processing query: 'SELECT query_id', required columns: 'query_id'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.205326 [ 5687 ] {8e332076-6cde-4af0-8d54-e700c3840745} executeQuery: Code: 47. DB::Exception: Missing columns: 'radians' while processing query: 'SELECT radians', required columns: 'radians'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT radians;) 2026.10.27 19:26:37.207473 [ 5687 ] {8e332076-6cde-4af0-8d54-e700c3840745} TCPHandler: Code: 47. DB::Exception: Missing columns: 'radians' while processing query: 'SELECT radians', required columns: 'radians'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.222428 [ 5687 ] {af5f6130-3728-4312-bcb2-3dc2d1678707} executeQuery: Code: 47. DB::Exception: Missing columns: 'rand' while processing query: 'SELECT rand', required columns: 'rand'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT rand;) 2026.10.27 19:26:37.224648 [ 5687 ] {af5f6130-3728-4312-bcb2-3dc2d1678707} TCPHandler: Code: 47. DB::Exception: Missing columns: 'rand' while processing query: 'SELECT rand', required columns: 'rand'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.339198 [ 5687 ] {54e7ff3a-b57c-4d86-9980-a639b5d6036c} executeQuery: Code: 47. DB::Exception: Missing columns: 'rand32' while processing query: 'SELECT rand32', required columns: 'rand32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT rand32;) 2026.10.27 19:26:37.354786 [ 5687 ] {54e7ff3a-b57c-4d86-9980-a639b5d6036c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'rand32' while processing query: 'SELECT rand32', required columns: 'rand32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.367821 [ 5687 ] {992f48e1-5050-4431-8d42-c0c8124fea5c} executeQuery: Code: 47. DB::Exception: Missing columns: 'rand64' while processing query: 'SELECT rand64', required columns: 'rand64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT rand64;) 2026.10.27 19:26:37.371416 [ 5687 ] {992f48e1-5050-4431-8d42-c0c8124fea5c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'rand64' while processing query: 'SELECT rand64', required columns: 'rand64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.484862 [ 5687 ] {d82aa68a-dbc0-4db4-a8d6-174cfefc93de} executeQuery: Code: 47. DB::Exception: Missing columns: 'randBernoulli' while processing query: 'SELECT randBernoulli', required columns: 'randBernoulli'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT randBernoulli;) 2026.10.27 19:26:37.487147 [ 5687 ] {d82aa68a-dbc0-4db4-a8d6-174cfefc93de} TCPHandler: Code: 47. DB::Exception: Missing columns: 'randBernoulli' while processing query: 'SELECT randBernoulli', required columns: 'randBernoulli'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.505461 [ 5687 ] {8153ec3c-edd3-42a2-9a47-b7357b1d6efb} executeQuery: Code: 47. DB::Exception: Missing columns: 'randBinomial' while processing query: 'SELECT randBinomial', required columns: 'randBinomial'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT randBinomial;) 2026.10.27 19:26:37.508310 [ 5687 ] {8153ec3c-edd3-42a2-9a47-b7357b1d6efb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'randBinomial' while processing query: 'SELECT randBinomial', required columns: 'randBinomial'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.528990 [ 5687 ] {6f3f7dd4-2ab3-487d-a077-10e85f04dee4} executeQuery: Code: 47. DB::Exception: Missing columns: 'randCanonical' while processing query: 'SELECT randCanonical', required columns: 'randCanonical'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT randCanonical;) 2026.10.27 19:26:37.532816 [ 5687 ] {6f3f7dd4-2ab3-487d-a077-10e85f04dee4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'randCanonical' while processing query: 'SELECT randCanonical', required columns: 'randCanonical'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.550789 [ 5687 ] {0264493d-0bf1-4926-aea3-7c965b82fd82} executeQuery: Code: 47. DB::Exception: Missing columns: 'randChiSquared' while processing query: 'SELECT randChiSquared', required columns: 'randChiSquared'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT randChiSquared;) 2026.10.27 19:26:37.552798 [ 5687 ] {0264493d-0bf1-4926-aea3-7c965b82fd82} TCPHandler: Code: 47. DB::Exception: Missing columns: 'randChiSquared' while processing query: 'SELECT randChiSquared', required columns: 'randChiSquared'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.571364 [ 5687 ] {45a21479-8d9d-4eba-9a59-6cb457d3c432} executeQuery: Code: 47. DB::Exception: Missing columns: 'randConstant' while processing query: 'SELECT randConstant', required columns: 'randConstant'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT randConstant;) 2026.10.27 19:26:37.573280 [ 5687 ] {45a21479-8d9d-4eba-9a59-6cb457d3c432} TCPHandler: Code: 47. DB::Exception: Missing columns: 'randConstant' while processing query: 'SELECT randConstant', required columns: 'randConstant'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.587148 [ 5687 ] {28b15150-5b91-4af1-8366-60a2d6afa160} executeQuery: Code: 47. DB::Exception: Missing columns: 'randExponential' while processing query: 'SELECT randExponential', required columns: 'randExponential'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT randExponential;) 2026.10.27 19:26:37.588898 [ 5687 ] {28b15150-5b91-4af1-8366-60a2d6afa160} TCPHandler: Code: 47. DB::Exception: Missing columns: 'randExponential' while processing query: 'SELECT randExponential', required columns: 'randExponential'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.602857 [ 5687 ] {0bc16171-dd29-4503-b855-c0506cd2bfde} executeQuery: Code: 47. DB::Exception: Missing columns: 'randFisherF' while processing query: 'SELECT randFisherF', required columns: 'randFisherF'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT randFisherF;) 2026.10.27 19:26:37.605018 [ 5687 ] {0bc16171-dd29-4503-b855-c0506cd2bfde} TCPHandler: Code: 47. DB::Exception: Missing columns: 'randFisherF' while processing query: 'SELECT randFisherF', required columns: 'randFisherF'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.618379 [ 5687 ] {eb52053f-d72a-4039-91ce-7cb9c2306f01} executeQuery: Code: 47. DB::Exception: Missing columns: 'randLogNormal' while processing query: 'SELECT randLogNormal', required columns: 'randLogNormal'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT randLogNormal;) 2026.10.27 19:26:37.620226 [ 5687 ] {eb52053f-d72a-4039-91ce-7cb9c2306f01} TCPHandler: Code: 47. DB::Exception: Missing columns: 'randLogNormal' while processing query: 'SELECT randLogNormal', required columns: 'randLogNormal'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.632366 [ 5687 ] {b38e009f-4dcb-44d3-a6e0-a7431d44c7c9} executeQuery: Code: 47. DB::Exception: Missing columns: 'randNegativeBinomial' while processing query: 'SELECT randNegativeBinomial', required columns: 'randNegativeBinomial'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT randNegativeBinomial;) 2026.10.27 19:26:37.633737 [ 5687 ] {b38e009f-4dcb-44d3-a6e0-a7431d44c7c9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'randNegativeBinomial' while processing query: 'SELECT randNegativeBinomial', required columns: 'randNegativeBinomial'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.645108 [ 5687 ] {f7c00340-3559-4a15-abc0-6d269d78e605} executeQuery: Code: 47. DB::Exception: Missing columns: 'randNormal' while processing query: 'SELECT randNormal', required columns: 'randNormal'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT randNormal;) 2026.10.27 19:26:37.646464 [ 5687 ] {f7c00340-3559-4a15-abc0-6d269d78e605} TCPHandler: Code: 47. DB::Exception: Missing columns: 'randNormal' while processing query: 'SELECT randNormal', required columns: 'randNormal'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.657751 [ 5687 ] {229efc05-2faa-4229-929e-dfebfff3913c} executeQuery: Code: 47. DB::Exception: Missing columns: 'randPoisson' while processing query: 'SELECT randPoisson', required columns: 'randPoisson'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT randPoisson;) 2026.10.27 19:26:37.659091 [ 5687 ] {229efc05-2faa-4229-929e-dfebfff3913c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'randPoisson' while processing query: 'SELECT randPoisson', required columns: 'randPoisson'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.774338 [ 5687 ] {1214d806-255b-42f2-a326-1d87a4efa5f8} executeQuery: Code: 47. DB::Exception: Missing columns: 'randStudentT' while processing query: 'SELECT randStudentT', required columns: 'randStudentT'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT randStudentT;) 2026.10.27 19:26:37.776525 [ 5687 ] {1214d806-255b-42f2-a326-1d87a4efa5f8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'randStudentT' while processing query: 'SELECT randStudentT', required columns: 'randStudentT'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.799066 [ 5687 ] {8bddcaed-1ab0-44c3-847d-6f538d3e5208} executeQuery: Code: 47. DB::Exception: Missing columns: 'randUniform' while processing query: 'SELECT randUniform', required columns: 'randUniform'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT randUniform;) 2026.10.27 19:26:37.801492 [ 5687 ] {8bddcaed-1ab0-44c3-847d-6f538d3e5208} TCPHandler: Code: 47. DB::Exception: Missing columns: 'randUniform' while processing query: 'SELECT randUniform', required columns: 'randUniform'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.814087 [ 5687 ] {8cc2eed7-66da-4698-b3e3-08aa42bcbf1b} executeQuery: Code: 47. DB::Exception: Missing columns: 'randomFixedString' while processing query: 'SELECT randomFixedString', required columns: 'randomFixedString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT randomFixedString;) 2026.10.27 19:26:37.815645 [ 5687 ] {8cc2eed7-66da-4698-b3e3-08aa42bcbf1b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'randomFixedString' while processing query: 'SELECT randomFixedString', required columns: 'randomFixedString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.828597 [ 5687 ] {c64672a5-3f79-45ac-8c7d-1347abd96e26} executeQuery: Code: 47. DB::Exception: Missing columns: 'randomPrintableASCII' while processing query: 'SELECT randomPrintableASCII', required columns: 'randomPrintableASCII'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT randomPrintableASCII;) 2026.10.27 19:26:37.830299 [ 5687 ] {c64672a5-3f79-45ac-8c7d-1347abd96e26} TCPHandler: Code: 47. DB::Exception: Missing columns: 'randomPrintableASCII' while processing query: 'SELECT randomPrintableASCII', required columns: 'randomPrintableASCII'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.944995 [ 5687 ] {c8594be0-0fcf-4f5e-a9fc-fc3e30dca892} executeQuery: Code: 47. DB::Exception: Missing columns: 'randomString' while processing query: 'SELECT randomString', required columns: 'randomString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT randomString;) 2026.10.27 19:26:37.946711 [ 5687 ] {c8594be0-0fcf-4f5e-a9fc-fc3e30dca892} TCPHandler: Code: 47. DB::Exception: Missing columns: 'randomString' while processing query: 'SELECT randomString', required columns: 'randomString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.967485 [ 5687 ] {e5132f56-6476-40fc-a13f-03c95d84599b} executeQuery: Code: 47. DB::Exception: Missing columns: 'randomStringUTF8' while processing query: 'SELECT randomStringUTF8', required columns: 'randomStringUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT randomStringUTF8;) 2026.10.27 19:26:37.969394 [ 5687 ] {e5132f56-6476-40fc-a13f-03c95d84599b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'randomStringUTF8' while processing query: 'SELECT randomStringUTF8', required columns: 'randomStringUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:37.988568 [ 5687 ] {f8cfacf5-4ed2-48bb-8d8f-3a6bff332e53} executeQuery: Code: 47. DB::Exception: Missing columns: 'range' while processing query: 'SELECT range', required columns: 'range'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT range;) 2026.10.27 19:26:37.990285 [ 5687 ] {f8cfacf5-4ed2-48bb-8d8f-3a6bff332e53} TCPHandler: Code: 47. DB::Exception: Missing columns: 'range' while processing query: 'SELECT range', required columns: 'range'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:38.015706 [ 5687 ] {ec72276b-2748-4ab8-8f3d-7db33a54ad1f} executeQuery: Code: 47. DB::Exception: Missing columns: 'rank' while processing query: 'SELECT rank', required columns: 'rank'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT rank;) 2026.10.27 19:26:38.018705 [ 5687 ] {ec72276b-2748-4ab8-8f3d-7db33a54ad1f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'rank' while processing query: 'SELECT rank', required columns: 'rank'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:38.133523 [ 5687 ] {dc7b049e-1aa5-42f7-88a0-ac5a9f2093c0} executeQuery: Code: 47. DB::Exception: Missing columns: 'rankCorr' while processing query: 'SELECT rankCorr', required columns: 'rankCorr'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT rankCorr;) 2026.10.27 19:26:38.135227 [ 5687 ] {dc7b049e-1aa5-42f7-88a0-ac5a9f2093c0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'rankCorr' while processing query: 'SELECT rankCorr', required columns: 'rankCorr'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:38.152918 [ 5687 ] {3a45997a-e867-4b90-8375-e55d2ed43037} executeQuery: Code: 47. DB::Exception: Missing columns: 'readWKTMultiPolygon' while processing query: 'SELECT readWKTMultiPolygon', required columns: 'readWKTMultiPolygon'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT readWKTMultiPolygon;) 2026.10.27 19:26:38.154664 [ 5687 ] {3a45997a-e867-4b90-8375-e55d2ed43037} TCPHandler: Code: 47. DB::Exception: Missing columns: 'readWKTMultiPolygon' while processing query: 'SELECT readWKTMultiPolygon', required columns: 'readWKTMultiPolygon'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:38.171855 [ 5687 ] {1b987a5a-bc03-419d-9863-a39ee243fb3f} executeQuery: Code: 47. DB::Exception: Missing columns: 'readWKTPoint' while processing query: 'SELECT readWKTPoint', required columns: 'readWKTPoint'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT readWKTPoint;) 2026.10.27 19:26:38.173635 [ 5687 ] {1b987a5a-bc03-419d-9863-a39ee243fb3f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'readWKTPoint' while processing query: 'SELECT readWKTPoint', required columns: 'readWKTPoint'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:38.295627 [ 5687 ] {ceaad8cb-cf9c-49e1-ab34-d8dc845807f1} executeQuery: Code: 47. DB::Exception: Missing columns: 'readWKTPolygon' while processing query: 'SELECT readWKTPolygon', required columns: 'readWKTPolygon'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT readWKTPolygon;) 2026.10.27 19:26:38.301366 [ 5687 ] {ceaad8cb-cf9c-49e1-ab34-d8dc845807f1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'readWKTPolygon' while processing query: 'SELECT readWKTPolygon', required columns: 'readWKTPolygon'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:38.313536 [ 5687 ] {16b87126-a0f7-468a-a955-a6c0acc7e171} executeQuery: Code: 47. DB::Exception: Missing columns: 'readWKTRing' while processing query: 'SELECT readWKTRing', required columns: 'readWKTRing'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT readWKTRing;) 2026.10.27 19:26:38.315023 [ 5687 ] {16b87126-a0f7-468a-a955-a6c0acc7e171} TCPHandler: Code: 47. DB::Exception: Missing columns: 'readWKTRing' while processing query: 'SELECT readWKTRing', required columns: 'readWKTRing'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:38.325886 [ 5687 ] {9dedea48-03d1-4688-87cc-ae052bd86aa3} executeQuery: Code: 47. DB::Exception: Missing columns: 'regexpExtract' while processing query: 'SELECT regexpExtract', required columns: 'regexpExtract'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT regexpExtract;) 2026.10.27 19:26:38.327106 [ 5687 ] {9dedea48-03d1-4688-87cc-ae052bd86aa3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'regexpExtract' while processing query: 'SELECT regexpExtract', required columns: 'regexpExtract'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:38.340768 [ 5687 ] {7c1320a4-67ad-4670-82b4-6a37ea6e36d4} executeQuery: Code: 47. DB::Exception: Missing columns: 'regexpQuoteMeta' while processing query: 'SELECT regexpQuoteMeta', required columns: 'regexpQuoteMeta'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT regexpQuoteMeta;) 2026.10.27 19:26:38.342641 [ 5687 ] {7c1320a4-67ad-4670-82b4-6a37ea6e36d4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'regexpQuoteMeta' while processing query: 'SELECT regexpQuoteMeta', required columns: 'regexpQuoteMeta'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:38.354056 [ 5687 ] {6d5f6785-7e3a-4249-bb9c-ef9cccb8a4d2} executeQuery: Code: 47. DB::Exception: Missing columns: 'regionHierarchy' while processing query: 'SELECT regionHierarchy', required columns: 'regionHierarchy'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT regionHierarchy;) 2026.10.27 19:26:38.355530 [ 5687 ] {6d5f6785-7e3a-4249-bb9c-ef9cccb8a4d2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'regionHierarchy' while processing query: 'SELECT regionHierarchy', required columns: 'regionHierarchy'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:38.368856 [ 5687 ] {68dd83ae-3f16-4ce4-a1f7-72ca94c3580f} executeQuery: Code: 47. DB::Exception: Missing columns: 'regionIn' while processing query: 'SELECT regionIn', required columns: 'regionIn'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT regionIn;) 2026.10.27 19:26:38.370603 [ 5687 ] {68dd83ae-3f16-4ce4-a1f7-72ca94c3580f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'regionIn' while processing query: 'SELECT regionIn', required columns: 'regionIn'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:38.384325 [ 5687 ] {d474bb09-00f9-4854-a5a8-36ed0e6dc770} executeQuery: Code: 47. DB::Exception: Missing columns: 'regionToArea' while processing query: 'SELECT regionToArea', required columns: 'regionToArea'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT regionToArea;) 2026.10.27 19:26:38.386028 [ 5687 ] {d474bb09-00f9-4854-a5a8-36ed0e6dc770} TCPHandler: Code: 47. DB::Exception: Missing columns: 'regionToArea' while processing query: 'SELECT regionToArea', required columns: 'regionToArea'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:38.506801 [ 5687 ] {2b4d4770-ea09-4845-bc10-5bc5f15c8642} executeQuery: Code: 47. DB::Exception: Missing columns: 'regionToCity' while processing query: 'SELECT regionToCity', required columns: 'regionToCity'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT regionToCity;) 2026.10.27 19:26:38.510473 [ 5687 ] {2b4d4770-ea09-4845-bc10-5bc5f15c8642} TCPHandler: Code: 47. DB::Exception: Missing columns: 'regionToCity' while processing query: 'SELECT regionToCity', required columns: 'regionToCity'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:38.633655 [ 5687 ] {59b5e982-5726-4398-a1a5-b4ad7c589140} executeQuery: Code: 47. DB::Exception: Missing columns: 'regionToContinent' while processing query: 'SELECT regionToContinent', required columns: 'regionToContinent'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT regionToContinent;) 2026.10.27 19:26:38.636653 [ 5687 ] {59b5e982-5726-4398-a1a5-b4ad7c589140} TCPHandler: Code: 47. DB::Exception: Missing columns: 'regionToContinent' while processing query: 'SELECT regionToContinent', required columns: 'regionToContinent'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:38.654770 [ 5687 ] {719c47af-72b4-460f-86b1-8953548cd7b3} executeQuery: Code: 47. DB::Exception: Missing columns: 'regionToCountry' while processing query: 'SELECT regionToCountry', required columns: 'regionToCountry'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT regionToCountry;) 2026.10.27 19:26:38.657571 [ 5687 ] {719c47af-72b4-460f-86b1-8953548cd7b3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'regionToCountry' while processing query: 'SELECT regionToCountry', required columns: 'regionToCountry'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:38.883106 [ 5687 ] {eefce749-5b8f-4e95-801c-670d7d712a5d} executeQuery: Code: 47. DB::Exception: Missing columns: 'regionToDistrict' while processing query: 'SELECT regionToDistrict', required columns: 'regionToDistrict'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT regionToDistrict;) 2026.10.27 19:26:38.886108 [ 5687 ] {eefce749-5b8f-4e95-801c-670d7d712a5d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'regionToDistrict' while processing query: 'SELECT regionToDistrict', required columns: 'regionToDistrict'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.117606 [ 5687 ] {0b7082ca-de39-4360-8e30-f87131bb6a17} executeQuery: Code: 47. DB::Exception: Missing columns: 'regionToName' while processing query: 'SELECT regionToName', required columns: 'regionToName'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT regionToName;) 2026.10.27 19:26:39.121648 [ 5687 ] {0b7082ca-de39-4360-8e30-f87131bb6a17} TCPHandler: Code: 47. DB::Exception: Missing columns: 'regionToName' while processing query: 'SELECT regionToName', required columns: 'regionToName'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.148633 [ 5687 ] {a598e1eb-661b-485b-8427-129a57d0f7f4} executeQuery: Code: 47. DB::Exception: Missing columns: 'regionToPopulation' while processing query: 'SELECT regionToPopulation', required columns: 'regionToPopulation'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT regionToPopulation;) 2026.10.27 19:26:39.151418 [ 5687 ] {a598e1eb-661b-485b-8427-129a57d0f7f4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'regionToPopulation' while processing query: 'SELECT regionToPopulation', required columns: 'regionToPopulation'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.174178 [ 5687 ] {d5492609-922a-4ecd-8bd6-08923f86a259} executeQuery: Code: 47. DB::Exception: Missing columns: 'regionToTopContinent' while processing query: 'SELECT regionToTopContinent', required columns: 'regionToTopContinent'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT regionToTopContinent;) 2026.10.27 19:26:39.176857 [ 5687 ] {d5492609-922a-4ecd-8bd6-08923f86a259} TCPHandler: Code: 47. DB::Exception: Missing columns: 'regionToTopContinent' while processing query: 'SELECT regionToTopContinent', required columns: 'regionToTopContinent'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.203118 [ 5687 ] {95098754-70c2-4513-9ca1-336133ebbd60} executeQuery: Code: 47. DB::Exception: Missing columns: 'reinterpret' while processing query: 'SELECT reinterpret', required columns: 'reinterpret'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reinterpret;) 2026.10.27 19:26:39.205830 [ 5687 ] {95098754-70c2-4513-9ca1-336133ebbd60} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reinterpret' while processing query: 'SELECT reinterpret', required columns: 'reinterpret'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.234110 [ 5687 ] {e5211273-ec82-4835-bfdb-72c7fd1c9f3c} executeQuery: Code: 47. DB::Exception: Missing columns: 'reinterpretAsDate' while processing query: 'SELECT reinterpretAsDate', required columns: 'reinterpretAsDate'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reinterpretAsDate;) 2026.10.27 19:26:39.235652 [ 5687 ] {e5211273-ec82-4835-bfdb-72c7fd1c9f3c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reinterpretAsDate' while processing query: 'SELECT reinterpretAsDate', required columns: 'reinterpretAsDate'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.253282 [ 5687 ] {d6fca4d5-6b95-43fd-8266-47029b1d2987} executeQuery: Code: 47. DB::Exception: Missing columns: 'reinterpretAsDateTime' while processing query: 'SELECT reinterpretAsDateTime', required columns: 'reinterpretAsDateTime'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reinterpretAsDateTime;) 2026.10.27 19:26:39.254455 [ 5687 ] {d6fca4d5-6b95-43fd-8266-47029b1d2987} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reinterpretAsDateTime' while processing query: 'SELECT reinterpretAsDateTime', required columns: 'reinterpretAsDateTime'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.270580 [ 5687 ] {7cfcc411-9614-449e-8990-40bb5619011b} executeQuery: Code: 47. DB::Exception: Missing columns: 'reinterpretAsFixedString' while processing query: 'SELECT reinterpretAsFixedString', required columns: 'reinterpretAsFixedString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reinterpretAsFixedString;) 2026.10.27 19:26:39.271549 [ 5687 ] {7cfcc411-9614-449e-8990-40bb5619011b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reinterpretAsFixedString' while processing query: 'SELECT reinterpretAsFixedString', required columns: 'reinterpretAsFixedString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.287389 [ 5687 ] {d73f9639-86c1-4a3b-8f86-c51a16903855} executeQuery: Code: 47. DB::Exception: Missing columns: 'reinterpretAsFloat32' while processing query: 'SELECT reinterpretAsFloat32', required columns: 'reinterpretAsFloat32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reinterpretAsFloat32;) 2026.10.27 19:26:39.288516 [ 5687 ] {d73f9639-86c1-4a3b-8f86-c51a16903855} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reinterpretAsFloat32' while processing query: 'SELECT reinterpretAsFloat32', required columns: 'reinterpretAsFloat32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.312260 [ 5687 ] {f338219f-37bb-4571-9287-6a073f471b75} executeQuery: Code: 47. DB::Exception: Missing columns: 'reinterpretAsFloat64' while processing query: 'SELECT reinterpretAsFloat64', required columns: 'reinterpretAsFloat64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reinterpretAsFloat64;) 2026.10.27 19:26:39.316464 [ 5687 ] {f338219f-37bb-4571-9287-6a073f471b75} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reinterpretAsFloat64' while processing query: 'SELECT reinterpretAsFloat64', required columns: 'reinterpretAsFloat64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.360512 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 4198715 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:281: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d6516b7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a471453 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:39.360678 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 4207098 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IMergeTreeDataPart.cpp:138: DB::IMergeTreeDataPart::MinMaxIndex::store(std::vector> const&, std::vector, std::allocator>> const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003cc2a292 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::IMergeTreeDataPart::MinMaxIndex::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003cc28e2e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64f047 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:39.360740 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 4279229 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:39.360787 [ 6792 ] {0def1c3c-126b-41a9-bf03-c3d5eb3a44e6} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 1245312 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 68 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44444) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:39.430008 [ 5687 ] {6a4175fb-79a2-4411-b9f8-dbe29806697d} executeQuery: Code: 47. DB::Exception: Missing columns: 'reinterpretAsInt128' while processing query: 'SELECT reinterpretAsInt128', required columns: 'reinterpretAsInt128'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reinterpretAsInt128;) 2026.10.27 19:26:39.509685 [ 5687 ] {6a4175fb-79a2-4411-b9f8-dbe29806697d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reinterpretAsInt128' while processing query: 'SELECT reinterpretAsInt128', required columns: 'reinterpretAsInt128'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.527267 [ 5687 ] {967fe90e-00b3-4cfd-8191-0b641ae1f960} executeQuery: Code: 47. DB::Exception: Missing columns: 'reinterpretAsInt16' while processing query: 'SELECT reinterpretAsInt16', required columns: 'reinterpretAsInt16'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reinterpretAsInt16;) 2026.10.27 19:26:39.528994 [ 5687 ] {967fe90e-00b3-4cfd-8191-0b641ae1f960} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reinterpretAsInt16' while processing query: 'SELECT reinterpretAsInt16', required columns: 'reinterpretAsInt16'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.546371 [ 5687 ] {d73b4717-2d01-4b6c-baa0-3f7c1b3b87a1} executeQuery: Code: 47. DB::Exception: Missing columns: 'reinterpretAsInt256' while processing query: 'SELECT reinterpretAsInt256', required columns: 'reinterpretAsInt256'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reinterpretAsInt256;) 2026.10.27 19:26:39.549502 [ 5687 ] {d73b4717-2d01-4b6c-baa0-3f7c1b3b87a1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reinterpretAsInt256' while processing query: 'SELECT reinterpretAsInt256', required columns: 'reinterpretAsInt256'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.562766 [ 5687 ] {b8ea690c-1714-4b5f-8a0c-f9ca05646b07} executeQuery: Code: 47. DB::Exception: Missing columns: 'reinterpretAsInt32' while processing query: 'SELECT reinterpretAsInt32', required columns: 'reinterpretAsInt32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reinterpretAsInt32;) 2026.10.27 19:26:39.566193 [ 5687 ] {b8ea690c-1714-4b5f-8a0c-f9ca05646b07} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reinterpretAsInt32' while processing query: 'SELECT reinterpretAsInt32', required columns: 'reinterpretAsInt32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.579121 [ 5687 ] {ddcbfd0f-d7a9-4cd6-9f05-ecadfe026817} executeQuery: Code: 47. DB::Exception: Missing columns: 'reinterpretAsInt64' while processing query: 'SELECT reinterpretAsInt64', required columns: 'reinterpretAsInt64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reinterpretAsInt64;) 2026.10.27 19:26:39.582353 [ 5687 ] {ddcbfd0f-d7a9-4cd6-9f05-ecadfe026817} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reinterpretAsInt64' while processing query: 'SELECT reinterpretAsInt64', required columns: 'reinterpretAsInt64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.595125 [ 5687 ] {0611a4b5-bb06-4ede-a5d5-9ef996e5f811} executeQuery: Code: 47. DB::Exception: Missing columns: 'reinterpretAsInt8' while processing query: 'SELECT reinterpretAsInt8', required columns: 'reinterpretAsInt8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reinterpretAsInt8;) 2026.10.27 19:26:39.597192 [ 5687 ] {0611a4b5-bb06-4ede-a5d5-9ef996e5f811} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reinterpretAsInt8' while processing query: 'SELECT reinterpretAsInt8', required columns: 'reinterpretAsInt8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.613031 [ 5687 ] {75d431b5-976f-418f-9d71-d2d8358c9166} executeQuery: Code: 47. DB::Exception: Missing columns: 'reinterpretAsString' while processing query: 'SELECT reinterpretAsString', required columns: 'reinterpretAsString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reinterpretAsString;) 2026.10.27 19:26:39.616300 [ 5687 ] {75d431b5-976f-418f-9d71-d2d8358c9166} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reinterpretAsString' while processing query: 'SELECT reinterpretAsString', required columns: 'reinterpretAsString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.630100 [ 5687 ] {71848371-1fd3-4329-b89a-5129af116048} executeQuery: Code: 47. DB::Exception: Missing columns: 'reinterpretAsUInt128' while processing query: 'SELECT reinterpretAsUInt128', required columns: 'reinterpretAsUInt128'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reinterpretAsUInt128;) 2026.10.27 19:26:39.732998 [ 5687 ] {71848371-1fd3-4329-b89a-5129af116048} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reinterpretAsUInt128' while processing query: 'SELECT reinterpretAsUInt128', required columns: 'reinterpretAsUInt128'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.746682 [ 5687 ] {b64d3231-5958-45f0-a339-3ea46a79706d} executeQuery: Code: 47. DB::Exception: Missing columns: 'reinterpretAsUInt16' while processing query: 'SELECT reinterpretAsUInt16', required columns: 'reinterpretAsUInt16'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reinterpretAsUInt16;) 2026.10.27 19:26:39.749936 [ 5687 ] {b64d3231-5958-45f0-a339-3ea46a79706d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reinterpretAsUInt16' while processing query: 'SELECT reinterpretAsUInt16', required columns: 'reinterpretAsUInt16'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.762760 [ 5687 ] {93d31b1e-cd66-4d95-9c26-8d5f52d69343} executeQuery: Code: 47. DB::Exception: Missing columns: 'reinterpretAsUInt256' while processing query: 'SELECT reinterpretAsUInt256', required columns: 'reinterpretAsUInt256'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reinterpretAsUInt256;) 2026.10.27 19:26:39.864974 [ 5687 ] {93d31b1e-cd66-4d95-9c26-8d5f52d69343} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reinterpretAsUInt256' while processing query: 'SELECT reinterpretAsUInt256', required columns: 'reinterpretAsUInt256'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.878252 [ 5687 ] {85229e9d-4009-47ee-984b-6e36a972f52b} executeQuery: Code: 47. DB::Exception: Missing columns: 'reinterpretAsUInt32' while processing query: 'SELECT reinterpretAsUInt32', required columns: 'reinterpretAsUInt32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reinterpretAsUInt32;) 2026.10.27 19:26:39.892297 [ 5687 ] {85229e9d-4009-47ee-984b-6e36a972f52b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reinterpretAsUInt32' while processing query: 'SELECT reinterpretAsUInt32', required columns: 'reinterpretAsUInt32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.906536 [ 5687 ] {883e5a84-4da9-4084-bb73-065d029b652e} executeQuery: Code: 47. DB::Exception: Missing columns: 'reinterpretAsUInt64' while processing query: 'SELECT reinterpretAsUInt64', required columns: 'reinterpretAsUInt64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reinterpretAsUInt64;) 2026.10.27 19:26:39.908919 [ 5687 ] {883e5a84-4da9-4084-bb73-065d029b652e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reinterpretAsUInt64' while processing query: 'SELECT reinterpretAsUInt64', required columns: 'reinterpretAsUInt64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:39.922430 [ 5687 ] {e8744432-23bd-4cf0-b1cf-b6bf2664fc90} executeQuery: Code: 47. DB::Exception: Missing columns: 'reinterpretAsUInt8' while processing query: 'SELECT reinterpretAsUInt8', required columns: 'reinterpretAsUInt8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reinterpretAsUInt8;) 2026.10.27 19:26:40.024817 [ 5687 ] {e8744432-23bd-4cf0-b1cf-b6bf2664fc90} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reinterpretAsUInt8' while processing query: 'SELECT reinterpretAsUInt8', required columns: 'reinterpretAsUInt8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:40.041568 [ 5687 ] {99faa802-6bbe-4f67-ba2f-2c57955b2720} executeQuery: Code: 47. DB::Exception: Missing columns: 'reinterpretAsUUID' while processing query: 'SELECT reinterpretAsUUID', required columns: 'reinterpretAsUUID'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reinterpretAsUUID;) 2026.10.27 19:26:40.045332 [ 5687 ] {99faa802-6bbe-4f67-ba2f-2c57955b2720} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reinterpretAsUUID' while processing query: 'SELECT reinterpretAsUUID', required columns: 'reinterpretAsUUID'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:40.060626 [ 5687 ] {4a8dad19-f6c4-47bf-8b23-a099743f13cb} executeQuery: Code: 47. DB::Exception: Missing columns: 'repeat' while processing query: 'SELECT repeat', required columns: 'repeat'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT repeat;) 2026.10.27 19:26:40.063988 [ 5687 ] {4a8dad19-f6c4-47bf-8b23-a099743f13cb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'repeat' while processing query: 'SELECT repeat', required columns: 'repeat'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:40.282253 [ 5687 ] {0a48a111-638c-47b2-bf12-f12d1dfe701c} executeQuery: Code: 47. DB::Exception: Missing columns: 'replace' while processing query: 'SELECT replace', required columns: 'replace'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT replace;) 2026.10.27 19:26:40.285501 [ 5687 ] {0a48a111-638c-47b2-bf12-f12d1dfe701c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'replace' while processing query: 'SELECT replace', required columns: 'replace'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:40.298563 [ 5687 ] {54226da2-c4cb-4f60-acfd-a3664badb158} executeQuery: Code: 47. DB::Exception: Missing columns: 'replaceAll' while processing query: 'SELECT replaceAll', required columns: 'replaceAll'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT replaceAll;) 2026.10.27 19:26:40.300401 [ 5687 ] {54226da2-c4cb-4f60-acfd-a3664badb158} TCPHandler: Code: 47. DB::Exception: Missing columns: 'replaceAll' while processing query: 'SELECT replaceAll', required columns: 'replaceAll'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:40.312920 [ 5687 ] {fba4151e-204f-4455-9b1b-f1276f1ecbc4} executeQuery: Code: 47. DB::Exception: Missing columns: 'replaceOne' while processing query: 'SELECT replaceOne', required columns: 'replaceOne'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT replaceOne;) 2026.10.27 19:26:40.314772 [ 5687 ] {fba4151e-204f-4455-9b1b-f1276f1ecbc4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'replaceOne' while processing query: 'SELECT replaceOne', required columns: 'replaceOne'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:40.327414 [ 5687 ] {b76fb6d4-8b21-4bdc-9081-c6cc840fd2ea} executeQuery: Code: 47. DB::Exception: Missing columns: 'replaceRegexpAll' while processing query: 'SELECT replaceRegexpAll', required columns: 'replaceRegexpAll'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT replaceRegexpAll;) 2026.10.27 19:26:40.328962 [ 5687 ] {b76fb6d4-8b21-4bdc-9081-c6cc840fd2ea} TCPHandler: Code: 47. DB::Exception: Missing columns: 'replaceRegexpAll' while processing query: 'SELECT replaceRegexpAll', required columns: 'replaceRegexpAll'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:40.342866 [ 5687 ] {389455ec-f4dd-4923-9240-d9346b09f423} executeQuery: Code: 47. DB::Exception: Missing columns: 'replaceRegexpOne' while processing query: 'SELECT replaceRegexpOne', required columns: 'replaceRegexpOne'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT replaceRegexpOne;) 2026.10.27 19:26:40.344756 [ 5687 ] {389455ec-f4dd-4923-9240-d9346b09f423} TCPHandler: Code: 47. DB::Exception: Missing columns: 'replaceRegexpOne' while processing query: 'SELECT replaceRegexpOne', required columns: 'replaceRegexpOne'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:40.561432 [ 5687 ] {38ef8801-4b90-4525-8b5e-99622879b64c} executeQuery: Code: 47. DB::Exception: Missing columns: 'replicate' while processing query: 'SELECT replicate', required columns: 'replicate'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT replicate;) 2026.10.27 19:26:40.563395 [ 5687 ] {38ef8801-4b90-4525-8b5e-99622879b64c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'replicate' while processing query: 'SELECT replicate', required columns: 'replicate'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:40.583947 [ 5687 ] {8c32df12-7442-4919-b776-b91fd6db00b8} executeQuery: Code: 47. DB::Exception: Missing columns: 'retention' while processing query: 'SELECT retention', required columns: 'retention'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT retention;) 2026.10.27 19:26:40.585617 [ 5687 ] {8c32df12-7442-4919-b776-b91fd6db00b8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'retention' while processing query: 'SELECT retention', required columns: 'retention'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:40.609648 [ 5687 ] {a8a04a71-fa4d-4ab0-93c8-157774b40c29} executeQuery: Code: 47. DB::Exception: Missing columns: 'reverse' while processing query: 'SELECT reverse', required columns: 'reverse'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reverse;) 2026.10.27 19:26:40.699806 [ 5687 ] {a8a04a71-fa4d-4ab0-93c8-157774b40c29} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reverse' while processing query: 'SELECT reverse', required columns: 'reverse'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:40.718518 [ 5687 ] {351b231e-9205-4a1d-9917-347da77cb42f} executeQuery: Code: 47. DB::Exception: Missing columns: 'reverseDNSQuery' while processing query: 'SELECT reverseDNSQuery', required columns: 'reverseDNSQuery'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reverseDNSQuery;) 2026.10.27 19:26:40.721415 [ 5687 ] {351b231e-9205-4a1d-9917-347da77cb42f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reverseDNSQuery' while processing query: 'SELECT reverseDNSQuery', required columns: 'reverseDNSQuery'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:40.738985 [ 5687 ] {6d201c8e-72a6-4ec4-b383-879b9697b25c} executeQuery: Code: 47. DB::Exception: Missing columns: 'reverseUTF8' while processing query: 'SELECT reverseUTF8', required columns: 'reverseUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT reverseUTF8;) 2026.10.27 19:26:40.741997 [ 5687 ] {6d201c8e-72a6-4ec4-b383-879b9697b25c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'reverseUTF8' while processing query: 'SELECT reverseUTF8', required columns: 'reverseUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:40.754646 [ 2350 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::AsynchronousMetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.40 GiB (attempt to allocate chunk of 5239654 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/SerializationLowCardinality.cpp:0: DB::SerializationLowCardinality::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036f2c982 in /usr/bin/clickhouse 13. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3b72d3 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3b47b2 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:40.754755 [ 2244 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {1b472cab-7f44-4e61-9d4f-069834646e86::202610_1_64_14}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1267072 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:45: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770de9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderCompact.cpp:98: DB::MergeTreeReaderCompact::initialize() @ 0x000000003d452283 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderCompact.cpp:203: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d459361 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:40.754705 [ 2289 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::MetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.40 GiB (attempt to allocate chunk of 5164865 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:40.757681 [ 5687 ] {5232ce3f-2caa-4e4a-9113-28c33806ea75} executeQuery: Code: 47. DB::Exception: Missing columns: 'revision' while processing query: 'SELECT revision', required columns: 'revision'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT revision;) 2026.10.27 19:26:40.760064 [ 5687 ] {5232ce3f-2caa-4e4a-9113-28c33806ea75} TCPHandler: Code: 47. DB::Exception: Missing columns: 'revision' while processing query: 'SELECT revision', required columns: 'revision'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:40.774937 [ 5687 ] {71316a46-9e7c-4a5f-9db4-498bcd8f14cf} executeQuery: Code: 47. DB::Exception: Missing columns: 'right' while processing query: 'SELECT right', required columns: 'right'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT right;) 2026.10.27 19:26:40.776977 [ 5687 ] {71316a46-9e7c-4a5f-9db4-498bcd8f14cf} TCPHandler: Code: 47. DB::Exception: Missing columns: 'right' while processing query: 'SELECT right', required columns: 'right'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:40.792973 [ 5687 ] {0953162c-8976-47cd-b0b0-2a9c9027405a} executeQuery: Code: 47. DB::Exception: Missing columns: 'rightPad' while processing query: 'SELECT rightPad', required columns: 'rightPad'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT rightPad;) 2026.10.27 19:26:40.794476 [ 5687 ] {0953162c-8976-47cd-b0b0-2a9c9027405a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'rightPad' while processing query: 'SELECT rightPad', required columns: 'rightPad'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:40.811760 [ 5687 ] {5227db14-adc0-4232-87c6-f2abf24d940f} executeQuery: Code: 47. DB::Exception: Missing columns: 'rightPadUTF8' while processing query: 'SELECT rightPadUTF8', required columns: 'rightPadUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT rightPadUTF8;) 2026.10.27 19:26:40.813205 [ 5687 ] {5227db14-adc0-4232-87c6-f2abf24d940f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'rightPadUTF8' while processing query: 'SELECT rightPadUTF8', required columns: 'rightPadUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:40.830119 [ 5687 ] {5624acf3-c143-46e7-836a-ac66bea4b279} executeQuery: Code: 47. DB::Exception: Missing columns: 'rightUTF8' while processing query: 'SELECT rightUTF8', required columns: 'rightUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT rightUTF8;) 2026.10.27 19:26:40.831646 [ 5687 ] {5624acf3-c143-46e7-836a-ac66bea4b279} TCPHandler: Code: 47. DB::Exception: Missing columns: 'rightUTF8' while processing query: 'SELECT rightUTF8', required columns: 'rightUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:40.848184 [ 5687 ] {0f0ac104-65d6-46df-b4a3-41caf752cf3b} executeQuery: Code: 47. DB::Exception: Missing columns: 'round' while processing query: 'SELECT round', required columns: 'round'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT round;) 2026.10.27 19:26:40.849839 [ 5687 ] {0f0ac104-65d6-46df-b4a3-41caf752cf3b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'round' while processing query: 'SELECT round', required columns: 'round'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:40.971421 [ 5687 ] {bc37a8ed-669c-437e-89be-7f78b34c5459} executeQuery: Code: 47. DB::Exception: Missing columns: 'roundAge' while processing query: 'SELECT roundAge', required columns: 'roundAge'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT roundAge;) 2026.10.27 19:26:40.974461 [ 5687 ] {bc37a8ed-669c-437e-89be-7f78b34c5459} TCPHandler: Code: 47. DB::Exception: Missing columns: 'roundAge' while processing query: 'SELECT roundAge', required columns: 'roundAge'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:40.999201 [ 5687 ] {7dfa0316-021c-4252-9f6d-95a5dba5c425} executeQuery: Code: 47. DB::Exception: Missing columns: 'roundBankers' while processing query: 'SELECT roundBankers', required columns: 'roundBankers'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT roundBankers;) 2026.10.27 19:26:41.002512 [ 5687 ] {7dfa0316-021c-4252-9f6d-95a5dba5c425} TCPHandler: Code: 47. DB::Exception: Missing columns: 'roundBankers' while processing query: 'SELECT roundBankers', required columns: 'roundBankers'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.024892 [ 5687 ] {fc4aa2f2-f628-4d1b-a493-6b82858963c6} executeQuery: Code: 47. DB::Exception: Missing columns: 'roundDown' while processing query: 'SELECT roundDown', required columns: 'roundDown'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT roundDown;) 2026.10.27 19:26:41.027116 [ 5687 ] {fc4aa2f2-f628-4d1b-a493-6b82858963c6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'roundDown' while processing query: 'SELECT roundDown', required columns: 'roundDown'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.047935 [ 5687 ] {1b5de431-2c9f-4b30-b553-6e6743410c6a} executeQuery: Code: 47. DB::Exception: Missing columns: 'roundDuration' while processing query: 'SELECT roundDuration', required columns: 'roundDuration'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT roundDuration;) 2026.10.27 19:26:41.050186 [ 5687 ] {1b5de431-2c9f-4b30-b553-6e6743410c6a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'roundDuration' while processing query: 'SELECT roundDuration', required columns: 'roundDuration'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.063780 [ 5687 ] {8d1ae186-30db-4db6-a6ed-48be13d16046} executeQuery: Code: 47. DB::Exception: Missing columns: 'roundToExp2' while processing query: 'SELECT roundToExp2', required columns: 'roundToExp2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT roundToExp2;) 2026.10.27 19:26:41.065808 [ 5687 ] {8d1ae186-30db-4db6-a6ed-48be13d16046} TCPHandler: Code: 47. DB::Exception: Missing columns: 'roundToExp2' while processing query: 'SELECT roundToExp2', required columns: 'roundToExp2'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.178981 [ 5687 ] {ffc11ea4-9112-4c5c-b78f-172711d0aba6} executeQuery: Code: 47. DB::Exception: Missing columns: 'rowNumberInAllBlocks' while processing query: 'SELECT rowNumberInAllBlocks', required columns: 'rowNumberInAllBlocks'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT rowNumberInAllBlocks;) 2026.10.27 19:26:41.182310 [ 5687 ] {ffc11ea4-9112-4c5c-b78f-172711d0aba6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'rowNumberInAllBlocks' while processing query: 'SELECT rowNumberInAllBlocks', required columns: 'rowNumberInAllBlocks'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.197265 [ 5687 ] {b678de19-f736-4bbc-9994-b75fa60ec344} executeQuery: Code: 47. DB::Exception: Missing columns: 'rowNumberInBlock' while processing query: 'SELECT rowNumberInBlock', required columns: 'rowNumberInBlock'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT rowNumberInBlock;) 2026.10.27 19:26:41.199085 [ 5687 ] {b678de19-f736-4bbc-9994-b75fa60ec344} TCPHandler: Code: 47. DB::Exception: Missing columns: 'rowNumberInBlock' while processing query: 'SELECT rowNumberInBlock', required columns: 'rowNumberInBlock'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.210199 [ 5687 ] {42105fc9-8d7a-45d7-a32c-63b4b72fe1a9} executeQuery: Code: 47. DB::Exception: Missing columns: 'row_number' while processing query: 'SELECT row_number', required columns: 'row_number'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT row_number;) 2026.10.27 19:26:41.211351 [ 5687 ] {42105fc9-8d7a-45d7-a32c-63b4b72fe1a9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'row_number' while processing query: 'SELECT row_number', required columns: 'row_number'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.221283 [ 5687 ] {d4f44534-3970-40a2-8a51-73dc80bd9e54} executeQuery: Code: 47. DB::Exception: Missing columns: 'rpad' while processing query: 'SELECT rpad', required columns: 'rpad'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT rpad;) 2026.10.27 19:26:41.222741 [ 5687 ] {d4f44534-3970-40a2-8a51-73dc80bd9e54} TCPHandler: Code: 47. DB::Exception: Missing columns: 'rpad' while processing query: 'SELECT rpad', required columns: 'rpad'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.235106 [ 5687 ] {6853619d-d683-479c-bd47-34b3955e2955} executeQuery: Code: 47. DB::Exception: Missing columns: 'rtrim' while processing query: 'SELECT rtrim', required columns: 'rtrim'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT rtrim;) 2026.10.27 19:26:41.236801 [ 5687 ] {6853619d-d683-479c-bd47-34b3955e2955} TCPHandler: Code: 47. DB::Exception: Missing columns: 'rtrim' while processing query: 'SELECT rtrim', required columns: 'rtrim'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.248707 [ 5687 ] {c053f3ee-690d-4d68-bc58-7710f4913968} executeQuery: Code: 47. DB::Exception: Missing columns: 'runningAccumulate' while processing query: 'SELECT runningAccumulate', required columns: 'runningAccumulate'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT runningAccumulate;) 2026.10.27 19:26:41.250317 [ 5687 ] {c053f3ee-690d-4d68-bc58-7710f4913968} TCPHandler: Code: 47. DB::Exception: Missing columns: 'runningAccumulate' while processing query: 'SELECT runningAccumulate', required columns: 'runningAccumulate'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.261730 [ 5687 ] {36de0f0a-9569-4051-ba89-17ef70af1296} executeQuery: Code: 47. DB::Exception: Missing columns: 'runningConcurrency' while processing query: 'SELECT runningConcurrency', required columns: 'runningConcurrency'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT runningConcurrency;) 2026.10.27 19:26:41.263233 [ 5687 ] {36de0f0a-9569-4051-ba89-17ef70af1296} TCPHandler: Code: 47. DB::Exception: Missing columns: 'runningConcurrency' while processing query: 'SELECT runningConcurrency', required columns: 'runningConcurrency'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.274809 [ 5687 ] {0e41ca34-5504-4dde-8b71-8cb465f8b9ba} executeQuery: Code: 47. DB::Exception: Missing columns: 'runningDifference' while processing query: 'SELECT runningDifference', required columns: 'runningDifference'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT runningDifference;) 2026.10.27 19:26:41.277084 [ 5687 ] {0e41ca34-5504-4dde-8b71-8cb465f8b9ba} TCPHandler: Code: 47. DB::Exception: Missing columns: 'runningDifference' while processing query: 'SELECT runningDifference', required columns: 'runningDifference'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.288881 [ 5687 ] {f5ecd8ed-f845-42e0-a3ff-ada27c556a57} executeQuery: Code: 47. DB::Exception: Missing columns: 'runningDifferenceStartingWithFirstValue' while processing query: 'SELECT runningDifferenceStartingWithFirstValue', required columns: 'runningDifferenceStartingWithFirstValue'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT runningDifferenceStartingWithFirstValue;) 2026.10.27 19:26:41.290400 [ 5687 ] {f5ecd8ed-f845-42e0-a3ff-ada27c556a57} TCPHandler: Code: 47. DB::Exception: Missing columns: 'runningDifferenceStartingWithFirstValue' while processing query: 'SELECT runningDifferenceStartingWithFirstValue', required columns: 'runningDifferenceStartingWithFirstValue'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.304812 [ 5687 ] {fd58c03e-3ec5-4c48-8be7-128b9d5ea170} executeQuery: Code: 47. DB::Exception: Missing columns: 's2CapContains' while processing query: 'SELECT s2CapContains', required columns: 's2CapContains'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT s2CapContains;) 2026.10.27 19:26:41.308311 [ 5687 ] {fd58c03e-3ec5-4c48-8be7-128b9d5ea170} TCPHandler: Code: 47. DB::Exception: Missing columns: 's2CapContains' while processing query: 'SELECT s2CapContains', required columns: 's2CapContains'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.325434 [ 5687 ] {1f097ab9-5307-4975-a289-320dc32ad1d4} executeQuery: Code: 47. DB::Exception: Missing columns: 's2CapUnion' while processing query: 'SELECT s2CapUnion', required columns: 's2CapUnion'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT s2CapUnion;) 2026.10.27 19:26:41.327197 [ 5687 ] {1f097ab9-5307-4975-a289-320dc32ad1d4} TCPHandler: Code: 47. DB::Exception: Missing columns: 's2CapUnion' while processing query: 'SELECT s2CapUnion', required columns: 's2CapUnion'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.340550 [ 5687 ] {dca33442-624e-4b07-acc8-9ad769f6eaa4} executeQuery: Code: 47. DB::Exception: Missing columns: 's2CellsIntersect' while processing query: 'SELECT s2CellsIntersect', required columns: 's2CellsIntersect'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT s2CellsIntersect;) 2026.10.27 19:26:41.342253 [ 5687 ] {dca33442-624e-4b07-acc8-9ad769f6eaa4} TCPHandler: Code: 47. DB::Exception: Missing columns: 's2CellsIntersect' while processing query: 'SELECT s2CellsIntersect', required columns: 's2CellsIntersect'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.353842 [ 5687 ] {45be9238-4609-498b-b57d-0995f500e098} executeQuery: Code: 47. DB::Exception: Missing columns: 's2GetNeighbors' while processing query: 'SELECT s2GetNeighbors', required columns: 's2GetNeighbors'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT s2GetNeighbors;) 2026.10.27 19:26:41.355431 [ 5687 ] {45be9238-4609-498b-b57d-0995f500e098} TCPHandler: Code: 47. DB::Exception: Missing columns: 's2GetNeighbors' while processing query: 'SELECT s2GetNeighbors', required columns: 's2GetNeighbors'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.366646 [ 5687 ] {171661da-846d-4195-9202-e82ba9d874ba} executeQuery: Code: 47. DB::Exception: Missing columns: 's2RectAdd' while processing query: 'SELECT s2RectAdd', required columns: 's2RectAdd'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT s2RectAdd;) 2026.10.27 19:26:41.368474 [ 5687 ] {171661da-846d-4195-9202-e82ba9d874ba} TCPHandler: Code: 47. DB::Exception: Missing columns: 's2RectAdd' while processing query: 'SELECT s2RectAdd', required columns: 's2RectAdd'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.487808 [ 5687 ] {f200a0a5-f64b-4ba1-a26a-3cee2a69cd5a} executeQuery: Code: 47. DB::Exception: Missing columns: 's2RectContains' while processing query: 'SELECT s2RectContains', required columns: 's2RectContains'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT s2RectContains;) 2026.10.27 19:26:41.489757 [ 5687 ] {f200a0a5-f64b-4ba1-a26a-3cee2a69cd5a} TCPHandler: Code: 47. DB::Exception: Missing columns: 's2RectContains' while processing query: 'SELECT s2RectContains', required columns: 's2RectContains'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.514814 [ 5687 ] {0b73f702-07f0-44fd-9302-7f2d05687acd} executeQuery: Code: 47. DB::Exception: Missing columns: 's2RectIntersection' while processing query: 'SELECT s2RectIntersection', required columns: 's2RectIntersection'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT s2RectIntersection;) 2026.10.27 19:26:41.517524 [ 5687 ] {0b73f702-07f0-44fd-9302-7f2d05687acd} TCPHandler: Code: 47. DB::Exception: Missing columns: 's2RectIntersection' while processing query: 'SELECT s2RectIntersection', required columns: 's2RectIntersection'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.532626 [ 5687 ] {8d71a8f4-b5cb-47c2-8b6c-d3e243bd5869} executeQuery: Code: 47. DB::Exception: Missing columns: 's2RectUnion' while processing query: 'SELECT s2RectUnion', required columns: 's2RectUnion'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT s2RectUnion;) 2026.10.27 19:26:41.534280 [ 5687 ] {8d71a8f4-b5cb-47c2-8b6c-d3e243bd5869} TCPHandler: Code: 47. DB::Exception: Missing columns: 's2RectUnion' while processing query: 'SELECT s2RectUnion', required columns: 's2RectUnion'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.545542 [ 5687 ] {f914befd-6ad9-45d6-bcb4-ae9051dd808f} executeQuery: Code: 47. DB::Exception: Missing columns: 's2ToGeo' while processing query: 'SELECT s2ToGeo', required columns: 's2ToGeo'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT s2ToGeo;) 2026.10.27 19:26:41.546811 [ 5687 ] {f914befd-6ad9-45d6-bcb4-ae9051dd808f} TCPHandler: Code: 47. DB::Exception: Missing columns: 's2ToGeo' while processing query: 'SELECT s2ToGeo', required columns: 's2ToGeo'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.562208 [ 5687 ] {a02f2fd8-fa31-46ee-bcbc-a98882879f79} executeQuery: Code: 47. DB::Exception: Missing columns: 'scalarProduct' while processing query: 'SELECT scalarProduct', required columns: 'scalarProduct'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT scalarProduct;) 2026.10.27 19:26:41.563913 [ 5687 ] {a02f2fd8-fa31-46ee-bcbc-a98882879f79} TCPHandler: Code: 47. DB::Exception: Missing columns: 'scalarProduct' while processing query: 'SELECT scalarProduct', required columns: 'scalarProduct'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.566928 [ 7212 ] {} ExternalDictionariesLoader: Could not load external dictionary 'test_5.dict', next update is scheduled at 2026-10-27 19:26:42: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.51 GiB (attempt to allocate chunk of 134217728 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002078b7b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/Allocator.h:199: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078d064 in /usr/bin/clickhouse 8. HashTable, HashTableNoState>, DefaultHash, DB::HashedDictionaryImpl::HashTableGrowerWithPrecalculationAndMaxLoadFactor<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000002bb33dfe in /usr/bin/clickhouse 9. void detail::static_for::getAttributeContainers::resize(unsigned long)::'lambda'(auto&)>(unsigned long, auto&&)::'lambda'(auto const&)&>(DB::AttributeUnderlyingType, auto&&)::'lambda'(auto), 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul, 8ul, 9ul, 10ul, 11ul, 12ul, 13ul, 14ul, 15ul, 16ul, 17ul, 18ul, 19ul, 20ul, 21ul, 22ul, 23ul>(void DB::callOnDictionaryAttributeType::getAttributeContainers::resize(unsigned long)::'lambda'(auto&)>(unsigned long, auto&&)::'lambda'(auto const&)&>(DB::AttributeUnderlyingType, auto&&)::'lambda'(auto)&&, std::integer_sequence) @ 0x000000002bbdbcac in /usr/bin/clickhouse 10. DB::HashedDictionary<(DB::DictionaryKeyType)0, true, false>::loadData() @ 0x000000002b3e4799 in /usr/bin/clickhouse 11. DB::HashedDictionary<(DB::DictionaryKeyType)0, true, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x000000002b3e3401 in /usr/bin/clickhouse 12. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000002b3b8356 in /usr/bin/clickhouse 13. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b3ba3d7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000035256311 in /usr/bin/clickhouse 15. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000035252fb7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038c9ac44 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038ca6a60 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cc3485 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cba4b5 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ccec9a in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038cce77f in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:41.577929 [ 5687 ] {9070ceec-7845-437e-bba5-9308ee1aef82} executeQuery: Code: 47. DB::Exception: Missing columns: 'sequenceCount' while processing query: 'SELECT sequenceCount', required columns: 'sequenceCount'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sequenceCount;) 2026.10.27 19:26:41.579236 [ 5687 ] {9070ceec-7845-437e-bba5-9308ee1aef82} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sequenceCount' while processing query: 'SELECT sequenceCount', required columns: 'sequenceCount'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.590683 [ 5687 ] {d30af26c-3054-441a-a5e7-e65fec2840e1} executeQuery: Code: 47. DB::Exception: Missing columns: 'sequenceMatch' while processing query: 'SELECT sequenceMatch', required columns: 'sequenceMatch'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sequenceMatch;) 2026.10.27 19:26:41.591822 [ 5687 ] {d30af26c-3054-441a-a5e7-e65fec2840e1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sequenceMatch' while processing query: 'SELECT sequenceMatch', required columns: 'sequenceMatch'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.605938 [ 5687 ] {f083f4cd-c075-45d8-90c6-de9be1bbef85} executeQuery: Code: 47. DB::Exception: Missing columns: 'sequenceNextNode' while processing query: 'SELECT sequenceNextNode', required columns: 'sequenceNextNode'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sequenceNextNode;) 2026.10.27 19:26:41.607340 [ 5687 ] {f083f4cd-c075-45d8-90c6-de9be1bbef85} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sequenceNextNode' while processing query: 'SELECT sequenceNextNode', required columns: 'sequenceNextNode'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.626620 [ 5687 ] {f599a1aa-1b5d-462f-9dbd-0958a01dfd16} executeQuery: Code: 47. DB::Exception: Missing columns: 'serverTimeZone' while processing query: 'SELECT serverTimeZone', required columns: 'serverTimeZone'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT serverTimeZone;) 2026.10.27 19:26:41.628467 [ 5687 ] {f599a1aa-1b5d-462f-9dbd-0958a01dfd16} TCPHandler: Code: 47. DB::Exception: Missing columns: 'serverTimeZone' while processing query: 'SELECT serverTimeZone', required columns: 'serverTimeZone'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.644678 [ 5687 ] {7976f07d-5ff5-48d6-8208-7893dbbf905f} executeQuery: Code: 47. DB::Exception: Missing columns: 'serverTimezone' while processing query: 'SELECT serverTimezone', required columns: 'serverTimezone'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT serverTimezone;) 2026.10.27 19:26:41.650489 [ 5687 ] {7976f07d-5ff5-48d6-8208-7893dbbf905f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'serverTimezone' while processing query: 'SELECT serverTimezone', required columns: 'serverTimezone'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.664426 [ 5687 ] {8049d4dc-1f81-475f-aa29-68bb1f5977fd} executeQuery: Code: 47. DB::Exception: Missing columns: 'serverUUID' while processing query: 'SELECT serverUUID', required columns: 'serverUUID'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT serverUUID;) 2026.10.27 19:26:41.667731 [ 5687 ] {8049d4dc-1f81-475f-aa29-68bb1f5977fd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'serverUUID' while processing query: 'SELECT serverUUID', required columns: 'serverUUID'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.680873 [ 5687 ] {377ba196-eba4-49fd-bb78-71e80c7f0a5a} executeQuery: Code: 47. DB::Exception: Missing columns: 'shardCount' while processing query: 'SELECT shardCount', required columns: 'shardCount'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT shardCount;) 2026.10.27 19:26:41.684409 [ 5687 ] {377ba196-eba4-49fd-bb78-71e80c7f0a5a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'shardCount' while processing query: 'SELECT shardCount', required columns: 'shardCount'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.696717 [ 5687 ] {535c7c67-6515-4f78-8593-977fc381f57c} executeQuery: Code: 47. DB::Exception: Missing columns: 'shardNum' while processing query: 'SELECT shardNum', required columns: 'shardNum'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT shardNum;) 2026.10.27 19:26:41.698601 [ 5687 ] {535c7c67-6515-4f78-8593-977fc381f57c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'shardNum' while processing query: 'SELECT shardNum', required columns: 'shardNum'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.710138 [ 5687 ] {96065d38-27e6-45bd-8213-cb5ba05189c1} executeQuery: Code: 47. DB::Exception: Missing columns: 'showCertificate' while processing query: 'SELECT showCertificate', required columns: 'showCertificate'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT showCertificate;) 2026.10.27 19:26:41.711414 [ 5687 ] {96065d38-27e6-45bd-8213-cb5ba05189c1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'showCertificate' while processing query: 'SELECT showCertificate', required columns: 'showCertificate'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.721085 [ 5687 ] {0ab5f605-c381-4c85-8ac9-9ecd1e812dfb} executeQuery: Code: 47. DB::Exception: Missing columns: 'sigmoid' while processing query: 'SELECT sigmoid', required columns: 'sigmoid'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sigmoid;) 2026.10.27 19:26:41.722152 [ 5687 ] {0ab5f605-c381-4c85-8ac9-9ecd1e812dfb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sigmoid' while processing query: 'SELECT sigmoid', required columns: 'sigmoid'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.731340 [ 5687 ] {9395cbc7-91b4-445f-8c6c-1150ef264e4a} executeQuery: Code: 47. DB::Exception: Missing columns: 'sign' while processing query: 'SELECT sign', required columns: 'sign'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sign;) 2026.10.27 19:26:41.732556 [ 5687 ] {9395cbc7-91b4-445f-8c6c-1150ef264e4a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sign' while processing query: 'SELECT sign', required columns: 'sign'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.845612 [ 5687 ] {ba4b65b2-07c6-4d5b-928d-eb06058bb1b9} executeQuery: Code: 47. DB::Exception: Missing columns: 'simpleJSONExtractBool' while processing query: 'SELECT simpleJSONExtractBool', required columns: 'simpleJSONExtractBool'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT simpleJSONExtractBool;) 2026.10.27 19:26:41.847986 [ 5687 ] {ba4b65b2-07c6-4d5b-928d-eb06058bb1b9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'simpleJSONExtractBool' while processing query: 'SELECT simpleJSONExtractBool', required columns: 'simpleJSONExtractBool'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.867270 [ 5687 ] {e440c527-a4df-487d-b66d-067eab5f06d9} executeQuery: Code: 47. DB::Exception: Missing columns: 'simpleJSONExtractFloat' while processing query: 'SELECT simpleJSONExtractFloat', required columns: 'simpleJSONExtractFloat'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT simpleJSONExtractFloat;) 2026.10.27 19:26:41.869191 [ 5687 ] {e440c527-a4df-487d-b66d-067eab5f06d9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'simpleJSONExtractFloat' while processing query: 'SELECT simpleJSONExtractFloat', required columns: 'simpleJSONExtractFloat'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.886008 [ 5687 ] {1af56a36-87a2-4163-95a0-1448bd88f6db} executeQuery: Code: 47. DB::Exception: Missing columns: 'simpleJSONExtractInt' while processing query: 'SELECT simpleJSONExtractInt', required columns: 'simpleJSONExtractInt'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT simpleJSONExtractInt;) 2026.10.27 19:26:41.887476 [ 5687 ] {1af56a36-87a2-4163-95a0-1448bd88f6db} TCPHandler: Code: 47. DB::Exception: Missing columns: 'simpleJSONExtractInt' while processing query: 'SELECT simpleJSONExtractInt', required columns: 'simpleJSONExtractInt'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.902788 [ 5687 ] {9ae4f2a6-0ea4-4f58-b887-ee738f0f9eda} executeQuery: Code: 47. DB::Exception: Missing columns: 'simpleJSONExtractRaw' while processing query: 'SELECT simpleJSONExtractRaw', required columns: 'simpleJSONExtractRaw'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT simpleJSONExtractRaw;) 2026.10.27 19:26:41.904348 [ 5687 ] {9ae4f2a6-0ea4-4f58-b887-ee738f0f9eda} TCPHandler: Code: 47. DB::Exception: Missing columns: 'simpleJSONExtractRaw' while processing query: 'SELECT simpleJSONExtractRaw', required columns: 'simpleJSONExtractRaw'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.930204 [ 5687 ] {e885b27e-9a60-46dc-b097-10bbc50a5881} executeQuery: Code: 47. DB::Exception: Missing columns: 'simpleJSONExtractString' while processing query: 'SELECT simpleJSONExtractString', required columns: 'simpleJSONExtractString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT simpleJSONExtractString;) 2026.10.27 19:26:41.933092 [ 5687 ] {e885b27e-9a60-46dc-b097-10bbc50a5881} TCPHandler: Code: 47. DB::Exception: Missing columns: 'simpleJSONExtractString' while processing query: 'SELECT simpleJSONExtractString', required columns: 'simpleJSONExtractString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:41.934510 [ 9255 ] {fe2b5c99-a8ce-4b1c-978d-14ea92eb1f7a} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 1114240 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44460) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnFixedString.cpp:339: COW::immutable_ptr DB::ColumnFixedString::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0adfba in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnFixedString.cpp:314: DB::ColumnFixedString::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0720bc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa24844 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:41.934669 [ 4399 ] {ca1d486f-e5ad-4680-9ea5-088ab8e85ac2} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44478) (comment: 00042_any_left_join.sql) (in query: SELECT EventDate, hits, visits FROM ( SELECT EventDate, count() AS hits FROM test.hits GROUP BY EventDate ) ANY LEFT JOIN ( SELECT StartDate AS EventDate, sum(Sign) AS visits FROM test.visits GROUP BY EventDate ) USING EventDate ORDER BY hits DESC LIMIT 10 SETTINGS joined_subquery_requires_alias = 0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:2654: void DB::Aggregator::mergeSingleLevelDataImpl, FixedHashTableStoredSize>, Allocator>, false, false>>(std::vector, std::allocator>>&) const @ 0x0000000037e621c5 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000003eb15326 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000003eb0cc5c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:41.946175 [ 5687 ] {c542d546-315a-4570-9866-26585810d848} executeQuery: Code: 47. DB::Exception: Missing columns: 'simpleJSONExtractUInt' while processing query: 'SELECT simpleJSONExtractUInt', required columns: 'simpleJSONExtractUInt'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT simpleJSONExtractUInt;) 2026.10.27 19:26:41.947850 [ 5687 ] {c542d546-315a-4570-9866-26585810d848} TCPHandler: Code: 47. DB::Exception: Missing columns: 'simpleJSONExtractUInt' while processing query: 'SELECT simpleJSONExtractUInt', required columns: 'simpleJSONExtractUInt'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:42.065772 [ 5687 ] {811a993e-0102-4c85-b929-bce1b9d7c96e} executeQuery: Code: 47. DB::Exception: Missing columns: 'simpleJSONHas' while processing query: 'SELECT simpleJSONHas', required columns: 'simpleJSONHas'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT simpleJSONHas;) 2026.10.27 19:26:42.067673 [ 5687 ] {811a993e-0102-4c85-b929-bce1b9d7c96e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'simpleJSONHas' while processing query: 'SELECT simpleJSONHas', required columns: 'simpleJSONHas'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:42.086874 [ 5687 ] {4143b1d0-e518-4abd-be90-f6cc37e2ad47} executeQuery: Code: 47. DB::Exception: Missing columns: 'simpleLinearRegression' while processing query: 'SELECT simpleLinearRegression', required columns: 'simpleLinearRegression'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT simpleLinearRegression;) 2026.10.27 19:26:42.088875 [ 5687 ] {4143b1d0-e518-4abd-be90-f6cc37e2ad47} TCPHandler: Code: 47. DB::Exception: Missing columns: 'simpleLinearRegression' while processing query: 'SELECT simpleLinearRegression', required columns: 'simpleLinearRegression'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:42.218496 [ 5687 ] {f496ddad-9f6a-4cfe-b1c3-53e8dd980bf8} executeQuery: Code: 47. DB::Exception: Missing columns: 'sin' while processing query: 'SELECT sin', required columns: 'sin'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sin;) 2026.10.27 19:26:42.322094 [ 5687 ] {f496ddad-9f6a-4cfe-b1c3-53e8dd980bf8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sin' while processing query: 'SELECT sin', required columns: 'sin'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:42.346103 [ 5687 ] {ed92402d-9d56-46b8-b6a0-4552221ac30a} executeQuery: Code: 47. DB::Exception: Missing columns: 'singleValueOrNull' while processing query: 'SELECT singleValueOrNull', required columns: 'singleValueOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT singleValueOrNull;) 2026.10.27 19:26:42.349383 [ 5687 ] {ed92402d-9d56-46b8-b6a0-4552221ac30a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'singleValueOrNull' while processing query: 'SELECT singleValueOrNull', required columns: 'singleValueOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:42.376748 [ 5687 ] {f2f1dbce-558a-4250-94eb-137e167f5804} executeQuery: Code: 47. DB::Exception: Missing columns: 'sinh' while processing query: 'SELECT sinh', required columns: 'sinh'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sinh;) 2026.10.27 19:26:42.379833 [ 5687 ] {f2f1dbce-558a-4250-94eb-137e167f5804} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sinh' while processing query: 'SELECT sinh', required columns: 'sinh'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:42.402596 [ 5687 ] {3798d149-3590-4072-a3ed-07c694424509} executeQuery: Code: 47. DB::Exception: Missing columns: 'sipHash128' while processing query: 'SELECT sipHash128', required columns: 'sipHash128'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sipHash128;) 2026.10.27 19:26:42.412317 [ 9259 ] {4b0131f4-bc32-4638-9276-052f6a52c58f} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1191424 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing CollapsingSortedTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46300) (comment: 00013_sorting_of_nested.sql) (in query: SELECT ParsedParams.Key1 FROM test.visits FINAL WHERE VisitID != 0 AND notEmpty(ParsedParams.Key1) ORDER BY VisitID LIMIT 10 ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x0000000009e3faed in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:0: DB::ColumnVector::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b2877f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:33: DB::CollapsingSortedAlgorithm::insertRows() @ 0x000000003ee8480a in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Merges/Algorithms/CollapsingSortedAlgorithm.cpp:0: DB::CollapsingSortedAlgorithm::merge() @ 0x000000003ee868dc in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003cdea4e2 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 18. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:42.472262 [ 12863 ] {72187c0e-b40a-4e8e-82ac-98333a69208b} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 1703936 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (avg_value_size_hint = 196.927734375, avg_chars_size = 226.71328125, limit = 8192): (while reading column URL): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 136 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44536) (comment: 00089_position_functions_with_non_constant_arg.sql) (in query: SELECT count() FROM test.hits WHERE position(URL, 'metrika') != position(URL, materialize('metrika'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff78e6 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:42.472483 [ 12858 ] {5ed2cb91-00bd-4b8d-862d-f91710446517} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 1082076 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_8_16_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 340 with max_rows_to_read = 20040): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44514) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactStringsEachRowWithNames), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:42.505346 [ 5687 ] {3798d149-3590-4072-a3ed-07c694424509} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sipHash128' while processing query: 'SELECT sipHash128', required columns: 'sipHash128'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:42.518713 [ 5687 ] {7da1688f-728c-4ada-93e1-e8fcbb21e1c5} executeQuery: Code: 47. DB::Exception: Missing columns: 'sipHash128Keyed' while processing query: 'SELECT sipHash128Keyed', required columns: 'sipHash128Keyed'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sipHash128Keyed;) 2026.10.27 19:26:42.520726 [ 5687 ] {7da1688f-728c-4ada-93e1-e8fcbb21e1c5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sipHash128Keyed' while processing query: 'SELECT sipHash128Keyed', required columns: 'sipHash128Keyed'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:42.533338 [ 5687 ] {7ea329c5-b703-4b3e-a11d-357b3a99d8b1} executeQuery: Code: 47. DB::Exception: Missing columns: 'sipHash128Reference' while processing query: 'SELECT sipHash128Reference', required columns: 'sipHash128Reference'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sipHash128Reference;) 2026.10.27 19:26:42.534870 [ 5687 ] {7ea329c5-b703-4b3e-a11d-357b3a99d8b1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sipHash128Reference' while processing query: 'SELECT sipHash128Reference', required columns: 'sipHash128Reference'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:42.545833 [ 5687 ] {10b25120-fc41-4b8f-be9d-20c9559125af} executeQuery: Code: 47. DB::Exception: Missing columns: 'sipHash128ReferenceKeyed' while processing query: 'SELECT sipHash128ReferenceKeyed', required columns: 'sipHash128ReferenceKeyed'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sipHash128ReferenceKeyed;) 2026.10.27 19:26:42.547280 [ 5687 ] {10b25120-fc41-4b8f-be9d-20c9559125af} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sipHash128ReferenceKeyed' while processing query: 'SELECT sipHash128ReferenceKeyed', required columns: 'sipHash128ReferenceKeyed'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:42.672918 [ 5687 ] {ee285a8f-6f1f-4c86-8bf6-161085a09120} executeQuery: Code: 47. DB::Exception: Missing columns: 'sipHash64' while processing query: 'SELECT sipHash64', required columns: 'sipHash64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sipHash64;) 2026.10.27 19:26:42.676494 [ 5687 ] {ee285a8f-6f1f-4c86-8bf6-161085a09120} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sipHash64' while processing query: 'SELECT sipHash64', required columns: 'sipHash64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:42.798678 [ 5687 ] {97344164-373d-47a4-b4bb-0bb66a9a4116} executeQuery: Code: 47. DB::Exception: Missing columns: 'sipHash64Keyed' while processing query: 'SELECT sipHash64Keyed', required columns: 'sipHash64Keyed'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sipHash64Keyed;) 2026.10.27 19:26:42.801113 [ 5687 ] {97344164-373d-47a4-b4bb-0bb66a9a4116} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sipHash64Keyed' while processing query: 'SELECT sipHash64Keyed', required columns: 'sipHash64Keyed'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:42.820547 [ 5687 ] {aea21c00-c7d1-43b8-b224-7ab345950ff7} executeQuery: Code: 47. DB::Exception: Missing columns: 'skewPop' while processing query: 'SELECT skewPop', required columns: 'skewPop'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT skewPop;) 2026.10.27 19:26:42.822580 [ 5687 ] {aea21c00-c7d1-43b8-b224-7ab345950ff7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'skewPop' while processing query: 'SELECT skewPop', required columns: 'skewPop'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:42.840338 [ 5687 ] {b2c0dfb9-dfc4-4fd2-877b-39d4e7e0a240} executeQuery: Code: 47. DB::Exception: Missing columns: 'skewSamp' while processing query: 'SELECT skewSamp', required columns: 'skewSamp'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT skewSamp;) 2026.10.27 19:26:42.842014 [ 5687 ] {b2c0dfb9-dfc4-4fd2-877b-39d4e7e0a240} TCPHandler: Code: 47. DB::Exception: Missing columns: 'skewSamp' while processing query: 'SELECT skewSamp', required columns: 'skewSamp'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:42.864688 [ 5687 ] {5fcbbe0c-17d7-4596-9eee-d398d8ae1af7} executeQuery: Code: 47. DB::Exception: Missing columns: 'sleep' while processing query: 'SELECT sleep', required columns: 'sleep'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sleep;) 2026.10.27 19:26:42.871396 [ 5687 ] {5fcbbe0c-17d7-4596-9eee-d398d8ae1af7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sleep' while processing query: 'SELECT sleep', required columns: 'sleep'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:42.895268 [ 5687 ] {77f96f31-1a1f-4891-96bd-9648fd5b5770} executeQuery: Code: 47. DB::Exception: Missing columns: 'sleepEachRow' while processing query: 'SELECT sleepEachRow', required columns: 'sleepEachRow'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sleepEachRow;) 2026.10.27 19:26:42.999058 [ 5687 ] {77f96f31-1a1f-4891-96bd-9648fd5b5770} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sleepEachRow' while processing query: 'SELECT sleepEachRow', required columns: 'sleepEachRow'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:43.120241 [ 5687 ] {33a39e4b-4e0a-4fd6-b419-226bcb226351} executeQuery: Code: 47. DB::Exception: Missing columns: 'snowflakeToDateTime' while processing query: 'SELECT snowflakeToDateTime', required columns: 'snowflakeToDateTime'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT snowflakeToDateTime;) 2026.10.27 19:26:43.122196 [ 5687 ] {33a39e4b-4e0a-4fd6-b419-226bcb226351} TCPHandler: Code: 47. DB::Exception: Missing columns: 'snowflakeToDateTime' while processing query: 'SELECT snowflakeToDateTime', required columns: 'snowflakeToDateTime'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:43.143894 [ 5687 ] {6194fc1e-6781-48bf-accd-433bde580b1b} executeQuery: Code: 47. DB::Exception: Missing columns: 'snowflakeToDateTime64' while processing query: 'SELECT snowflakeToDateTime64', required columns: 'snowflakeToDateTime64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT snowflakeToDateTime64;) 2026.10.27 19:26:43.147417 [ 5687 ] {6194fc1e-6781-48bf-accd-433bde580b1b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'snowflakeToDateTime64' while processing query: 'SELECT snowflakeToDateTime64', required columns: 'snowflakeToDateTime64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:43.372642 [ 5687 ] {53849f2f-1646-4101-82fe-6b547563d353} executeQuery: Code: 47. DB::Exception: Missing columns: 'soundex' while processing query: 'SELECT soundex', required columns: 'soundex'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT soundex;) 2026.10.27 19:26:43.375011 [ 5687 ] {53849f2f-1646-4101-82fe-6b547563d353} TCPHandler: Code: 47. DB::Exception: Missing columns: 'soundex' while processing query: 'SELECT soundex', required columns: 'soundex'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:43.499325 [ 5687 ] {aa3863d6-f58e-4909-8737-52fa36385e48} executeQuery: Code: 47. DB::Exception: Missing columns: 'space' while processing query: 'SELECT space', required columns: 'space'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT space;) 2026.10.27 19:26:43.502190 [ 5687 ] {aa3863d6-f58e-4909-8737-52fa36385e48} TCPHandler: Code: 47. DB::Exception: Missing columns: 'space' while processing query: 'SELECT space', required columns: 'space'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:43.523061 [ 5687 ] {d4e84ead-1e9d-4ca8-9b48-cac376316522} executeQuery: Code: 47. DB::Exception: Missing columns: 'sparkbar' while processing query: 'SELECT sparkbar', required columns: 'sparkbar'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sparkbar;) 2026.10.27 19:26:43.526401 [ 5687 ] {d4e84ead-1e9d-4ca8-9b48-cac376316522} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sparkbar' while processing query: 'SELECT sparkbar', required columns: 'sparkbar'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:43.550508 [ 5687 ] {a40b6d15-e830-4dac-85fd-8cd3db185d1d} executeQuery: Code: 47. DB::Exception: Missing columns: 'splitByAlpha' while processing query: 'SELECT splitByAlpha', required columns: 'splitByAlpha'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT splitByAlpha;) 2026.10.27 19:26:43.553542 [ 5687 ] {a40b6d15-e830-4dac-85fd-8cd3db185d1d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'splitByAlpha' while processing query: 'SELECT splitByAlpha', required columns: 'splitByAlpha'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:43.575610 [ 5687 ] {108e54d7-69c6-44ac-8d30-4b4f55ac436c} executeQuery: Code: 47. DB::Exception: Missing columns: 'splitByChar' while processing query: 'SELECT splitByChar', required columns: 'splitByChar'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT splitByChar;) 2026.10.27 19:26:43.578343 [ 5687 ] {108e54d7-69c6-44ac-8d30-4b4f55ac436c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'splitByChar' while processing query: 'SELECT splitByChar', required columns: 'splitByChar'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:43.591236 [ 5687 ] {4cd270e9-40e2-4559-b385-00116a732884} executeQuery: Code: 47. DB::Exception: Missing columns: 'splitByNonAlpha' while processing query: 'SELECT splitByNonAlpha', required columns: 'splitByNonAlpha'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT splitByNonAlpha;) 2026.10.27 19:26:43.601730 [ 5687 ] {4cd270e9-40e2-4559-b385-00116a732884} TCPHandler: Code: 47. DB::Exception: Missing columns: 'splitByNonAlpha' while processing query: 'SELECT splitByNonAlpha', required columns: 'splitByNonAlpha'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:43.614537 [ 5687 ] {bbaadf18-2ff3-4e7e-a12f-440ee28180b6} executeQuery: Code: 47. DB::Exception: Missing columns: 'splitByRegexp' while processing query: 'SELECT splitByRegexp', required columns: 'splitByRegexp'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT splitByRegexp;) 2026.10.27 19:26:43.716614 [ 5687 ] {bbaadf18-2ff3-4e7e-a12f-440ee28180b6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'splitByRegexp' while processing query: 'SELECT splitByRegexp', required columns: 'splitByRegexp'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:43.736838 [ 5687 ] {9c970f95-e78b-44ee-bd38-43abd941119b} executeQuery: Code: 47. DB::Exception: Missing columns: 'splitByString' while processing query: 'SELECT splitByString', required columns: 'splitByString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT splitByString;) 2026.10.27 19:26:43.739198 [ 5687 ] {9c970f95-e78b-44ee-bd38-43abd941119b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'splitByString' while processing query: 'SELECT splitByString', required columns: 'splitByString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:43.859762 [ 5687 ] {bc1e81bf-7b61-4c2f-860b-b2834b8a43f1} executeQuery: Code: 47. DB::Exception: Missing columns: 'splitByWhitespace' while processing query: 'SELECT splitByWhitespace', required columns: 'splitByWhitespace'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT splitByWhitespace;) 2026.10.27 19:26:43.863221 [ 5687 ] {bc1e81bf-7b61-4c2f-860b-b2834b8a43f1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'splitByWhitespace' while processing query: 'SELECT splitByWhitespace', required columns: 'splitByWhitespace'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:43.981733 [ 5687 ] {250e369b-0507-4e34-8208-878ea706ac0e} executeQuery: Code: 47. DB::Exception: Missing columns: 'sqrt' while processing query: 'SELECT sqrt', required columns: 'sqrt'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sqrt;) 2026.10.27 19:26:44.085152 [ 5687 ] {250e369b-0507-4e34-8208-878ea706ac0e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sqrt' while processing query: 'SELECT sqrt', required columns: 'sqrt'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:44.108991 [ 5687 ] {821bf4c6-c2f2-4b0d-a51c-e685492cfb87} executeQuery: Code: 47. DB::Exception: Missing columns: 'startsWith' while processing query: 'SELECT startsWith', required columns: 'startsWith'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT startsWith;) 2026.10.27 19:26:44.111771 [ 5687 ] {821bf4c6-c2f2-4b0d-a51c-e685492cfb87} TCPHandler: Code: 47. DB::Exception: Missing columns: 'startsWith' while processing query: 'SELECT startsWith', required columns: 'startsWith'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:44.234660 [ 5687 ] {4c3f9ac4-6057-442c-8a21-8128c9696a70} executeQuery: Code: 47. DB::Exception: Missing columns: 'startsWithUTF8' while processing query: 'SELECT startsWithUTF8', required columns: 'startsWithUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT startsWithUTF8;) 2026.10.27 19:26:44.237364 [ 5687 ] {4c3f9ac4-6057-442c-8a21-8128c9696a70} TCPHandler: Code: 47. DB::Exception: Missing columns: 'startsWithUTF8' while processing query: 'SELECT startsWithUTF8', required columns: 'startsWithUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:44.255047 [ 5687 ] {e1b774ad-6ec3-4df4-ba17-6846307470cd} executeQuery: Code: 47. DB::Exception: Missing columns: 'stddevPop' while processing query: 'SELECT stddevPop', required columns: 'stddevPop'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT stddevPop;) 2026.10.27 19:26:44.257429 [ 5687 ] {e1b774ad-6ec3-4df4-ba17-6846307470cd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'stddevPop' while processing query: 'SELECT stddevPop', required columns: 'stddevPop'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:44.554103 [ 5687 ] {c6db3490-8b96-4f8c-91ac-710920e3b29a} executeQuery: Code: 47. DB::Exception: Missing columns: 'stddevPopStable' while processing query: 'SELECT stddevPopStable', required columns: 'stddevPopStable'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT stddevPopStable;) 2026.10.27 19:26:44.560901 [ 5687 ] {c6db3490-8b96-4f8c-91ac-710920e3b29a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'stddevPopStable' while processing query: 'SELECT stddevPopStable', required columns: 'stddevPopStable'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:44.576845 [ 5687 ] {18a21d6c-4587-45ac-844b-db5752ba0bba} executeQuery: Code: 47. DB::Exception: Missing columns: 'stddevSamp' while processing query: 'SELECT stddevSamp', required columns: 'stddevSamp'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT stddevSamp;) 2026.10.27 19:26:44.578544 [ 5687 ] {18a21d6c-4587-45ac-844b-db5752ba0bba} TCPHandler: Code: 47. DB::Exception: Missing columns: 'stddevSamp' while processing query: 'SELECT stddevSamp', required columns: 'stddevSamp'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:44.594081 [ 5687 ] {3776beed-8c71-4572-bff8-27aef1063eb5} executeQuery: Code: 47. DB::Exception: Missing columns: 'stddevSampStable' while processing query: 'SELECT stddevSampStable', required columns: 'stddevSampStable'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT stddevSampStable;) 2026.10.27 19:26:44.595286 [ 5687 ] {3776beed-8c71-4572-bff8-27aef1063eb5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'stddevSampStable' while processing query: 'SELECT stddevSampStable', required columns: 'stddevSampStable'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:44.716938 [ 5687 ] {a7ffc5c2-dca5-4617-9331-e0ec52cab475} executeQuery: Code: 47. DB::Exception: Missing columns: 'stem' while processing query: 'SELECT stem', required columns: 'stem'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT stem;) 2026.10.27 19:26:44.719658 [ 5687 ] {a7ffc5c2-dca5-4617-9331-e0ec52cab475} TCPHandler: Code: 47. DB::Exception: Missing columns: 'stem' while processing query: 'SELECT stem', required columns: 'stem'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:44.742002 [ 5687 ] {cd3ab2cb-fead-4bef-abc4-8278dac8ff2e} executeQuery: Code: 47. DB::Exception: Missing columns: 'stochasticLinearRegression' while processing query: 'SELECT stochasticLinearRegression', required columns: 'stochasticLinearRegression'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT stochasticLinearRegression;) 2026.10.27 19:26:44.745204 [ 5687 ] {cd3ab2cb-fead-4bef-abc4-8278dac8ff2e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'stochasticLinearRegression' while processing query: 'SELECT stochasticLinearRegression', required columns: 'stochasticLinearRegression'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:44.763834 [ 5687 ] {05abaac1-20d6-49d2-b05b-df7b235ac0ec} executeQuery: Code: 47. DB::Exception: Missing columns: 'stochasticLogisticRegression' while processing query: 'SELECT stochasticLogisticRegression', required columns: 'stochasticLogisticRegression'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT stochasticLogisticRegression;) 2026.10.27 19:26:44.765603 [ 5687 ] {05abaac1-20d6-49d2-b05b-df7b235ac0ec} TCPHandler: Code: 47. DB::Exception: Missing columns: 'stochasticLogisticRegression' while processing query: 'SELECT stochasticLogisticRegression', required columns: 'stochasticLogisticRegression'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:44.904603 [ 5687 ] {e8312d29-feba-411c-812e-4510947b4f60} executeQuery: Code: 47. DB::Exception: Missing columns: 'str_to_date' while processing query: 'SELECT str_to_date', required columns: 'str_to_date'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT str_to_date;) 2026.10.27 19:26:44.907838 [ 5687 ] {e8312d29-feba-411c-812e-4510947b4f60} TCPHandler: Code: 47. DB::Exception: Missing columns: 'str_to_date' while processing query: 'SELECT str_to_date', required columns: 'str_to_date'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:45.026384 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 4194565 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::PODArray, DB::UUIDTag>, 4096ul, Allocator, 63ul, 64ul>::PODArray(StrongTypedef, DB::UUIDTag> const*, StrongTypedef, DB::UUIDTag> const*) @ 0x000000003b3bd9b0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: COWHelper, DB::UUIDTag>>>::clone() const @ 0x000000003b40a766 in /usr/bin/clickhouse 9. DB::IColumn::mutate(COW::immutable_ptr) @ 0x000000000a9ad52a in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.cpp:0: DB::Block::mutateColumns() @ 0x000000003627dffd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:169: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d1043eb in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3ef053 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3ec532 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c26a87 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c2695f in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:45.026835 [ 4272 ] {8d0c2c6a-b8e9-4d21-ba81-0e4d8fbce153} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 4259808 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (avg_value_size_hint = 24.509506225585938, avg_chars_size = 19.811407470703124, limit = 196608): (while reading column Title): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_8_16_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 27 with max_rows_to_read = 196608): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46290) (comment: 00162_mmap_compression_none.sql) (in query: INSERT INTO hits_none SELECT Title FROM test.hits;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff78e6 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:45.027077 [ 2242 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_52_99_7}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 2270991 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (avg_value_size_hint = 168.8726806640625, avg_chars_size = 193.047216796875, limit = 8192): (while reading column message): (while reading from part /var/lib/clickhouse/disks/s3/store/29b/29baccac-732e-4d30-9f86-41a1af37e650/202610_52_89_6/ in table system.text_log (29baccac-732e-4d30-9f86-41a1af37e650) located on disk s3 of type s3, from mark 2 with max_rows_to_read = 8192): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff78e6 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 30. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:45.030134 [ 5687 ] {94860791-27fa-488d-b5ad-983ec7c6471d} executeQuery: Code: 47. DB::Exception: Missing columns: 'str_to_map' while processing query: 'SELECT str_to_map', required columns: 'str_to_map'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT str_to_map;) 2026.10.27 19:26:45.132607 [ 5687 ] {94860791-27fa-488d-b5ad-983ec7c6471d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'str_to_map' while processing query: 'SELECT str_to_map', required columns: 'str_to_map'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:45.254145 [ 5687 ] {6ab3ecc5-56ed-4050-a196-ad82e85abf53} executeQuery: Code: 47. DB::Exception: Missing columns: 'stringToH3' while processing query: 'SELECT stringToH3', required columns: 'stringToH3'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT stringToH3;) 2026.10.27 19:26:45.257340 [ 5687 ] {6ab3ecc5-56ed-4050-a196-ad82e85abf53} TCPHandler: Code: 47. DB::Exception: Missing columns: 'stringToH3' while processing query: 'SELECT stringToH3', required columns: 'stringToH3'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:45.280663 [ 5687 ] {a5c19e7a-633f-48e0-9c4f-67acce99f928} executeQuery: Code: 47. DB::Exception: Missing columns: 'structureToCapnProtoSchema' while processing query: 'SELECT structureToCapnProtoSchema', required columns: 'structureToCapnProtoSchema'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT structureToCapnProtoSchema;) 2026.10.27 19:26:45.283765 [ 5687 ] {a5c19e7a-633f-48e0-9c4f-67acce99f928} TCPHandler: Code: 47. DB::Exception: Missing columns: 'structureToCapnProtoSchema' while processing query: 'SELECT structureToCapnProtoSchema', required columns: 'structureToCapnProtoSchema'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:45.299476 [ 5687 ] {7c6ba886-9be4-4456-b060-65b4460c0454} executeQuery: Code: 47. DB::Exception: Missing columns: 'structureToProtobufSchema' while processing query: 'SELECT structureToProtobufSchema', required columns: 'structureToProtobufSchema'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT structureToProtobufSchema;) 2026.10.27 19:26:45.301869 [ 5687 ] {7c6ba886-9be4-4456-b060-65b4460c0454} TCPHandler: Code: 47. DB::Exception: Missing columns: 'structureToProtobufSchema' while processing query: 'SELECT structureToProtobufSchema', required columns: 'structureToProtobufSchema'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:45.316312 [ 5687 ] {477d263a-4f45-4098-af81-c7846555c21d} executeQuery: Code: 47. DB::Exception: Missing columns: 'studentTTest' while processing query: 'SELECT studentTTest', required columns: 'studentTTest'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT studentTTest;) 2026.10.27 19:26:45.318046 [ 5687 ] {477d263a-4f45-4098-af81-c7846555c21d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'studentTTest' while processing query: 'SELECT studentTTest', required columns: 'studentTTest'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:45.329943 [ 5687 ] {d38d340f-5393-4fa0-99b2-4b8b81171cf9} executeQuery: Code: 47. DB::Exception: Missing columns: 'subBitmap' while processing query: 'SELECT subBitmap', required columns: 'subBitmap'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT subBitmap;) 2026.10.27 19:26:45.331573 [ 5687 ] {d38d340f-5393-4fa0-99b2-4b8b81171cf9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'subBitmap' while processing query: 'SELECT subBitmap', required columns: 'subBitmap'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:45.347564 [ 5687 ] {68eb278b-a6bf-4209-a1c1-e2eb9a6a0488} executeQuery: Code: 47. DB::Exception: Missing columns: 'substr' while processing query: 'SELECT substr', required columns: 'substr'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT substr;) 2026.10.27 19:26:45.349595 [ 5687 ] {68eb278b-a6bf-4209-a1c1-e2eb9a6a0488} TCPHandler: Code: 47. DB::Exception: Missing columns: 'substr' while processing query: 'SELECT substr', required columns: 'substr'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:45.368754 [ 5687 ] {54b836a1-c842-4832-909e-5ead77411b48} executeQuery: Code: 47. DB::Exception: Missing columns: 'substring' while processing query: 'SELECT substring', required columns: 'substring'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT substring;) 2026.10.27 19:26:45.371708 [ 5687 ] {54b836a1-c842-4832-909e-5ead77411b48} TCPHandler: Code: 47. DB::Exception: Missing columns: 'substring' while processing query: 'SELECT substring', required columns: 'substring'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:45.388722 [ 5687 ] {fed5e714-3b1f-4de3-9468-52a1ea144c5a} executeQuery: Code: 47. DB::Exception: Missing columns: 'substringIndex' while processing query: 'SELECT substringIndex', required columns: 'substringIndex'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT substringIndex;) 2026.10.27 19:26:45.391259 [ 5687 ] {fed5e714-3b1f-4de3-9468-52a1ea144c5a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'substringIndex' while processing query: 'SELECT substringIndex', required columns: 'substringIndex'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:45.609584 [ 5687 ] {1cc95065-e747-4dba-b2d4-8a311d595b03} executeQuery: Code: 47. DB::Exception: Missing columns: 'substringIndexUTF8' while processing query: 'SELECT substringIndexUTF8', required columns: 'substringIndexUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT substringIndexUTF8;) 2026.10.27 19:26:45.611331 [ 5687 ] {1cc95065-e747-4dba-b2d4-8a311d595b03} TCPHandler: Code: 47. DB::Exception: Missing columns: 'substringIndexUTF8' while processing query: 'SELECT substringIndexUTF8', required columns: 'substringIndexUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:45.627627 [ 5687 ] {706841ed-877a-4e3d-abfd-19461a3d377b} executeQuery: Code: 47. DB::Exception: Missing columns: 'substringUTF8' while processing query: 'SELECT substringUTF8', required columns: 'substringUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT substringUTF8;) 2026.10.27 19:26:45.629548 [ 5687 ] {706841ed-877a-4e3d-abfd-19461a3d377b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'substringUTF8' while processing query: 'SELECT substringUTF8', required columns: 'substringUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:45.647124 [ 5687 ] {01ffe1a1-1a21-4f27-a74e-702ef693bd80} executeQuery: Code: 47. DB::Exception: Missing columns: 'subtractDays' while processing query: 'SELECT subtractDays', required columns: 'subtractDays'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT subtractDays;) 2026.10.27 19:26:45.648690 [ 5687 ] {01ffe1a1-1a21-4f27-a74e-702ef693bd80} TCPHandler: Code: 47. DB::Exception: Missing columns: 'subtractDays' while processing query: 'SELECT subtractDays', required columns: 'subtractDays'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:45.658629 [ 5687 ] {1a2af0af-f975-451a-ad29-94d5a3d4e64d} executeQuery: Code: 47. DB::Exception: Missing columns: 'subtractHours' while processing query: 'SELECT subtractHours', required columns: 'subtractHours'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT subtractHours;) 2026.10.27 19:26:45.659782 [ 5687 ] {1a2af0af-f975-451a-ad29-94d5a3d4e64d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'subtractHours' while processing query: 'SELECT subtractHours', required columns: 'subtractHours'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:45.668309 [ 5687 ] {08ab2c8c-2a84-4045-8587-f64e030460e2} executeQuery: Code: 47. DB::Exception: Missing columns: 'subtractInterval' while processing query: 'SELECT subtractInterval', required columns: 'subtractInterval'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT subtractInterval;) 2026.10.27 19:26:45.669345 [ 5687 ] {08ab2c8c-2a84-4045-8587-f64e030460e2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'subtractInterval' while processing query: 'SELECT subtractInterval', required columns: 'subtractInterval'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:45.678856 [ 5687 ] {16080eca-f22c-4ad9-b601-a7fae59523c7} executeQuery: Code: 47. DB::Exception: Missing columns: 'subtractMicroseconds' while processing query: 'SELECT subtractMicroseconds', required columns: 'subtractMicroseconds'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT subtractMicroseconds;) 2026.10.27 19:26:45.680697 [ 5687 ] {16080eca-f22c-4ad9-b601-a7fae59523c7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'subtractMicroseconds' while processing query: 'SELECT subtractMicroseconds', required columns: 'subtractMicroseconds'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:45.698422 [ 5687 ] {01551086-022f-4f81-bf73-2b9ec5c4927e} executeQuery: Code: 47. DB::Exception: Missing columns: 'subtractMilliseconds' while processing query: 'SELECT subtractMilliseconds', required columns: 'subtractMilliseconds'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT subtractMilliseconds;) 2026.10.27 19:26:45.700553 [ 5687 ] {01551086-022f-4f81-bf73-2b9ec5c4927e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'subtractMilliseconds' while processing query: 'SELECT subtractMilliseconds', required columns: 'subtractMilliseconds'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:45.818020 [ 5687 ] {8aa10d7d-d10c-4f98-af29-84e4bd66e513} executeQuery: Code: 47. DB::Exception: Missing columns: 'subtractMinutes' while processing query: 'SELECT subtractMinutes', required columns: 'subtractMinutes'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT subtractMinutes;) 2026.10.27 19:26:45.819766 [ 5687 ] {8aa10d7d-d10c-4f98-af29-84e4bd66e513} TCPHandler: Code: 47. DB::Exception: Missing columns: 'subtractMinutes' while processing query: 'SELECT subtractMinutes', required columns: 'subtractMinutes'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:45.936741 [ 5687 ] {207b9abe-9b78-4c2d-bf68-b05fc0ae5285} executeQuery: Code: 47. DB::Exception: Missing columns: 'subtractMonths' while processing query: 'SELECT subtractMonths', required columns: 'subtractMonths'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT subtractMonths;) 2026.10.27 19:26:45.938530 [ 5687 ] {207b9abe-9b78-4c2d-bf68-b05fc0ae5285} TCPHandler: Code: 47. DB::Exception: Missing columns: 'subtractMonths' while processing query: 'SELECT subtractMonths', required columns: 'subtractMonths'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:45.953223 [ 5687 ] {9fb09260-95c7-4525-8bff-75f0b2ac1256} executeQuery: Code: 47. DB::Exception: Missing columns: 'subtractNanoseconds' while processing query: 'SELECT subtractNanoseconds', required columns: 'subtractNanoseconds'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT subtractNanoseconds;) 2026.10.27 19:26:45.954983 [ 5687 ] {9fb09260-95c7-4525-8bff-75f0b2ac1256} TCPHandler: Code: 47. DB::Exception: Missing columns: 'subtractNanoseconds' while processing query: 'SELECT subtractNanoseconds', required columns: 'subtractNanoseconds'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:45.968209 [ 5687 ] {4cb34ba2-d251-4d9d-82e5-36c537b21136} executeQuery: Code: 47. DB::Exception: Missing columns: 'subtractQuarters' while processing query: 'SELECT subtractQuarters', required columns: 'subtractQuarters'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT subtractQuarters;) 2026.10.27 19:26:45.969967 [ 5687 ] {4cb34ba2-d251-4d9d-82e5-36c537b21136} TCPHandler: Code: 47. DB::Exception: Missing columns: 'subtractQuarters' while processing query: 'SELECT subtractQuarters', required columns: 'subtractQuarters'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:45.982377 [ 5687 ] {da869bf3-86cd-4bb7-b8d0-b0a21f97e1ac} executeQuery: Code: 47. DB::Exception: Missing columns: 'subtractSeconds' while processing query: 'SELECT subtractSeconds', required columns: 'subtractSeconds'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT subtractSeconds;) 2026.10.27 19:26:45.984404 [ 5687 ] {da869bf3-86cd-4bb7-b8d0-b0a21f97e1ac} TCPHandler: Code: 47. DB::Exception: Missing columns: 'subtractSeconds' while processing query: 'SELECT subtractSeconds', required columns: 'subtractSeconds'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.102028 [ 5687 ] {7d9b4a3c-4705-4dd4-86dc-637169f88ebf} executeQuery: Code: 47. DB::Exception: Missing columns: 'subtractTupleOfIntervals' while processing query: 'SELECT subtractTupleOfIntervals', required columns: 'subtractTupleOfIntervals'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT subtractTupleOfIntervals;) 2026.10.27 19:26:46.105310 [ 5687 ] {7d9b4a3c-4705-4dd4-86dc-637169f88ebf} TCPHandler: Code: 47. DB::Exception: Missing columns: 'subtractTupleOfIntervals' while processing query: 'SELECT subtractTupleOfIntervals', required columns: 'subtractTupleOfIntervals'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.128464 [ 5687 ] {2d86ec31-df2c-4cc7-b691-e1df24a17a22} executeQuery: Code: 47. DB::Exception: Missing columns: 'subtractWeeks' while processing query: 'SELECT subtractWeeks', required columns: 'subtractWeeks'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT subtractWeeks;) 2026.10.27 19:26:46.130822 [ 5687 ] {2d86ec31-df2c-4cc7-b691-e1df24a17a22} TCPHandler: Code: 47. DB::Exception: Missing columns: 'subtractWeeks' while processing query: 'SELECT subtractWeeks', required columns: 'subtractWeeks'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.152713 [ 5687 ] {32ea5828-8c35-488d-89a7-d6654b071d56} executeQuery: Code: 47. DB::Exception: Missing columns: 'subtractYears' while processing query: 'SELECT subtractYears', required columns: 'subtractYears'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT subtractYears;) 2026.10.27 19:26:46.155390 [ 5687 ] {32ea5828-8c35-488d-89a7-d6654b071d56} TCPHandler: Code: 47. DB::Exception: Missing columns: 'subtractYears' while processing query: 'SELECT subtractYears', required columns: 'subtractYears'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.170938 [ 5687 ] {3cdec9ae-7327-45a4-a938-f21cbc155f7e} executeQuery: Code: 47. DB::Exception: Missing columns: 'sum' while processing query: 'SELECT sum', required columns: 'sum'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sum;) 2026.10.27 19:26:46.173622 [ 5687 ] {3cdec9ae-7327-45a4-a938-f21cbc155f7e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sum' while processing query: 'SELECT sum', required columns: 'sum'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.187219 [ 5687 ] {d6a888eb-50d5-4ea6-8da8-07201bec2f55} executeQuery: Code: 47. DB::Exception: Missing columns: 'sumCount' while processing query: 'SELECT sumCount', required columns: 'sumCount'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sumCount;) 2026.10.27 19:26:46.188846 [ 5687 ] {d6a888eb-50d5-4ea6-8da8-07201bec2f55} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sumCount' while processing query: 'SELECT sumCount', required columns: 'sumCount'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.200674 [ 5687 ] {5cba9448-9e9d-4b9c-87a3-5d7b776c2190} executeQuery: Code: 47. DB::Exception: Missing columns: 'sumKahan' while processing query: 'SELECT sumKahan', required columns: 'sumKahan'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sumKahan;) 2026.10.27 19:26:46.202140 [ 5687 ] {5cba9448-9e9d-4b9c-87a3-5d7b776c2190} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sumKahan' while processing query: 'SELECT sumKahan', required columns: 'sumKahan'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.211774 [ 5687 ] {2b790f3c-5a5a-4343-a567-c0134d4762e5} executeQuery: Code: 47. DB::Exception: Missing columns: 'sumMapFiltered' while processing query: 'SELECT sumMapFiltered', required columns: 'sumMapFiltered'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sumMapFiltered;) 2026.10.27 19:26:46.213422 [ 5687 ] {2b790f3c-5a5a-4343-a567-c0134d4762e5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sumMapFiltered' while processing query: 'SELECT sumMapFiltered', required columns: 'sumMapFiltered'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.219555 [ 4278 ] {86389761-6ea9-4b4b-87db-75f33825448a} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n3 which is referenced by materialized view ['01851_merge_tree_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42868) (comment: 01851_clear_column_referenced_by_mv.sql) (in query: ALTER TABLE `01851_merge_tree` DROP COLUMN n3;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3324: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cec2628 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0433 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:46.219624 [ 6792 ] {0def1c3c-126b-41a9-bf03-c3d5eb3a44e6} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 1245312 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 68 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:46.219715 [ 2235 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 1620311 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (while reading column UserID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_3_3_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 7411): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:45: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770de9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 19. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c526 in /usr/bin/clickhouse 20. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:46.225945 [ 5687 ] {10f45fa2-9be4-4aea-b720-81b0f19a7cb3} executeQuery: Code: 47. DB::Exception: Missing columns: 'sumMapFilteredWithOverflow' while processing query: 'SELECT sumMapFilteredWithOverflow', required columns: 'sumMapFilteredWithOverflow'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sumMapFilteredWithOverflow;) 2026.10.27 19:26:46.227683 [ 5687 ] {10f45fa2-9be4-4aea-b720-81b0f19a7cb3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sumMapFilteredWithOverflow' while processing query: 'SELECT sumMapFilteredWithOverflow', required columns: 'sumMapFilteredWithOverflow'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.239800 [ 5687 ] {d44fb16c-7b0d-480d-874d-54caa764ba62} executeQuery: Code: 47. DB::Exception: Missing columns: 'sumMapWithOverflow' while processing query: 'SELECT sumMapWithOverflow', required columns: 'sumMapWithOverflow'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sumMapWithOverflow;) 2026.10.27 19:26:46.241821 [ 5687 ] {d44fb16c-7b0d-480d-874d-54caa764ba62} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sumMapWithOverflow' while processing query: 'SELECT sumMapWithOverflow', required columns: 'sumMapWithOverflow'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.253854 [ 5687 ] {23529f91-29a1-46ee-9de7-52c3cdd85093} executeQuery: Code: 47. DB::Exception: Missing columns: 'sumMappedArrays' while processing query: 'SELECT sumMappedArrays', required columns: 'sumMappedArrays'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sumMappedArrays;) 2026.10.27 19:26:46.255688 [ 5687 ] {23529f91-29a1-46ee-9de7-52c3cdd85093} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sumMappedArrays' while processing query: 'SELECT sumMappedArrays', required columns: 'sumMappedArrays'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.266975 [ 5687 ] {9e96fb26-bc75-4c68-81fe-5a5c8bb36883} executeQuery: Code: 47. DB::Exception: Missing columns: 'sumWithOverflow' while processing query: 'SELECT sumWithOverflow', required columns: 'sumWithOverflow'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT sumWithOverflow;) 2026.10.27 19:26:46.268647 [ 5687 ] {9e96fb26-bc75-4c68-81fe-5a5c8bb36883} TCPHandler: Code: 47. DB::Exception: Missing columns: 'sumWithOverflow' while processing query: 'SELECT sumWithOverflow', required columns: 'sumWithOverflow'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.279716 [ 5687 ] {c58defbe-0fed-4b7b-8250-fac9349ed207} executeQuery: Code: 47. DB::Exception: Missing columns: 'svg' while processing query: 'SELECT svg', required columns: 'svg'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT svg;) 2026.10.27 19:26:46.281599 [ 5687 ] {c58defbe-0fed-4b7b-8250-fac9349ed207} TCPHandler: Code: 47. DB::Exception: Missing columns: 'svg' while processing query: 'SELECT svg', required columns: 'svg'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.292349 [ 5687 ] {cdaad947-b3a6-4c88-b6ee-3a18a012f568} executeQuery: Code: 47. DB::Exception: Missing columns: 'synonyms' while processing query: 'SELECT synonyms', required columns: 'synonyms'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT synonyms;) 2026.10.27 19:26:46.293958 [ 5687 ] {cdaad947-b3a6-4c88-b6ee-3a18a012f568} TCPHandler: Code: 47. DB::Exception: Missing columns: 'synonyms' while processing query: 'SELECT synonyms', required columns: 'synonyms'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.303949 [ 5687 ] {bc655d40-f493-4027-ad1b-e3ce0f0bbd60} executeQuery: Code: 47. DB::Exception: Missing columns: 'tan' while processing query: 'SELECT tan', required columns: 'tan'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tan;) 2026.10.27 19:26:46.305491 [ 5687 ] {bc655d40-f493-4027-ad1b-e3ce0f0bbd60} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tan' while processing query: 'SELECT tan', required columns: 'tan'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.315242 [ 5687 ] {b643c0c2-ada0-47bc-a210-28859b39ca60} executeQuery: Code: 47. DB::Exception: Missing columns: 'tanh' while processing query: 'SELECT tanh', required columns: 'tanh'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tanh;) 2026.10.27 19:26:46.316683 [ 5687 ] {b643c0c2-ada0-47bc-a210-28859b39ca60} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tanh' while processing query: 'SELECT tanh', required columns: 'tanh'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.320893 [ 2241 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_56_10}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 1052221 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long const*, unsigned long const*) @ 0x000000002089f6cc in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: COWHelper>::clone() const @ 0x000000003b4083a6 in /usr/bin/clickhouse 11. DB::IColumn::mutate(COW::immutable_ptr) @ 0x000000000a9ad52a in /usr/bin/clickhouse 12. ./build_docker/./src/Core/Block.cpp:0: DB::Block::mutateColumns() @ 0x000000003627dffd in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:169: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d1043eb in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::write(DB::Block const&) @ 0x000000003d648a09 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbbb02 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:46.328733 [ 5687 ] {3c91d30d-6ed1-4e4d-a18c-c795025c653c} executeQuery: Code: 47. DB::Exception: Missing columns: 'tcpPort' while processing query: 'SELECT tcpPort', required columns: 'tcpPort'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tcpPort;) 2026.10.27 19:26:46.331101 [ 5687 ] {3c91d30d-6ed1-4e4d-a18c-c795025c653c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tcpPort' while processing query: 'SELECT tcpPort', required columns: 'tcpPort'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.343034 [ 5687 ] {c29f21f4-db32-407b-9278-ef9dca30d6e1} executeQuery: Code: 47. DB::Exception: Missing columns: 'test_function' while processing query: 'SELECT test_function', required columns: 'test_function'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT test_function;) 2026.10.27 19:26:46.345401 [ 5687 ] {c29f21f4-db32-407b-9278-ef9dca30d6e1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'test_function' while processing query: 'SELECT test_function', required columns: 'test_function'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.357824 [ 5687 ] {40d86f04-7ed1-4420-8874-9c8cda232ceb} executeQuery: Code: 47. DB::Exception: Missing columns: 'tgamma' while processing query: 'SELECT tgamma', required columns: 'tgamma'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tgamma;) 2026.10.27 19:26:46.359507 [ 5687 ] {40d86f04-7ed1-4420-8874-9c8cda232ceb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tgamma' while processing query: 'SELECT tgamma', required columns: 'tgamma'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.372821 [ 5687 ] {63351341-42e0-4c3e-812e-c785b2b520c6} executeQuery: Code: 47. DB::Exception: Missing columns: 'theilsU' while processing query: 'SELECT theilsU', required columns: 'theilsU'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT theilsU;) 2026.10.27 19:26:46.374462 [ 5687 ] {63351341-42e0-4c3e-812e-c785b2b520c6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'theilsU' while processing query: 'SELECT theilsU', required columns: 'theilsU'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.386790 [ 5687 ] {6d438bf7-bdd7-4270-ac22-d58e49463704} executeQuery: Code: 47. DB::Exception: Missing columns: 'throwIf' while processing query: 'SELECT throwIf', required columns: 'throwIf'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT throwIf;) 2026.10.27 19:26:46.389640 [ 5687 ] {6d438bf7-bdd7-4270-ac22-d58e49463704} TCPHandler: Code: 47. DB::Exception: Missing columns: 'throwIf' while processing query: 'SELECT throwIf', required columns: 'throwIf'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.411759 [ 5687 ] {5833c971-e5fd-4196-83f4-6e72bbf990e8} executeQuery: Code: 47. DB::Exception: Missing columns: 'tid' while processing query: 'SELECT tid', required columns: 'tid'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tid;) 2026.10.27 19:26:46.413532 [ 5687 ] {5833c971-e5fd-4196-83f4-6e72bbf990e8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tid' while processing query: 'SELECT tid', required columns: 'tid'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.525432 [ 5687 ] {aa7fda86-7d4b-4703-9128-b27a11981bfe} executeQuery: Code: 47. DB::Exception: Missing columns: 'timeSlot' while processing query: 'SELECT timeSlot', required columns: 'timeSlot'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT timeSlot;) 2026.10.27 19:26:46.527388 [ 5687 ] {aa7fda86-7d4b-4703-9128-b27a11981bfe} TCPHandler: Code: 47. DB::Exception: Missing columns: 'timeSlot' while processing query: 'SELECT timeSlot', required columns: 'timeSlot'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.640467 [ 5687 ] {bb3f6184-54e2-428b-9cbe-23ca8b995303} executeQuery: Code: 47. DB::Exception: Missing columns: 'timeSlots' while processing query: 'SELECT timeSlots', required columns: 'timeSlots'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT timeSlots;) 2026.10.27 19:26:46.646792 [ 5687 ] {bb3f6184-54e2-428b-9cbe-23ca8b995303} TCPHandler: Code: 47. DB::Exception: Missing columns: 'timeSlots' while processing query: 'SELECT timeSlots', required columns: 'timeSlots'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.669553 [ 5687 ] {841449ea-dc0b-43d5-b943-7fd411d27fcb} executeQuery: Code: 47. DB::Exception: Missing columns: 'timeZone' while processing query: 'SELECT timeZone', required columns: 'timeZone'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT timeZone;) 2026.10.27 19:26:46.672615 [ 5687 ] {841449ea-dc0b-43d5-b943-7fd411d27fcb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'timeZone' while processing query: 'SELECT timeZone', required columns: 'timeZone'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.687971 [ 5687 ] {0e943c8e-56c2-4553-acfe-99087790734a} executeQuery: Code: 47. DB::Exception: Missing columns: 'timeZoneOf' while processing query: 'SELECT timeZoneOf', required columns: 'timeZoneOf'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT timeZoneOf;) 2026.10.27 19:26:46.691999 [ 5687 ] {0e943c8e-56c2-4553-acfe-99087790734a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'timeZoneOf' while processing query: 'SELECT timeZoneOf', required columns: 'timeZoneOf'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.703155 [ 5687 ] {d1f7aadf-283c-4bbf-967b-13a498b8de4c} executeQuery: Code: 47. DB::Exception: Missing columns: 'timeZoneOffset' while processing query: 'SELECT timeZoneOffset', required columns: 'timeZoneOffset'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT timeZoneOffset;) 2026.10.27 19:26:46.706230 [ 5687 ] {d1f7aadf-283c-4bbf-967b-13a498b8de4c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'timeZoneOffset' while processing query: 'SELECT timeZoneOffset', required columns: 'timeZoneOffset'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.719566 [ 5687 ] {17e54e9b-660a-456d-80b5-33f88dbdfcfb} executeQuery: Code: 47. DB::Exception: Missing columns: 'timestampDiff' while processing query: 'SELECT timestampDiff', required columns: 'timestampDiff'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT timestampDiff;) 2026.10.27 19:26:46.721507 [ 5687 ] {17e54e9b-660a-456d-80b5-33f88dbdfcfb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'timestampDiff' while processing query: 'SELECT timestampDiff', required columns: 'timestampDiff'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.732966 [ 5687 ] {2af20c7b-fe81-4dd5-bf95-be8d1227cfde} executeQuery: Code: 47. DB::Exception: Missing columns: 'timestamp_diff' while processing query: 'SELECT timestamp_diff', required columns: 'timestamp_diff'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT timestamp_diff;) 2026.10.27 19:26:46.734542 [ 5687 ] {2af20c7b-fe81-4dd5-bf95-be8d1227cfde} TCPHandler: Code: 47. DB::Exception: Missing columns: 'timestamp_diff' while processing query: 'SELECT timestamp_diff', required columns: 'timestamp_diff'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.846624 [ 5687 ] {834a4647-c3e3-440c-ab36-7af2897b13fc} executeQuery: Code: 47. DB::Exception: Missing columns: 'timezone' while processing query: 'SELECT timezone', required columns: 'timezone'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT timezone;) 2026.10.27 19:26:46.850014 [ 5687 ] {834a4647-c3e3-440c-ab36-7af2897b13fc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'timezone' while processing query: 'SELECT timezone', required columns: 'timezone'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.873582 [ 5687 ] {2762da5c-a81e-4fb9-b357-93a0b9ad6760} executeQuery: Code: 47. DB::Exception: Missing columns: 'timezoneOf' while processing query: 'SELECT timezoneOf', required columns: 'timezoneOf'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT timezoneOf;) 2026.10.27 19:26:46.876580 [ 5687 ] {2762da5c-a81e-4fb9-b357-93a0b9ad6760} TCPHandler: Code: 47. DB::Exception: Missing columns: 'timezoneOf' while processing query: 'SELECT timezoneOf', required columns: 'timezoneOf'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:46.999798 [ 5687 ] {9524f883-3641-4b5f-9cc4-4b07723fd7d1} executeQuery: Code: 47. DB::Exception: Missing columns: 'timezoneOffset' while processing query: 'SELECT timezoneOffset', required columns: 'timezoneOffset'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT timezoneOffset;) 2026.10.27 19:26:47.002761 [ 5687 ] {9524f883-3641-4b5f-9cc4-4b07723fd7d1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'timezoneOffset' while processing query: 'SELECT timezoneOffset', required columns: 'timezoneOffset'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.129123 [ 5687 ] {ef6f1411-f154-47d1-8e7a-ec31e2b263fe} executeQuery: Code: 47. DB::Exception: Missing columns: 'toBool' while processing query: 'SELECT toBool', required columns: 'toBool'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toBool;) 2026.10.27 19:26:47.132553 [ 5687 ] {ef6f1411-f154-47d1-8e7a-ec31e2b263fe} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toBool' while processing query: 'SELECT toBool', required columns: 'toBool'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.257232 [ 5687 ] {bd9e668f-7716-4c96-8b00-405ecfa78966} executeQuery: Code: 47. DB::Exception: Missing columns: 'toColumnTypeName' while processing query: 'SELECT toColumnTypeName', required columns: 'toColumnTypeName'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toColumnTypeName;) 2026.10.27 19:26:47.260582 [ 5687 ] {bd9e668f-7716-4c96-8b00-405ecfa78966} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toColumnTypeName' while processing query: 'SELECT toColumnTypeName', required columns: 'toColumnTypeName'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.282264 [ 5687 ] {14ed4f7d-ece6-4001-91d9-5537dd0de9b5} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDate' while processing query: 'SELECT toDate', required columns: 'toDate'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDate;) 2026.10.27 19:26:47.285014 [ 5687 ] {14ed4f7d-ece6-4001-91d9-5537dd0de9b5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDate' while processing query: 'SELECT toDate', required columns: 'toDate'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.307301 [ 5687 ] {de130e66-a190-4f3d-80a6-111b102ba696} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDate32' while processing query: 'SELECT toDate32', required columns: 'toDate32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDate32;) 2026.10.27 19:26:47.310640 [ 5687 ] {de130e66-a190-4f3d-80a6-111b102ba696} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDate32' while processing query: 'SELECT toDate32', required columns: 'toDate32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.328323 [ 5687 ] {aacde743-1f72-43d8-959d-bb547bfb0502} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDate32OrDefault' while processing query: 'SELECT toDate32OrDefault', required columns: 'toDate32OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDate32OrDefault;) 2026.10.27 19:26:47.330350 [ 5687 ] {aacde743-1f72-43d8-959d-bb547bfb0502} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDate32OrDefault' while processing query: 'SELECT toDate32OrDefault', required columns: 'toDate32OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.348509 [ 5687 ] {0d5b8867-50be-4fac-8b9f-fab223f45050} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDate32OrNull' while processing query: 'SELECT toDate32OrNull', required columns: 'toDate32OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDate32OrNull;) 2026.10.27 19:26:47.350344 [ 5687 ] {0d5b8867-50be-4fac-8b9f-fab223f45050} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDate32OrNull' while processing query: 'SELECT toDate32OrNull', required columns: 'toDate32OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.370014 [ 5687 ] {5cb63048-9ff8-461a-a55f-97ca430e3404} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDate32OrZero' while processing query: 'SELECT toDate32OrZero', required columns: 'toDate32OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDate32OrZero;) 2026.10.27 19:26:47.371785 [ 5687 ] {5cb63048-9ff8-461a-a55f-97ca430e3404} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDate32OrZero' while processing query: 'SELECT toDate32OrZero', required columns: 'toDate32OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.389125 [ 5687 ] {7046b7a0-c943-4a29-b145-04cf79323f40} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDateOrDefault' while processing query: 'SELECT toDateOrDefault', required columns: 'toDateOrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDateOrDefault;) 2026.10.27 19:26:47.391036 [ 5687 ] {7046b7a0-c943-4a29-b145-04cf79323f40} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDateOrDefault' while processing query: 'SELECT toDateOrDefault', required columns: 'toDateOrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.406888 [ 5687 ] {f8d85620-dc25-4fed-9b1a-6ec7587632fa} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDateOrNull' while processing query: 'SELECT toDateOrNull', required columns: 'toDateOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDateOrNull;) 2026.10.27 19:26:47.408637 [ 5687 ] {f8d85620-dc25-4fed-9b1a-6ec7587632fa} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDateOrNull' while processing query: 'SELECT toDateOrNull', required columns: 'toDateOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.429901 [ 5687 ] {c98e57a8-22e4-4c5b-87f1-841bd16c715e} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDateOrZero' while processing query: 'SELECT toDateOrZero', required columns: 'toDateOrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDateOrZero;) 2026.10.27 19:26:47.432687 [ 5687 ] {c98e57a8-22e4-4c5b-87f1-841bd16c715e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDateOrZero' while processing query: 'SELECT toDateOrZero', required columns: 'toDateOrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.553755 [ 5687 ] {615d3365-8248-4fae-a4d5-b5b62405bd3f} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDateTime' while processing query: 'SELECT toDateTime', required columns: 'toDateTime'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDateTime;) 2026.10.27 19:26:47.557073 [ 5687 ] {615d3365-8248-4fae-a4d5-b5b62405bd3f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDateTime' while processing query: 'SELECT toDateTime', required columns: 'toDateTime'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.580146 [ 5687 ] {6432bf6d-628b-4962-80bf-b9b9aa4e6663} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDateTime32' while processing query: 'SELECT toDateTime32', required columns: 'toDateTime32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDateTime32;) 2026.10.27 19:26:47.582839 [ 5687 ] {6432bf6d-628b-4962-80bf-b9b9aa4e6663} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDateTime32' while processing query: 'SELECT toDateTime32', required columns: 'toDateTime32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.602624 [ 5687 ] {3f43dbbe-c7c5-4f04-9217-e18bacef5c47} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDateTime64' while processing query: 'SELECT toDateTime64', required columns: 'toDateTime64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDateTime64;) 2026.10.27 19:26:47.605112 [ 5687 ] {3f43dbbe-c7c5-4f04-9217-e18bacef5c47} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDateTime64' while processing query: 'SELECT toDateTime64', required columns: 'toDateTime64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.625506 [ 5687 ] {a6ea2b54-12db-4d0c-877a-e72d4f357216} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDateTime64OrDefault' while processing query: 'SELECT toDateTime64OrDefault', required columns: 'toDateTime64OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDateTime64OrDefault;) 2026.10.27 19:26:47.628156 [ 5687 ] {a6ea2b54-12db-4d0c-877a-e72d4f357216} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDateTime64OrDefault' while processing query: 'SELECT toDateTime64OrDefault', required columns: 'toDateTime64OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.648978 [ 5687 ] {80f8e9f9-e8ec-49e3-ab68-e50431462046} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDateTime64OrNull' while processing query: 'SELECT toDateTime64OrNull', required columns: 'toDateTime64OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDateTime64OrNull;) 2026.10.27 19:26:47.651298 [ 5687 ] {80f8e9f9-e8ec-49e3-ab68-e50431462046} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDateTime64OrNull' while processing query: 'SELECT toDateTime64OrNull', required columns: 'toDateTime64OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.670888 [ 5687 ] {1e86e36e-0020-4b54-89f3-7ccd3db0c191} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDateTime64OrZero' while processing query: 'SELECT toDateTime64OrZero', required columns: 'toDateTime64OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDateTime64OrZero;) 2026.10.27 19:26:47.673284 [ 5687 ] {1e86e36e-0020-4b54-89f3-7ccd3db0c191} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDateTime64OrZero' while processing query: 'SELECT toDateTime64OrZero', required columns: 'toDateTime64OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.692319 [ 5687 ] {ddb06a37-f715-43fc-82ce-551b329dba1d} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDateTimeOrDefault' while processing query: 'SELECT toDateTimeOrDefault', required columns: 'toDateTimeOrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDateTimeOrDefault;) 2026.10.27 19:26:47.694952 [ 5687 ] {ddb06a37-f715-43fc-82ce-551b329dba1d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDateTimeOrDefault' while processing query: 'SELECT toDateTimeOrDefault', required columns: 'toDateTimeOrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.717136 [ 5687 ] {31297b54-f63d-4abb-831d-ea790d01fa64} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDateTimeOrNull' while processing query: 'SELECT toDateTimeOrNull', required columns: 'toDateTimeOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDateTimeOrNull;) 2026.10.27 19:26:47.719227 [ 5687 ] {31297b54-f63d-4abb-831d-ea790d01fa64} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDateTimeOrNull' while processing query: 'SELECT toDateTimeOrNull', required columns: 'toDateTimeOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.737585 [ 5687 ] {2e693650-82d2-43ce-b26a-067f259c33c3} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDateTimeOrZero' while processing query: 'SELECT toDateTimeOrZero', required columns: 'toDateTimeOrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDateTimeOrZero;) 2026.10.27 19:26:47.739852 [ 5687 ] {2e693650-82d2-43ce-b26a-067f259c33c3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDateTimeOrZero' while processing query: 'SELECT toDateTimeOrZero', required columns: 'toDateTimeOrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.862884 [ 5687 ] {a9b2b59b-3ad4-41ec-af0b-8d27315ecab6} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDayOfMonth' while processing query: 'SELECT toDayOfMonth', required columns: 'toDayOfMonth'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDayOfMonth;) 2026.10.27 19:26:47.865807 [ 5687 ] {a9b2b59b-3ad4-41ec-af0b-8d27315ecab6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDayOfMonth' while processing query: 'SELECT toDayOfMonth', required columns: 'toDayOfMonth'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.887174 [ 5687 ] {e682cf6d-a217-45cf-b145-8aeeecfae82d} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDayOfWeek' while processing query: 'SELECT toDayOfWeek', required columns: 'toDayOfWeek'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDayOfWeek;) 2026.10.27 19:26:47.890116 [ 5687 ] {e682cf6d-a217-45cf-b145-8aeeecfae82d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDayOfWeek' while processing query: 'SELECT toDayOfWeek', required columns: 'toDayOfWeek'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.914021 [ 5687 ] {9b5fc085-4868-40e3-a3e5-d48163add1f0} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDayOfYear' while processing query: 'SELECT toDayOfYear', required columns: 'toDayOfYear'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDayOfYear;) 2026.10.27 19:26:47.917482 [ 5687 ] {9b5fc085-4868-40e3-a3e5-d48163add1f0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDayOfYear' while processing query: 'SELECT toDayOfYear', required columns: 'toDayOfYear'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.934272 [ 5687 ] {7dc66419-2481-46ce-b27d-a89c724f2270} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDecimal128' while processing query: 'SELECT toDecimal128', required columns: 'toDecimal128'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDecimal128;) 2026.10.27 19:26:47.936819 [ 5687 ] {7dc66419-2481-46ce-b27d-a89c724f2270} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDecimal128' while processing query: 'SELECT toDecimal128', required columns: 'toDecimal128'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.953049 [ 5687 ] {331fc40a-acc3-4900-b72c-b542d3a8bb16} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDecimal128OrDefault' while processing query: 'SELECT toDecimal128OrDefault', required columns: 'toDecimal128OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDecimal128OrDefault;) 2026.10.27 19:26:47.955952 [ 5687 ] {331fc40a-acc3-4900-b72c-b542d3a8bb16} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDecimal128OrDefault' while processing query: 'SELECT toDecimal128OrDefault', required columns: 'toDecimal128OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.967554 [ 5687 ] {5c128225-c913-48a1-92b8-1dcd3d2f8bbd} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDecimal128OrNull' while processing query: 'SELECT toDecimal128OrNull', required columns: 'toDecimal128OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDecimal128OrNull;) 2026.10.27 19:26:47.968946 [ 5687 ] {5c128225-c913-48a1-92b8-1dcd3d2f8bbd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDecimal128OrNull' while processing query: 'SELECT toDecimal128OrNull', required columns: 'toDecimal128OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.977546 [ 5687 ] {30004ce3-1773-4050-8af3-2d681c28f13a} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDecimal128OrZero' while processing query: 'SELECT toDecimal128OrZero', required columns: 'toDecimal128OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDecimal128OrZero;) 2026.10.27 19:26:47.978627 [ 5687 ] {30004ce3-1773-4050-8af3-2d681c28f13a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDecimal128OrZero' while processing query: 'SELECT toDecimal128OrZero', required columns: 'toDecimal128OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:47.987211 [ 5687 ] {d3572e6a-548a-425e-86fc-42303664456e} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDecimal256' while processing query: 'SELECT toDecimal256', required columns: 'toDecimal256'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDecimal256;) 2026.10.27 19:26:47.988350 [ 5687 ] {d3572e6a-548a-425e-86fc-42303664456e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDecimal256' while processing query: 'SELECT toDecimal256', required columns: 'toDecimal256'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:48.103553 [ 5687 ] {9a4fc227-9918-461a-b606-773194af611d} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDecimal256OrDefault' while processing query: 'SELECT toDecimal256OrDefault', required columns: 'toDecimal256OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDecimal256OrDefault;) 2026.10.27 19:26:48.106055 [ 5687 ] {9a4fc227-9918-461a-b606-773194af611d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDecimal256OrDefault' while processing query: 'SELECT toDecimal256OrDefault', required columns: 'toDecimal256OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:48.226204 [ 5687 ] {5c79edf8-a338-42fc-b961-df090e6f5e93} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDecimal256OrNull' while processing query: 'SELECT toDecimal256OrNull', required columns: 'toDecimal256OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDecimal256OrNull;) 2026.10.27 19:26:48.229011 [ 5687 ] {5c79edf8-a338-42fc-b961-df090e6f5e93} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDecimal256OrNull' while processing query: 'SELECT toDecimal256OrNull', required columns: 'toDecimal256OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:48.248011 [ 5687 ] {cb5c4ff4-7eac-409c-bace-ed5e23bc92ba} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDecimal256OrZero' while processing query: 'SELECT toDecimal256OrZero', required columns: 'toDecimal256OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDecimal256OrZero;) 2026.10.27 19:26:48.249743 [ 5687 ] {cb5c4ff4-7eac-409c-bace-ed5e23bc92ba} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDecimal256OrZero' while processing query: 'SELECT toDecimal256OrZero', required columns: 'toDecimal256OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:48.470813 [ 5687 ] {837e3e48-f6cf-4e87-9cf6-90899add24fa} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDecimal32' while processing query: 'SELECT toDecimal32', required columns: 'toDecimal32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDecimal32;) 2026.10.27 19:26:48.474156 [ 5687 ] {837e3e48-f6cf-4e87-9cf6-90899add24fa} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDecimal32' while processing query: 'SELECT toDecimal32', required columns: 'toDecimal32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:48.597671 [ 5687 ] {abcae2b3-fc9a-4a82-a861-e0987fa0ddff} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDecimal32OrDefault' while processing query: 'SELECT toDecimal32OrDefault', required columns: 'toDecimal32OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDecimal32OrDefault;) 2026.10.27 19:26:48.600647 [ 5687 ] {abcae2b3-fc9a-4a82-a861-e0987fa0ddff} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDecimal32OrDefault' while processing query: 'SELECT toDecimal32OrDefault', required columns: 'toDecimal32OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:48.620852 [ 5687 ] {bd4b7304-aa0d-43ef-ae2c-b8123a2152a1} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDecimal32OrNull' while processing query: 'SELECT toDecimal32OrNull', required columns: 'toDecimal32OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDecimal32OrNull;) 2026.10.27 19:26:48.623325 [ 5687 ] {bd4b7304-aa0d-43ef-ae2c-b8123a2152a1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDecimal32OrNull' while processing query: 'SELECT toDecimal32OrNull', required columns: 'toDecimal32OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:48.643820 [ 5687 ] {9f26d6f9-ffe4-41d9-92f2-2858fa5bfbdb} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDecimal32OrZero' while processing query: 'SELECT toDecimal32OrZero', required columns: 'toDecimal32OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDecimal32OrZero;) 2026.10.27 19:26:48.646384 [ 5687 ] {9f26d6f9-ffe4-41d9-92f2-2858fa5bfbdb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDecimal32OrZero' while processing query: 'SELECT toDecimal32OrZero', required columns: 'toDecimal32OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:48.654299 [ 1848 ] {939824e6-a170-4436-8538-aa081be1f887} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43440) (comment: 01720_country_intersection.sh) (in query: SELECT c, d, polygonsIntersectionSpherical(a, b) FROM (SELECT first.p AS a, second.p AS b, first.name AS c, second.name AS d FROM country_polygons AS first CROSS JOIN country_polygons AS second LIMIT 100) format TSV), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x0000000037cf406d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x0000000037caaf24 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x0000000037ca0c4c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037cca9cf in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 8. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d70240 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9d19f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e5176d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: 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) @ 0x0000000039b08c41 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 19. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:48.664302 [ 5687 ] {d58ad41b-3b18-4227-a022-96fe8a08c436} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDecimal64' while processing query: 'SELECT toDecimal64', required columns: 'toDecimal64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDecimal64;) 2026.10.27 19:26:48.666604 [ 5687 ] {d58ad41b-3b18-4227-a022-96fe8a08c436} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDecimal64' while processing query: 'SELECT toDecimal64', required columns: 'toDecimal64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:48.794121 [ 5687 ] {16206c1b-f9b9-4f63-a090-ab0590930fc6} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDecimal64OrDefault' while processing query: 'SELECT toDecimal64OrDefault', required columns: 'toDecimal64OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDecimal64OrDefault;) 2026.10.27 19:26:48.802264 [ 5687 ] {16206c1b-f9b9-4f63-a090-ab0590930fc6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDecimal64OrDefault' while processing query: 'SELECT toDecimal64OrDefault', required columns: 'toDecimal64OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:48.824522 [ 5687 ] {4b9ad671-f707-455a-bab4-8be9519c8848} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDecimal64OrNull' while processing query: 'SELECT toDecimal64OrNull', required columns: 'toDecimal64OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDecimal64OrNull;) 2026.10.27 19:26:48.828366 [ 5687 ] {4b9ad671-f707-455a-bab4-8be9519c8848} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDecimal64OrNull' while processing query: 'SELECT toDecimal64OrNull', required columns: 'toDecimal64OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:48.947708 [ 5687 ] {a0a9e54b-6b58-4017-8a3f-1692334daeed} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDecimal64OrZero' while processing query: 'SELECT toDecimal64OrZero', required columns: 'toDecimal64OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDecimal64OrZero;) 2026.10.27 19:26:48.949593 [ 5687 ] {a0a9e54b-6b58-4017-8a3f-1692334daeed} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDecimal64OrZero' while processing query: 'SELECT toDecimal64OrZero', required columns: 'toDecimal64OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.067942 [ 5687 ] {67446fff-b710-43f6-8642-db7c3f9620ec} executeQuery: Code: 47. DB::Exception: Missing columns: 'toDecimalString' while processing query: 'SELECT toDecimalString', required columns: 'toDecimalString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toDecimalString;) 2026.10.27 19:26:49.070912 [ 5687 ] {67446fff-b710-43f6-8642-db7c3f9620ec} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toDecimalString' while processing query: 'SELECT toDecimalString', required columns: 'toDecimalString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.087239 [ 5687 ] {5a6c65fb-a3ea-43f0-b9eb-a3f6190ed153} executeQuery: Code: 47. DB::Exception: Missing columns: 'toFixedString' while processing query: 'SELECT toFixedString', required columns: 'toFixedString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toFixedString;) 2026.10.27 19:26:49.089874 [ 5687 ] {5a6c65fb-a3ea-43f0-b9eb-a3f6190ed153} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toFixedString' while processing query: 'SELECT toFixedString', required columns: 'toFixedString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.103392 [ 5687 ] {cf1843c2-d58f-48ec-9544-787003daf2fc} executeQuery: Code: 47. DB::Exception: Missing columns: 'toFloat32' while processing query: 'SELECT toFloat32', required columns: 'toFloat32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toFloat32;) 2026.10.27 19:26:49.105164 [ 5687 ] {cf1843c2-d58f-48ec-9544-787003daf2fc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toFloat32' while processing query: 'SELECT toFloat32', required columns: 'toFloat32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.121964 [ 5687 ] {5b7124ec-7542-4b8a-974e-2f5f89bc0d06} executeQuery: Code: 47. DB::Exception: Missing columns: 'toFloat32OrDefault' while processing query: 'SELECT toFloat32OrDefault', required columns: 'toFloat32OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toFloat32OrDefault;) 2026.10.27 19:26:49.123900 [ 5687 ] {5b7124ec-7542-4b8a-974e-2f5f89bc0d06} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toFloat32OrDefault' while processing query: 'SELECT toFloat32OrDefault', required columns: 'toFloat32OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.138078 [ 5687 ] {08714fa6-5dcb-4879-a73d-ca7d7e21794d} executeQuery: Code: 47. DB::Exception: Missing columns: 'toFloat32OrNull' while processing query: 'SELECT toFloat32OrNull', required columns: 'toFloat32OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toFloat32OrNull;) 2026.10.27 19:26:49.141228 [ 5687 ] {08714fa6-5dcb-4879-a73d-ca7d7e21794d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toFloat32OrNull' while processing query: 'SELECT toFloat32OrNull', required columns: 'toFloat32OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.164695 [ 5687 ] {5cdb62e1-126a-4a30-9b33-5de499783f93} executeQuery: Code: 47. DB::Exception: Missing columns: 'toFloat32OrZero' while processing query: 'SELECT toFloat32OrZero', required columns: 'toFloat32OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toFloat32OrZero;) 2026.10.27 19:26:49.167634 [ 5687 ] {5cdb62e1-126a-4a30-9b33-5de499783f93} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toFloat32OrZero' while processing query: 'SELECT toFloat32OrZero', required columns: 'toFloat32OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.187879 [ 5687 ] {cadd1ddd-ab30-418a-b7fa-f7406f0d5121} executeQuery: Code: 47. DB::Exception: Missing columns: 'toFloat64' while processing query: 'SELECT toFloat64', required columns: 'toFloat64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toFloat64;) 2026.10.27 19:26:49.190238 [ 5687 ] {cadd1ddd-ab30-418a-b7fa-f7406f0d5121} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toFloat64' while processing query: 'SELECT toFloat64', required columns: 'toFloat64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.203027 [ 5687 ] {cd91aed3-b15a-421e-9ca7-bce966648113} executeQuery: Code: 47. DB::Exception: Missing columns: 'toFloat64OrDefault' while processing query: 'SELECT toFloat64OrDefault', required columns: 'toFloat64OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toFloat64OrDefault;) 2026.10.27 19:26:49.204944 [ 5687 ] {cd91aed3-b15a-421e-9ca7-bce966648113} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toFloat64OrDefault' while processing query: 'SELECT toFloat64OrDefault', required columns: 'toFloat64OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.323484 [ 5687 ] {6ccc2ce8-4d03-49cc-94be-0fc4e38df010} executeQuery: Code: 47. DB::Exception: Missing columns: 'toFloat64OrNull' while processing query: 'SELECT toFloat64OrNull', required columns: 'toFloat64OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toFloat64OrNull;) 2026.10.27 19:26:49.326733 [ 5687 ] {6ccc2ce8-4d03-49cc-94be-0fc4e38df010} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toFloat64OrNull' while processing query: 'SELECT toFloat64OrNull', required columns: 'toFloat64OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.349957 [ 5687 ] {e116e543-72a6-413a-a490-29e46a1a99e4} executeQuery: Code: 47. DB::Exception: Missing columns: 'toFloat64OrZero' while processing query: 'SELECT toFloat64OrZero', required columns: 'toFloat64OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toFloat64OrZero;) 2026.10.27 19:26:49.352741 [ 5687 ] {e116e543-72a6-413a-a490-29e46a1a99e4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toFloat64OrZero' while processing query: 'SELECT toFloat64OrZero', required columns: 'toFloat64OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.372141 [ 5687 ] {f6212400-f6b7-4312-959b-b0da6b5640bf} executeQuery: Code: 47. DB::Exception: Missing columns: 'toHour' while processing query: 'SELECT toHour', required columns: 'toHour'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toHour;) 2026.10.27 19:26:49.374420 [ 5687 ] {f6212400-f6b7-4312-959b-b0da6b5640bf} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toHour' while processing query: 'SELECT toHour', required columns: 'toHour'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.391264 [ 5687 ] {2238c4cc-5f4b-41f9-8aca-85d2b27f4229} executeQuery: Code: 47. DB::Exception: Missing columns: 'toIPv4' while processing query: 'SELECT toIPv4', required columns: 'toIPv4'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toIPv4;) 2026.10.27 19:26:49.394550 [ 5687 ] {2238c4cc-5f4b-41f9-8aca-85d2b27f4229} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toIPv4' while processing query: 'SELECT toIPv4', required columns: 'toIPv4'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.415131 [ 5687 ] {27efd996-72db-4b10-becb-bdf20bb60ba9} executeQuery: Code: 47. DB::Exception: Missing columns: 'toIPv4OrDefault' while processing query: 'SELECT toIPv4OrDefault', required columns: 'toIPv4OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toIPv4OrDefault;) 2026.10.27 19:26:49.417691 [ 5687 ] {27efd996-72db-4b10-becb-bdf20bb60ba9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toIPv4OrDefault' while processing query: 'SELECT toIPv4OrDefault', required columns: 'toIPv4OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.433645 [ 5687 ] {62425e81-8067-4e63-be0e-318583c7a417} executeQuery: Code: 47. DB::Exception: Missing columns: 'toIPv4OrNull' while processing query: 'SELECT toIPv4OrNull', required columns: 'toIPv4OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toIPv4OrNull;) 2026.10.27 19:26:49.434959 [ 5687 ] {62425e81-8067-4e63-be0e-318583c7a417} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toIPv4OrNull' while processing query: 'SELECT toIPv4OrNull', required columns: 'toIPv4OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.449937 [ 5687 ] {ebc03d6b-6829-46ed-8fd4-7fabd8d1ce5f} executeQuery: Code: 47. DB::Exception: Missing columns: 'toIPv4OrZero' while processing query: 'SELECT toIPv4OrZero', required columns: 'toIPv4OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toIPv4OrZero;) 2026.10.27 19:26:49.451291 [ 5687 ] {ebc03d6b-6829-46ed-8fd4-7fabd8d1ce5f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toIPv4OrZero' while processing query: 'SELECT toIPv4OrZero', required columns: 'toIPv4OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.465204 [ 5687 ] {48769327-0422-4037-89e1-0a3bb66aaf4b} executeQuery: Code: 47. DB::Exception: Missing columns: 'toIPv6' while processing query: 'SELECT toIPv6', required columns: 'toIPv6'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toIPv6;) 2026.10.27 19:26:49.466456 [ 5687 ] {48769327-0422-4037-89e1-0a3bb66aaf4b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toIPv6' while processing query: 'SELECT toIPv6', required columns: 'toIPv6'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.481433 [ 5687 ] {55494bb6-126d-4b9f-9209-34c3f6720d30} executeQuery: Code: 47. DB::Exception: Missing columns: 'toIPv6OrDefault' while processing query: 'SELECT toIPv6OrDefault', required columns: 'toIPv6OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toIPv6OrDefault;) 2026.10.27 19:26:49.482700 [ 5687 ] {55494bb6-126d-4b9f-9209-34c3f6720d30} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toIPv6OrDefault' while processing query: 'SELECT toIPv6OrDefault', required columns: 'toIPv6OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.497111 [ 5687 ] {251ae049-be72-4935-9112-311c27b24b24} executeQuery: Code: 47. DB::Exception: Missing columns: 'toIPv6OrNull' while processing query: 'SELECT toIPv6OrNull', required columns: 'toIPv6OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toIPv6OrNull;) 2026.10.27 19:26:49.498170 [ 5687 ] {251ae049-be72-4935-9112-311c27b24b24} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toIPv6OrNull' while processing query: 'SELECT toIPv6OrNull', required columns: 'toIPv6OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.513185 [ 5687 ] {cb7ffd92-9351-4d37-86ce-4780f4c930f6} executeQuery: Code: 47. DB::Exception: Missing columns: 'toIPv6OrZero' while processing query: 'SELECT toIPv6OrZero', required columns: 'toIPv6OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toIPv6OrZero;) 2026.10.27 19:26:49.514238 [ 5687 ] {cb7ffd92-9351-4d37-86ce-4780f4c930f6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toIPv6OrZero' while processing query: 'SELECT toIPv6OrZero', required columns: 'toIPv6OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.637580 [ 5687 ] {4b3600ba-8561-4576-b2fe-b82386362215} executeQuery: Code: 47. DB::Exception: Missing columns: 'toISOWeek' while processing query: 'SELECT toISOWeek', required columns: 'toISOWeek'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toISOWeek;) 2026.10.27 19:26:49.640949 [ 5687 ] {4b3600ba-8561-4576-b2fe-b82386362215} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toISOWeek' while processing query: 'SELECT toISOWeek', required columns: 'toISOWeek'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.657511 [ 5687 ] {19e97e74-16a3-424f-899d-73d7e5b58406} executeQuery: Code: 47. DB::Exception: Missing columns: 'toISOYear' while processing query: 'SELECT toISOYear', required columns: 'toISOYear'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toISOYear;) 2026.10.27 19:26:49.660436 [ 5687 ] {19e97e74-16a3-424f-899d-73d7e5b58406} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toISOYear' while processing query: 'SELECT toISOYear', required columns: 'toISOYear'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.778016 [ 5687 ] {456bc91d-5481-4b75-b763-fadd753d74d8} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt128' while processing query: 'SELECT toInt128', required columns: 'toInt128'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt128;) 2026.10.27 19:26:49.781341 [ 5687 ] {456bc91d-5481-4b75-b763-fadd753d74d8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt128' while processing query: 'SELECT toInt128', required columns: 'toInt128'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.798509 [ 5687 ] {78e40724-e5bf-448d-8c0b-0c788869e0dd} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt128OrDefault' while processing query: 'SELECT toInt128OrDefault', required columns: 'toInt128OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt128OrDefault;) 2026.10.27 19:26:49.801421 [ 5687 ] {78e40724-e5bf-448d-8c0b-0c788869e0dd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt128OrDefault' while processing query: 'SELECT toInt128OrDefault', required columns: 'toInt128OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.817571 [ 5687 ] {4f6161bd-88a7-42a7-9b93-9e5269cd4e4c} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt128OrNull' while processing query: 'SELECT toInt128OrNull', required columns: 'toInt128OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt128OrNull;) 2026.10.27 19:26:49.820297 [ 5687 ] {4f6161bd-88a7-42a7-9b93-9e5269cd4e4c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt128OrNull' while processing query: 'SELECT toInt128OrNull', required columns: 'toInt128OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.834102 [ 5687 ] {9debe119-bf69-4d17-bb3b-68ca58c56652} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt128OrZero' while processing query: 'SELECT toInt128OrZero', required columns: 'toInt128OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt128OrZero;) 2026.10.27 19:26:49.836248 [ 5687 ] {9debe119-bf69-4d17-bb3b-68ca58c56652} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt128OrZero' while processing query: 'SELECT toInt128OrZero', required columns: 'toInt128OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.953991 [ 5687 ] {3502907e-2045-4876-961e-7d86ecc3f4d6} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt16' while processing query: 'SELECT toInt16', required columns: 'toInt16'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt16;) 2026.10.27 19:26:49.956856 [ 5687 ] {3502907e-2045-4876-961e-7d86ecc3f4d6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt16' while processing query: 'SELECT toInt16', required columns: 'toInt16'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:49.980085 [ 5687 ] {bd6b1b78-0943-46be-b23d-4180839c4598} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt16OrDefault' while processing query: 'SELECT toInt16OrDefault', required columns: 'toInt16OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt16OrDefault;) 2026.10.27 19:26:49.982934 [ 5687 ] {bd6b1b78-0943-46be-b23d-4180839c4598} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt16OrDefault' while processing query: 'SELECT toInt16OrDefault', required columns: 'toInt16OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:50.099631 [ 5687 ] {540f07c6-d606-4ab3-806d-515a82be1985} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt16OrNull' while processing query: 'SELECT toInt16OrNull', required columns: 'toInt16OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt16OrNull;) 2026.10.27 19:26:50.103055 [ 5687 ] {540f07c6-d606-4ab3-806d-515a82be1985} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt16OrNull' while processing query: 'SELECT toInt16OrNull', required columns: 'toInt16OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:50.119823 [ 5687 ] {1aa41b02-8612-435f-99a5-72760d7642c1} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt16OrZero' while processing query: 'SELECT toInt16OrZero', required columns: 'toInt16OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt16OrZero;) 2026.10.27 19:26:50.122992 [ 5687 ] {1aa41b02-8612-435f-99a5-72760d7642c1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt16OrZero' while processing query: 'SELECT toInt16OrZero', required columns: 'toInt16OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:50.139758 [ 5687 ] {762e499d-0b79-4a89-9615-88868a0b55d0} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt256' while processing query: 'SELECT toInt256', required columns: 'toInt256'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt256;) 2026.10.27 19:26:50.142321 [ 5687 ] {762e499d-0b79-4a89-9615-88868a0b55d0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt256' while processing query: 'SELECT toInt256', required columns: 'toInt256'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:50.160369 [ 5687 ] {6ba54c59-0364-4368-8091-a1f5a89d801e} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt256OrDefault' while processing query: 'SELECT toInt256OrDefault', required columns: 'toInt256OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt256OrDefault;) 2026.10.27 19:26:50.162659 [ 5687 ] {6ba54c59-0364-4368-8091-a1f5a89d801e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt256OrDefault' while processing query: 'SELECT toInt256OrDefault', required columns: 'toInt256OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:50.179075 [ 5687 ] {fa7b489d-40b0-4b62-932a-292e823f55d5} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt256OrNull' while processing query: 'SELECT toInt256OrNull', required columns: 'toInt256OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt256OrNull;) 2026.10.27 19:26:50.180922 [ 5687 ] {fa7b489d-40b0-4b62-932a-292e823f55d5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt256OrNull' while processing query: 'SELECT toInt256OrNull', required columns: 'toInt256OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:50.196937 [ 5687 ] {23f24e33-0221-468f-ba3e-b42fc577c5db} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt256OrZero' while processing query: 'SELECT toInt256OrZero', required columns: 'toInt256OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt256OrZero;) 2026.10.27 19:26:50.198737 [ 5687 ] {23f24e33-0221-468f-ba3e-b42fc577c5db} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt256OrZero' while processing query: 'SELECT toInt256OrZero', required columns: 'toInt256OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:50.317759 [ 5687 ] {347b51a6-1672-433b-9052-e21ab7f3b29f} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt32' while processing query: 'SELECT toInt32', required columns: 'toInt32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt32;) 2026.10.27 19:26:50.320750 [ 5687 ] {347b51a6-1672-433b-9052-e21ab7f3b29f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt32' while processing query: 'SELECT toInt32', required columns: 'toInt32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:50.344099 [ 5687 ] {3cb4445a-6b7e-4b16-a848-4b9442b997b0} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt32OrDefault' while processing query: 'SELECT toInt32OrDefault', required columns: 'toInt32OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt32OrDefault;) 2026.10.27 19:26:50.347465 [ 5687 ] {3cb4445a-6b7e-4b16-a848-4b9442b997b0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt32OrDefault' while processing query: 'SELECT toInt32OrDefault', required columns: 'toInt32OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:50.370306 [ 5687 ] {7dcb885f-0521-434c-91ac-23d952a0e31d} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt32OrNull' while processing query: 'SELECT toInt32OrNull', required columns: 'toInt32OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt32OrNull;) 2026.10.27 19:26:50.373239 [ 5687 ] {7dcb885f-0521-434c-91ac-23d952a0e31d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt32OrNull' while processing query: 'SELECT toInt32OrNull', required columns: 'toInt32OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:50.394431 [ 5687 ] {cbabdf6d-2d59-436a-a2db-14c6c9e9cccf} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt32OrZero' while processing query: 'SELECT toInt32OrZero', required columns: 'toInt32OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt32OrZero;) 2026.10.27 19:26:50.397391 [ 5687 ] {cbabdf6d-2d59-436a-a2db-14c6c9e9cccf} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt32OrZero' while processing query: 'SELECT toInt32OrZero', required columns: 'toInt32OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:50.521457 [ 5687 ] {ce43eb7a-0379-4079-b496-4386dd2eb8e5} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt64' while processing query: 'SELECT toInt64', required columns: 'toInt64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt64;) 2026.10.27 19:26:50.524373 [ 5687 ] {ce43eb7a-0379-4079-b496-4386dd2eb8e5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt64' while processing query: 'SELECT toInt64', required columns: 'toInt64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:50.546382 [ 5687 ] {46fe9026-39fa-417e-90c1-63ef22b47b19} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt64OrDefault' while processing query: 'SELECT toInt64OrDefault', required columns: 'toInt64OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt64OrDefault;) 2026.10.27 19:26:50.549137 [ 5687 ] {46fe9026-39fa-417e-90c1-63ef22b47b19} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt64OrDefault' while processing query: 'SELECT toInt64OrDefault', required columns: 'toInt64OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:50.643130 [ 9255 ] {fe2b5c99-a8ce-4b1c-978d-14ea92eb1f7a} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 1114240 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnFixedString.cpp:339: COW::immutable_ptr DB::ColumnFixedString::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0adfba in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnFixedString.cpp:314: DB::ColumnFixedString::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0720bc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa24844 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:50.643150 [ 4399 ] {ca1d486f-e5ad-4680-9ea5-088ab8e85ac2} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:2654: void DB::Aggregator::mergeSingleLevelDataImpl, FixedHashTableStoredSize>, Allocator>, false, false>>(std::vector, std::allocator>>&) const @ 0x0000000037e621c5 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000003eb15326 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000003eb0cc5c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:50.643215 [ 4309 ] {39953d2b-1d3b-4803-af6d-134ec6cf17cb} executeQuery: Code: 60. DB::Exception: Table test_3.test2 does not exist. Maybe you meant test2?. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43634) (comment: 01004_rename_deadlock.sh) (in query: SELECT * FROM test1 UNION ALL SELECT * FROM test2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000945c47e in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000371e7313 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ab8ee2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037acb963 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/getTableExpressions.cpp:0: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9d41dc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e5176d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: 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) @ 0x0000000039b08c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 12. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:50.643325 [ 12858 ] {5ed2cb91-00bd-4b8d-862d-f91710446517} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 1082076 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_8_16_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 340 with max_rows_to_read = 20040): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:50.643410 [ 9259 ] {4b0131f4-bc32-4638-9276-052f6a52c58f} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1191424 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing CollapsingSortedTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x0000000009e3faed in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:0: DB::ColumnVector::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b2877f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:33: DB::CollapsingSortedAlgorithm::insertRows() @ 0x000000003ee8480a in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Merges/Algorithms/CollapsingSortedAlgorithm.cpp:0: DB::CollapsingSortedAlgorithm::merge() @ 0x000000003ee868dc in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003cdea4e2 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 18. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:50.643392 [ 12863 ] {72187c0e-b40a-4e8e-82ac-98333a69208b} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 1703936 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (avg_value_size_hint = 196.927734375, avg_chars_size = 226.71328125, limit = 8192): (while reading column URL): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 136 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff78e6 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:50.643659 [ 4278 ] {86389761-6ea9-4b4b-87db-75f33825448a} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n3 which is referenced by materialized view ['01851_merge_tree_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3324: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cec2628 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0433 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:50.643758 [ 1848 ] {939824e6-a170-4436-8538-aa081be1f887} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x0000000037cf406d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x0000000037caaf24 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x0000000037ca0c4c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037cca9cf in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 8. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d70240 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9d19f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e5176d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: 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) @ 0x0000000039b08c41 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 19. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:50.643773 [ 2671 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:56268). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:50.643602 [ 4272 ] {8d0c2c6a-b8e9-4d21-ba81-0e4d8fbce153} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 4259808 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (avg_value_size_hint = 24.509506225585938, avg_chars_size = 19.811407470703124, limit = 196608): (while reading column Title): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_8_16_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 27 with max_rows_to_read = 196608): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff78e6 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:50.643816 [ 12865 ] {f16293e6-3343-4093-bb54-27d6f9cbe795} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:44192). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44192) (comment: 01004_rename_deadlock.sh) (in query: SELECT * FROM system.tables), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000003e0b1e72 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:919: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a8c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:50.646742 [ 6121 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:56270). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000003e08c048 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:50.650787 [ 4309 ] {39953d2b-1d3b-4803-af6d-134ec6cf17cb} TCPHandler: Code: 60. DB::Exception: Table test_3.test2 does not exist. Maybe you meant test2?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000945c47e in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000371e7313 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ab8ee2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037acb963 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/getTableExpressions.cpp:0: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9d41dc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e5176d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: 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) @ 0x0000000039b08c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 12. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:50.652428 [ 4309 ] {39953d2b-1d3b-4803-af6d-134ec6cf17cb} TCPHandler: Client has gone away. 2026.10.27 19:26:50.654370 [ 12865 ] {f16293e6-3343-4093-bb54-27d6f9cbe795} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:44192). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000003e0d321e in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Block.h:25: DB::TCPHandler::sendLogs() @ 0x000000003e0ac5ab in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:680: DB::TCPHandler::runImpl() @ 0x000000003e08e78f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:50.654834 [ 12865 ] {f16293e6-3343-4093-bb54-27d6f9cbe795} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:44192). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x00000000210828f9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000021080f68 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000003e0b1e72 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:919: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000003e0a8c85 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e07f in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:50.655796 [ 12865 ] {f16293e6-3343-4093-bb54-27d6f9cbe795} TCPHandler: Client has gone away. 2026.10.27 19:26:50.669491 [ 5687 ] {73e3ce83-95b3-4e5d-b42d-63dd1c50ac83} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt64OrNull' while processing query: 'SELECT toInt64OrNull', required columns: 'toInt64OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt64OrNull;) 2026.10.27 19:26:50.671534 [ 5687 ] {73e3ce83-95b3-4e5d-b42d-63dd1c50ac83} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt64OrNull' while processing query: 'SELECT toInt64OrNull', required columns: 'toInt64OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:50.679661 [ 4278 ] {ea99097d-51a4-48d5-8273-87e1dd3e9d60} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01851_merge_tree_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42868) (comment: 01851_clear_column_referenced_by_mv.sql) (in query: ALTER TABLE `01851_merge_tree` DROP COLUMN n2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3324: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cec2628 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0433 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:50.681393 [ 4278 ] {ea99097d-51a4-48d5-8273-87e1dd3e9d60} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01851_merge_tree_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3324: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003cec2628 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0433 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:50.690171 [ 5687 ] {c9802390-5fd9-4297-9ad8-afd8b9850447} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt64OrZero' while processing query: 'SELECT toInt64OrZero', required columns: 'toInt64OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt64OrZero;) 2026.10.27 19:26:50.693362 [ 5687 ] {c9802390-5fd9-4297-9ad8-afd8b9850447} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt64OrZero' while processing query: 'SELECT toInt64OrZero', required columns: 'toInt64OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:50.716474 [ 5687 ] {3c812687-f90c-4f5d-85bc-7cf95cf9a759} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt8' while processing query: 'SELECT toInt8', required columns: 'toInt8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt8;) 2026.10.27 19:26:50.719881 [ 5687 ] {3c812687-f90c-4f5d-85bc-7cf95cf9a759} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt8' while processing query: 'SELECT toInt8', required columns: 'toInt8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:50.940639 [ 5687 ] {466d7641-13c8-4f85-82ef-7813d6458b81} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt8OrDefault' while processing query: 'SELECT toInt8OrDefault', required columns: 'toInt8OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt8OrDefault;) 2026.10.27 19:26:50.943794 [ 5687 ] {466d7641-13c8-4f85-82ef-7813d6458b81} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt8OrDefault' while processing query: 'SELECT toInt8OrDefault', required columns: 'toInt8OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:50.966060 [ 5687 ] {93514537-f751-4c08-b3fb-885179b41793} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt8OrNull' while processing query: 'SELECT toInt8OrNull', required columns: 'toInt8OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt8OrNull;) 2026.10.27 19:26:50.972227 [ 5687 ] {93514537-f751-4c08-b3fb-885179b41793} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt8OrNull' while processing query: 'SELECT toInt8OrNull', required columns: 'toInt8OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:50.984845 [ 5687 ] {80822e9f-bbc7-40cb-ad71-ab19abf15bc8} executeQuery: Code: 47. DB::Exception: Missing columns: 'toInt8OrZero' while processing query: 'SELECT toInt8OrZero', required columns: 'toInt8OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toInt8OrZero;) 2026.10.27 19:26:50.986835 [ 5687 ] {80822e9f-bbc7-40cb-ad71-ab19abf15bc8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toInt8OrZero' while processing query: 'SELECT toInt8OrZero', required columns: 'toInt8OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:51.105500 [ 5687 ] {63835d11-26e7-45dd-a4db-28b9f5b9b24a} executeQuery: Code: 47. DB::Exception: Missing columns: 'toIntervalDay' while processing query: 'SELECT toIntervalDay', required columns: 'toIntervalDay'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toIntervalDay;) 2026.10.27 19:26:51.108657 [ 5687 ] {63835d11-26e7-45dd-a4db-28b9f5b9b24a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toIntervalDay' while processing query: 'SELECT toIntervalDay', required columns: 'toIntervalDay'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:51.230597 [ 5687 ] {a04b9f58-fe84-426a-af50-f21d0b811e52} executeQuery: Code: 47. DB::Exception: Missing columns: 'toIntervalHour' while processing query: 'SELECT toIntervalHour', required columns: 'toIntervalHour'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toIntervalHour;) 2026.10.27 19:26:51.232905 [ 5687 ] {a04b9f58-fe84-426a-af50-f21d0b811e52} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toIntervalHour' while processing query: 'SELECT toIntervalHour', required columns: 'toIntervalHour'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:51.272800 [ 5687 ] {320bff6b-2416-4b76-9de1-1f403137bb86} executeQuery: Code: 47. DB::Exception: Missing columns: 'toIntervalMicrosecond' while processing query: 'SELECT toIntervalMicrosecond', required columns: 'toIntervalMicrosecond'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toIntervalMicrosecond;) 2026.10.27 19:26:51.278043 [ 5687 ] {320bff6b-2416-4b76-9de1-1f403137bb86} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toIntervalMicrosecond' while processing query: 'SELECT toIntervalMicrosecond', required columns: 'toIntervalMicrosecond'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:51.313460 [ 5687 ] {d93b9fcf-8c34-4142-91fc-5c5ef7c3f16d} executeQuery: Code: 47. DB::Exception: Missing columns: 'toIntervalMillisecond' while processing query: 'SELECT toIntervalMillisecond', required columns: 'toIntervalMillisecond'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toIntervalMillisecond;) 2026.10.27 19:26:51.325483 [ 5687 ] {d93b9fcf-8c34-4142-91fc-5c5ef7c3f16d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toIntervalMillisecond' while processing query: 'SELECT toIntervalMillisecond', required columns: 'toIntervalMillisecond'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:51.408927 [ 5687 ] {87de8d16-302d-4894-b90a-9b7551d47e89} executeQuery: Code: 47. DB::Exception: Missing columns: 'toIntervalMinute' while processing query: 'SELECT toIntervalMinute', required columns: 'toIntervalMinute'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toIntervalMinute;) 2026.10.27 19:26:51.417933 [ 5687 ] {87de8d16-302d-4894-b90a-9b7551d47e89} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toIntervalMinute' while processing query: 'SELECT toIntervalMinute', required columns: 'toIntervalMinute'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:51.460439 [ 5687 ] {5496f851-d869-451f-a256-a64f45d3a22e} executeQuery: Code: 47. DB::Exception: Missing columns: 'toIntervalMonth' while processing query: 'SELECT toIntervalMonth', required columns: 'toIntervalMonth'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toIntervalMonth;) 2026.10.27 19:26:51.474204 [ 5687 ] {5496f851-d869-451f-a256-a64f45d3a22e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toIntervalMonth' while processing query: 'SELECT toIntervalMonth', required columns: 'toIntervalMonth'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:51.607021 [ 5687 ] {c018295b-47ae-4ab8-9522-2f6ab386b57a} executeQuery: Code: 47. DB::Exception: Missing columns: 'toIntervalNanosecond' while processing query: 'SELECT toIntervalNanosecond', required columns: 'toIntervalNanosecond'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toIntervalNanosecond;) 2026.10.27 19:26:51.616541 [ 5687 ] {c018295b-47ae-4ab8-9522-2f6ab386b57a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toIntervalNanosecond' while processing query: 'SELECT toIntervalNanosecond', required columns: 'toIntervalNanosecond'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:51.690812 [ 5687 ] {2f0e056d-d9dd-4ea4-b9e1-d1b7fb16db52} executeQuery: Code: 47. DB::Exception: Missing columns: 'toIntervalQuarter' while processing query: 'SELECT toIntervalQuarter', required columns: 'toIntervalQuarter'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toIntervalQuarter;) 2026.10.27 19:26:51.701003 [ 5687 ] {2f0e056d-d9dd-4ea4-b9e1-d1b7fb16db52} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toIntervalQuarter' while processing query: 'SELECT toIntervalQuarter', required columns: 'toIntervalQuarter'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:51.783763 [ 5687 ] {a9088770-d6a7-4718-a510-50f6165b5311} executeQuery: Code: 47. DB::Exception: Missing columns: 'toIntervalSecond' while processing query: 'SELECT toIntervalSecond', required columns: 'toIntervalSecond'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toIntervalSecond;) 2026.10.27 19:26:51.794476 [ 5687 ] {a9088770-d6a7-4718-a510-50f6165b5311} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toIntervalSecond' while processing query: 'SELECT toIntervalSecond', required columns: 'toIntervalSecond'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:51.886319 [ 5687 ] {c3634cfd-9bd3-4bed-ac95-89109a34ff7e} executeQuery: Code: 47. DB::Exception: Missing columns: 'toIntervalWeek' while processing query: 'SELECT toIntervalWeek', required columns: 'toIntervalWeek'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toIntervalWeek;) 2026.10.27 19:26:51.904541 [ 5687 ] {c3634cfd-9bd3-4bed-ac95-89109a34ff7e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toIntervalWeek' while processing query: 'SELECT toIntervalWeek', required columns: 'toIntervalWeek'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:52.098495 [ 5687 ] {8849e312-8e07-4151-af9a-525e569dd284} executeQuery: Code: 47. DB::Exception: Missing columns: 'toIntervalYear' while processing query: 'SELECT toIntervalYear', required columns: 'toIntervalYear'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toIntervalYear;) 2026.10.27 19:26:52.214723 [ 5687 ] {8849e312-8e07-4151-af9a-525e569dd284} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toIntervalYear' while processing query: 'SELECT toIntervalYear', required columns: 'toIntervalYear'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:52.503933 [ 5687 ] {01a62355-0773-48da-bd6f-bd5dcf85deb2} executeQuery: Code: 47. DB::Exception: Missing columns: 'toJSONString' while processing query: 'SELECT toJSONString', required columns: 'toJSONString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toJSONString;) 2026.10.27 19:26:52.515212 [ 5687 ] {01a62355-0773-48da-bd6f-bd5dcf85deb2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toJSONString' while processing query: 'SELECT toJSONString', required columns: 'toJSONString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:52.820832 [ 5687 ] {63bd53e1-0e9b-4e44-9519-5bfdb91c3939} executeQuery: Code: 47. DB::Exception: Missing columns: 'toLastDayOfMonth' while processing query: 'SELECT toLastDayOfMonth', required columns: 'toLastDayOfMonth'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toLastDayOfMonth;) 2026.10.27 19:26:52.827981 [ 5687 ] {63bd53e1-0e9b-4e44-9519-5bfdb91c3939} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toLastDayOfMonth' while processing query: 'SELECT toLastDayOfMonth', required columns: 'toLastDayOfMonth'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:52.988193 [ 5687 ] {56e5da80-f034-4162-9cae-3856611f82d6} executeQuery: Code: 47. DB::Exception: Missing columns: 'toLastDayOfWeek' while processing query: 'SELECT toLastDayOfWeek', required columns: 'toLastDayOfWeek'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toLastDayOfWeek;) 2026.10.27 19:26:53.076404 [ 5687 ] {56e5da80-f034-4162-9cae-3856611f82d6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toLastDayOfWeek' while processing query: 'SELECT toLastDayOfWeek', required columns: 'toLastDayOfWeek'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:53.133617 [ 5687 ] {28f9685f-7dcc-44bb-87b3-e754a6ddd74e} executeQuery: Code: 47. DB::Exception: Missing columns: 'toLowCardinality' while processing query: 'SELECT toLowCardinality', required columns: 'toLowCardinality'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toLowCardinality;) 2026.10.27 19:26:53.142820 [ 5687 ] {28f9685f-7dcc-44bb-87b3-e754a6ddd74e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toLowCardinality' while processing query: 'SELECT toLowCardinality', required columns: 'toLowCardinality'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:53.266175 [ 2241 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {87d63275-efc8-41cf-b773-50c08a335cb1::202610_1_61_13}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1054909 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d125558 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:53.279763 [ 2349 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::SessionLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.39 GiB (attempt to allocate chunk of 4284605 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:53.344879 [ 5687 ] {cd23303f-01f5-4293-94e7-a9ab93e32371} executeQuery: Code: 47. DB::Exception: Missing columns: 'toMinute' while processing query: 'SELECT toMinute', required columns: 'toMinute'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toMinute;) 2026.10.27 19:26:53.346562 [ 5687 ] {cd23303f-01f5-4293-94e7-a9ab93e32371} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toMinute' while processing query: 'SELECT toMinute', required columns: 'toMinute'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:53.464571 [ 5687 ] {e797b30f-fb98-47a5-b734-717be260b90c} executeQuery: Code: 47. DB::Exception: Missing columns: 'toModifiedJulianDay' while processing query: 'SELECT toModifiedJulianDay', required columns: 'toModifiedJulianDay'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toModifiedJulianDay;) 2026.10.27 19:26:53.466343 [ 5687 ] {e797b30f-fb98-47a5-b734-717be260b90c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toModifiedJulianDay' while processing query: 'SELECT toModifiedJulianDay', required columns: 'toModifiedJulianDay'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:53.486596 [ 5687 ] {5e483f64-1cac-4fd1-b933-a8a2b30c4647} executeQuery: Code: 47. DB::Exception: Missing columns: 'toModifiedJulianDayOrNull' while processing query: 'SELECT toModifiedJulianDayOrNull', required columns: 'toModifiedJulianDayOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toModifiedJulianDayOrNull;) 2026.10.27 19:26:53.489694 [ 5687 ] {5e483f64-1cac-4fd1-b933-a8a2b30c4647} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toModifiedJulianDayOrNull' while processing query: 'SELECT toModifiedJulianDayOrNull', required columns: 'toModifiedJulianDayOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:53.510302 [ 5687 ] {4b91e645-6a88-41e7-ab95-c2d71a671695} executeQuery: Code: 47. DB::Exception: Missing columns: 'toMonday' while processing query: 'SELECT toMonday', required columns: 'toMonday'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toMonday;) 2026.10.27 19:26:53.512996 [ 5687 ] {4b91e645-6a88-41e7-ab95-c2d71a671695} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toMonday' while processing query: 'SELECT toMonday', required columns: 'toMonday'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:53.634009 [ 5687 ] {ae7ebe7e-8817-4902-a591-678ecf6a0d9e} executeQuery: Code: 47. DB::Exception: Missing columns: 'toMonth' while processing query: 'SELECT toMonth', required columns: 'toMonth'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toMonth;) 2026.10.27 19:26:53.637050 [ 5687 ] {ae7ebe7e-8817-4902-a591-678ecf6a0d9e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toMonth' while processing query: 'SELECT toMonth', required columns: 'toMonth'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:53.762022 [ 5687 ] {14668103-05f0-4987-934a-61cdc0c4bcbe} executeQuery: Code: 47. DB::Exception: Missing columns: 'toNullable' while processing query: 'SELECT toNullable', required columns: 'toNullable'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toNullable;) 2026.10.27 19:26:53.765985 [ 5687 ] {14668103-05f0-4987-934a-61cdc0c4bcbe} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toNullable' while processing query: 'SELECT toNullable', required columns: 'toNullable'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:53.790076 [ 5687 ] {d481dfc5-f1b5-460d-89cb-b35f2d1d7131} executeQuery: Code: 47. DB::Exception: Missing columns: 'toQuarter' while processing query: 'SELECT toQuarter', required columns: 'toQuarter'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toQuarter;) 2026.10.27 19:26:53.793503 [ 5687 ] {d481dfc5-f1b5-460d-89cb-b35f2d1d7131} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toQuarter' while processing query: 'SELECT toQuarter', required columns: 'toQuarter'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:53.820768 [ 5687 ] {cc87d0d9-b187-428c-9ff8-d068f5dea5b3} executeQuery: Code: 47. DB::Exception: Missing columns: 'toRelativeDayNum' while processing query: 'SELECT toRelativeDayNum', required columns: 'toRelativeDayNum'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toRelativeDayNum;) 2026.10.27 19:26:53.825242 [ 5687 ] {cc87d0d9-b187-428c-9ff8-d068f5dea5b3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toRelativeDayNum' while processing query: 'SELECT toRelativeDayNum', required columns: 'toRelativeDayNum'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:53.855614 [ 5687 ] {b1b7c7bb-aa72-47d4-97c7-c3afdc059743} executeQuery: Code: 47. DB::Exception: Missing columns: 'toRelativeHourNum' while processing query: 'SELECT toRelativeHourNum', required columns: 'toRelativeHourNum'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toRelativeHourNum;) 2026.10.27 19:26:53.859479 [ 5687 ] {b1b7c7bb-aa72-47d4-97c7-c3afdc059743} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toRelativeHourNum' while processing query: 'SELECT toRelativeHourNum', required columns: 'toRelativeHourNum'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:53.878272 [ 5687 ] {2a91426a-4803-483c-98e6-8b8de647d6ab} executeQuery: Code: 47. DB::Exception: Missing columns: 'toRelativeMinuteNum' while processing query: 'SELECT toRelativeMinuteNum', required columns: 'toRelativeMinuteNum'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toRelativeMinuteNum;) 2026.10.27 19:26:53.880019 [ 5687 ] {2a91426a-4803-483c-98e6-8b8de647d6ab} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toRelativeMinuteNum' while processing query: 'SELECT toRelativeMinuteNum', required columns: 'toRelativeMinuteNum'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:53.892445 [ 5687 ] {0026cab8-3274-499a-b072-16bb2fab61ba} executeQuery: Code: 47. DB::Exception: Missing columns: 'toRelativeMonthNum' while processing query: 'SELECT toRelativeMonthNum', required columns: 'toRelativeMonthNum'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toRelativeMonthNum;) 2026.10.27 19:26:53.894187 [ 5687 ] {0026cab8-3274-499a-b072-16bb2fab61ba} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toRelativeMonthNum' while processing query: 'SELECT toRelativeMonthNum', required columns: 'toRelativeMonthNum'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.008472 [ 5687 ] {c76022b4-d932-4d57-924a-84b5ab4bc8e7} executeQuery: Code: 47. DB::Exception: Missing columns: 'toRelativeQuarterNum' while processing query: 'SELECT toRelativeQuarterNum', required columns: 'toRelativeQuarterNum'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toRelativeQuarterNum;) 2026.10.27 19:26:54.011014 [ 5687 ] {c76022b4-d932-4d57-924a-84b5ab4bc8e7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toRelativeQuarterNum' while processing query: 'SELECT toRelativeQuarterNum', required columns: 'toRelativeQuarterNum'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.031963 [ 5687 ] {1a22d44b-2b6c-4790-8442-342ebf3da14f} executeQuery: Code: 47. DB::Exception: Missing columns: 'toRelativeSecondNum' while processing query: 'SELECT toRelativeSecondNum', required columns: 'toRelativeSecondNum'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toRelativeSecondNum;) 2026.10.27 19:26:54.035002 [ 5687 ] {1a22d44b-2b6c-4790-8442-342ebf3da14f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toRelativeSecondNum' while processing query: 'SELECT toRelativeSecondNum', required columns: 'toRelativeSecondNum'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.054464 [ 5687 ] {281c431b-4c54-4bee-ae82-b6a9895eb7b2} executeQuery: Code: 47. DB::Exception: Missing columns: 'toRelativeWeekNum' while processing query: 'SELECT toRelativeWeekNum', required columns: 'toRelativeWeekNum'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toRelativeWeekNum;) 2026.10.27 19:26:54.057750 [ 5687 ] {281c431b-4c54-4bee-ae82-b6a9895eb7b2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toRelativeWeekNum' while processing query: 'SELECT toRelativeWeekNum', required columns: 'toRelativeWeekNum'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.075438 [ 5687 ] {e607cf15-1fb6-473d-b4d4-8b8161671d1a} executeQuery: Code: 47. DB::Exception: Missing columns: 'toRelativeYearNum' while processing query: 'SELECT toRelativeYearNum', required columns: 'toRelativeYearNum'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toRelativeYearNum;) 2026.10.27 19:26:54.078539 [ 5687 ] {e607cf15-1fb6-473d-b4d4-8b8161671d1a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toRelativeYearNum' while processing query: 'SELECT toRelativeYearNum', required columns: 'toRelativeYearNum'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.093291 [ 5687 ] {cb4705c8-5bbf-487b-84ac-796b50344c0b} executeQuery: Code: 47. DB::Exception: Missing columns: 'toSecond' while processing query: 'SELECT toSecond', required columns: 'toSecond'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toSecond;) 2026.10.27 19:26:54.094843 [ 5687 ] {cb4705c8-5bbf-487b-84ac-796b50344c0b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toSecond' while processing query: 'SELECT toSecond', required columns: 'toSecond'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.210312 [ 5687 ] {ebd982de-cfa0-4290-b37b-0bbfc1f31925} executeQuery: Code: 47. DB::Exception: Missing columns: 'toStartOfDay' while processing query: 'SELECT toStartOfDay', required columns: 'toStartOfDay'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toStartOfDay;) 2026.10.27 19:26:54.213424 [ 5687 ] {ebd982de-cfa0-4290-b37b-0bbfc1f31925} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toStartOfDay' while processing query: 'SELECT toStartOfDay', required columns: 'toStartOfDay'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.233730 [ 5687 ] {d42ff9fd-573c-40d4-9cb2-157682507dc8} executeQuery: Code: 47. DB::Exception: Missing columns: 'toStartOfFifteenMinutes' while processing query: 'SELECT toStartOfFifteenMinutes', required columns: 'toStartOfFifteenMinutes'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toStartOfFifteenMinutes;) 2026.10.27 19:26:54.237364 [ 5687 ] {d42ff9fd-573c-40d4-9cb2-157682507dc8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toStartOfFifteenMinutes' while processing query: 'SELECT toStartOfFifteenMinutes', required columns: 'toStartOfFifteenMinutes'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.254975 [ 5687 ] {f14c8548-2c99-4c3a-a407-7bca8ef82e7a} executeQuery: Code: 47. DB::Exception: Missing columns: 'toStartOfFiveMinute' while processing query: 'SELECT toStartOfFiveMinute', required columns: 'toStartOfFiveMinute'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toStartOfFiveMinute;) 2026.10.27 19:26:54.257821 [ 5687 ] {f14c8548-2c99-4c3a-a407-7bca8ef82e7a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toStartOfFiveMinute' while processing query: 'SELECT toStartOfFiveMinute', required columns: 'toStartOfFiveMinute'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.274773 [ 5687 ] {0b1d422f-1611-4788-afd4-aab7523641a4} executeQuery: Code: 47. DB::Exception: Missing columns: 'toStartOfFiveMinutes' while processing query: 'SELECT toStartOfFiveMinutes', required columns: 'toStartOfFiveMinutes'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toStartOfFiveMinutes;) 2026.10.27 19:26:54.277864 [ 5687 ] {0b1d422f-1611-4788-afd4-aab7523641a4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toStartOfFiveMinutes' while processing query: 'SELECT toStartOfFiveMinutes', required columns: 'toStartOfFiveMinutes'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.294773 [ 5687 ] {42b210d7-db32-4173-a7f9-ece0211714e7} executeQuery: Code: 47. DB::Exception: Missing columns: 'toStartOfHour' while processing query: 'SELECT toStartOfHour', required columns: 'toStartOfHour'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toStartOfHour;) 2026.10.27 19:26:54.297816 [ 5687 ] {42b210d7-db32-4173-a7f9-ece0211714e7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toStartOfHour' while processing query: 'SELECT toStartOfHour', required columns: 'toStartOfHour'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.414006 [ 5687 ] {b60efbb5-503b-4bf8-ab67-b7f208b80e04} executeQuery: Code: 47. DB::Exception: Missing columns: 'toStartOfISOYear' while processing query: 'SELECT toStartOfISOYear', required columns: 'toStartOfISOYear'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toStartOfISOYear;) 2026.10.27 19:26:54.417666 [ 5687 ] {b60efbb5-503b-4bf8-ab67-b7f208b80e04} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toStartOfISOYear' while processing query: 'SELECT toStartOfISOYear', required columns: 'toStartOfISOYear'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.438775 [ 5687 ] {d35034a6-5d0e-4aab-b5c3-5a5f0af2b49f} executeQuery: Code: 47. DB::Exception: Missing columns: 'toStartOfInterval' while processing query: 'SELECT toStartOfInterval', required columns: 'toStartOfInterval'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toStartOfInterval;) 2026.10.27 19:26:54.441454 [ 5687 ] {d35034a6-5d0e-4aab-b5c3-5a5f0af2b49f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toStartOfInterval' while processing query: 'SELECT toStartOfInterval', required columns: 'toStartOfInterval'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.464256 [ 5687 ] {a9f97b10-f22f-435e-8a40-bb3fb14f9fc1} executeQuery: Code: 47. DB::Exception: Missing columns: 'toStartOfMicrosecond' while processing query: 'SELECT toStartOfMicrosecond', required columns: 'toStartOfMicrosecond'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toStartOfMicrosecond;) 2026.10.27 19:26:54.467159 [ 5687 ] {a9f97b10-f22f-435e-8a40-bb3fb14f9fc1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toStartOfMicrosecond' while processing query: 'SELECT toStartOfMicrosecond', required columns: 'toStartOfMicrosecond'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.493465 [ 5687 ] {bc1daddd-f061-451e-8f9b-a80bcea0bac4} executeQuery: Code: 47. DB::Exception: Missing columns: 'toStartOfMillisecond' while processing query: 'SELECT toStartOfMillisecond', required columns: 'toStartOfMillisecond'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toStartOfMillisecond;) 2026.10.27 19:26:54.497940 [ 5687 ] {bc1daddd-f061-451e-8f9b-a80bcea0bac4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toStartOfMillisecond' while processing query: 'SELECT toStartOfMillisecond', required columns: 'toStartOfMillisecond'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.515986 [ 5687 ] {1d7a2879-9777-42c7-b691-6f4ea199c4a7} executeQuery: Code: 47. DB::Exception: Missing columns: 'toStartOfMinute' while processing query: 'SELECT toStartOfMinute', required columns: 'toStartOfMinute'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toStartOfMinute;) 2026.10.27 19:26:54.620549 [ 5687 ] {1d7a2879-9777-42c7-b691-6f4ea199c4a7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toStartOfMinute' while processing query: 'SELECT toStartOfMinute', required columns: 'toStartOfMinute'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.745401 [ 5687 ] {ee172b31-c9db-44f5-a6d5-6804b10f22ca} executeQuery: Code: 47. DB::Exception: Missing columns: 'toStartOfMonth' while processing query: 'SELECT toStartOfMonth', required columns: 'toStartOfMonth'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toStartOfMonth;) 2026.10.27 19:26:54.747956 [ 5687 ] {ee172b31-c9db-44f5-a6d5-6804b10f22ca} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toStartOfMonth' while processing query: 'SELECT toStartOfMonth', required columns: 'toStartOfMonth'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.765599 [ 5687 ] {cfb07271-7b97-4b16-81e7-597ca09d5953} executeQuery: Code: 47. DB::Exception: Missing columns: 'toStartOfNanosecond' while processing query: 'SELECT toStartOfNanosecond', required columns: 'toStartOfNanosecond'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toStartOfNanosecond;) 2026.10.27 19:26:54.767401 [ 5687 ] {cfb07271-7b97-4b16-81e7-597ca09d5953} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toStartOfNanosecond' while processing query: 'SELECT toStartOfNanosecond', required columns: 'toStartOfNanosecond'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.784518 [ 5687 ] {9268407b-af3c-451a-9a9d-4282048d4bae} executeQuery: Code: 47. DB::Exception: Missing columns: 'toStartOfQuarter' while processing query: 'SELECT toStartOfQuarter', required columns: 'toStartOfQuarter'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toStartOfQuarter;) 2026.10.27 19:26:54.786375 [ 5687 ] {9268407b-af3c-451a-9a9d-4282048d4bae} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toStartOfQuarter' while processing query: 'SELECT toStartOfQuarter', required columns: 'toStartOfQuarter'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.801698 [ 5687 ] {774f41bd-f95f-4a86-9659-6580bfc44394} executeQuery: Code: 47. DB::Exception: Missing columns: 'toStartOfSecond' while processing query: 'SELECT toStartOfSecond', required columns: 'toStartOfSecond'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toStartOfSecond;) 2026.10.27 19:26:54.803284 [ 5687 ] {774f41bd-f95f-4a86-9659-6580bfc44394} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toStartOfSecond' while processing query: 'SELECT toStartOfSecond', required columns: 'toStartOfSecond'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.920430 [ 5687 ] {099dfbe7-e00c-44d8-b273-a1b739e47728} executeQuery: Code: 47. DB::Exception: Missing columns: 'toStartOfTenMinutes' while processing query: 'SELECT toStartOfTenMinutes', required columns: 'toStartOfTenMinutes'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toStartOfTenMinutes;) 2026.10.27 19:26:54.922270 [ 5687 ] {099dfbe7-e00c-44d8-b273-a1b739e47728} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toStartOfTenMinutes' while processing query: 'SELECT toStartOfTenMinutes', required columns: 'toStartOfTenMinutes'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.941030 [ 5687 ] {4c9a9eaa-af67-4aa0-b282-93c1f2bdbbc7} executeQuery: Code: 47. DB::Exception: Missing columns: 'toStartOfWeek' while processing query: 'SELECT toStartOfWeek', required columns: 'toStartOfWeek'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toStartOfWeek;) 2026.10.27 19:26:54.943395 [ 5687 ] {4c9a9eaa-af67-4aa0-b282-93c1f2bdbbc7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toStartOfWeek' while processing query: 'SELECT toStartOfWeek', required columns: 'toStartOfWeek'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.963350 [ 5687 ] {b602d6b2-6f9c-4b76-9419-c4f878bfc6bc} executeQuery: Code: 47. DB::Exception: Missing columns: 'toStartOfYear' while processing query: 'SELECT toStartOfYear', required columns: 'toStartOfYear'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toStartOfYear;) 2026.10.27 19:26:54.965970 [ 5687 ] {b602d6b2-6f9c-4b76-9419-c4f878bfc6bc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toStartOfYear' while processing query: 'SELECT toStartOfYear', required columns: 'toStartOfYear'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:54.983994 [ 5687 ] {6a6ffe4c-d480-464e-887b-b8f2cd017acf} executeQuery: Code: 47. DB::Exception: Missing columns: 'toString' while processing query: 'SELECT toString', required columns: 'toString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toString;) 2026.10.27 19:26:54.986460 [ 5687 ] {6a6ffe4c-d480-464e-887b-b8f2cd017acf} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toString' while processing query: 'SELECT toString', required columns: 'toString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:55.003927 [ 5687 ] {d598bfc4-08ce-4ae2-a4f3-fd14647204ce} executeQuery: Code: 47. DB::Exception: Missing columns: 'toStringCutToZero' while processing query: 'SELECT toStringCutToZero', required columns: 'toStringCutToZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toStringCutToZero;) 2026.10.27 19:26:55.006283 [ 5687 ] {d598bfc4-08ce-4ae2-a4f3-fd14647204ce} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toStringCutToZero' while processing query: 'SELECT toStringCutToZero', required columns: 'toStringCutToZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:55.024966 [ 5687 ] {168e4c18-93ce-4684-8d97-d2ef5beb4b3e} executeQuery: Code: 47. DB::Exception: Missing columns: 'toTime' while processing query: 'SELECT toTime', required columns: 'toTime'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toTime;) 2026.10.27 19:26:55.027118 [ 5687 ] {168e4c18-93ce-4684-8d97-d2ef5beb4b3e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toTime' while processing query: 'SELECT toTime', required columns: 'toTime'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:55.044605 [ 5687 ] {b7c4ea71-97f0-4198-bff6-66ad311683e5} executeQuery: Code: 47. DB::Exception: Missing columns: 'toTimeZone' while processing query: 'SELECT toTimeZone', required columns: 'toTimeZone'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toTimeZone;) 2026.10.27 19:26:55.046126 [ 5687 ] {b7c4ea71-97f0-4198-bff6-66ad311683e5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toTimeZone' while processing query: 'SELECT toTimeZone', required columns: 'toTimeZone'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:55.057473 [ 5687 ] {fa018658-83dd-4505-9448-32215ec1f1be} executeQuery: Code: 47. DB::Exception: Missing columns: 'toTimezone' while processing query: 'SELECT toTimezone', required columns: 'toTimezone'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toTimezone;) 2026.10.27 19:26:55.058953 [ 5687 ] {fa018658-83dd-4505-9448-32215ec1f1be} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toTimezone' while processing query: 'SELECT toTimezone', required columns: 'toTimezone'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:55.069914 [ 5687 ] {5996e015-b300-4823-8abe-b60a9f4abf58} executeQuery: Code: 47. DB::Exception: Missing columns: 'toTypeName' while processing query: 'SELECT toTypeName', required columns: 'toTypeName'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toTypeName;) 2026.10.27 19:26:55.071387 [ 5687 ] {5996e015-b300-4823-8abe-b60a9f4abf58} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toTypeName' while processing query: 'SELECT toTypeName', required columns: 'toTypeName'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:55.187798 [ 5687 ] {cb115966-b478-448d-97a0-22d22cb1a5c6} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt128' while processing query: 'SELECT toUInt128', required columns: 'toUInt128'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt128;) 2026.10.27 19:26:55.191206 [ 5687 ] {cb115966-b478-448d-97a0-22d22cb1a5c6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt128' while processing query: 'SELECT toUInt128', required columns: 'toUInt128'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:55.310042 [ 5687 ] {4efbc192-da75-4c0b-9c0e-e0cfb7422abc} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt128OrNull' while processing query: 'SELECT toUInt128OrNull', required columns: 'toUInt128OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt128OrNull;) 2026.10.27 19:26:55.312907 [ 5687 ] {4efbc192-da75-4c0b-9c0e-e0cfb7422abc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt128OrNull' while processing query: 'SELECT toUInt128OrNull', required columns: 'toUInt128OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:55.330013 [ 5687 ] {c0b8191b-8db5-4924-9024-44d9a43c7509} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt128OrZero' while processing query: 'SELECT toUInt128OrZero', required columns: 'toUInt128OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt128OrZero;) 2026.10.27 19:26:55.333159 [ 5687 ] {c0b8191b-8db5-4924-9024-44d9a43c7509} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt128OrZero' while processing query: 'SELECT toUInt128OrZero', required columns: 'toUInt128OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:55.349502 [ 5687 ] {ad0a6cb5-2cf3-47ca-a6be-b01c307282e7} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt16' while processing query: 'SELECT toUInt16', required columns: 'toUInt16'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt16;) 2026.10.27 19:26:55.352358 [ 5687 ] {ad0a6cb5-2cf3-47ca-a6be-b01c307282e7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt16' while processing query: 'SELECT toUInt16', required columns: 'toUInt16'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:55.367018 [ 5687 ] {96e4589c-010e-4902-aed7-5778ee9c3c03} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt16OrDefault' while processing query: 'SELECT toUInt16OrDefault', required columns: 'toUInt16OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt16OrDefault;) 2026.10.27 19:26:55.369169 [ 5687 ] {96e4589c-010e-4902-aed7-5778ee9c3c03} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt16OrDefault' while processing query: 'SELECT toUInt16OrDefault', required columns: 'toUInt16OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:55.383027 [ 5687 ] {ed751124-4e3e-4d49-9211-138abd625874} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt16OrNull' while processing query: 'SELECT toUInt16OrNull', required columns: 'toUInt16OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt16OrNull;) 2026.10.27 19:26:55.384577 [ 5687 ] {ed751124-4e3e-4d49-9211-138abd625874} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt16OrNull' while processing query: 'SELECT toUInt16OrNull', required columns: 'toUInt16OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:55.396816 [ 5687 ] {7789cc0e-dcbf-440c-b687-49ee7040604b} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt16OrZero' while processing query: 'SELECT toUInt16OrZero', required columns: 'toUInt16OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt16OrZero;) 2026.10.27 19:26:55.397969 [ 5687 ] {7789cc0e-dcbf-440c-b687-49ee7040604b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt16OrZero' while processing query: 'SELECT toUInt16OrZero', required columns: 'toUInt16OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:55.409728 [ 5687 ] {65e75a7b-3a05-443b-8b16-0f7faf1df078} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt256' while processing query: 'SELECT toUInt256', required columns: 'toUInt256'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt256;) 2026.10.27 19:26:55.410783 [ 5687 ] {65e75a7b-3a05-443b-8b16-0f7faf1df078} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt256' while processing query: 'SELECT toUInt256', required columns: 'toUInt256'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:55.422330 [ 5687 ] {db2af965-a34b-4698-8ecc-68fcc6b8e885} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt256OrDefault' while processing query: 'SELECT toUInt256OrDefault', required columns: 'toUInt256OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt256OrDefault;) 2026.10.27 19:26:55.423295 [ 5687 ] {db2af965-a34b-4698-8ecc-68fcc6b8e885} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt256OrDefault' while processing query: 'SELECT toUInt256OrDefault', required columns: 'toUInt256OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:55.434376 [ 5687 ] {e42c8bfa-1e17-4100-8009-ca68bab80d16} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt256OrNull' while processing query: 'SELECT toUInt256OrNull', required columns: 'toUInt256OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt256OrNull;) 2026.10.27 19:26:55.435320 [ 5687 ] {e42c8bfa-1e17-4100-8009-ca68bab80d16} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt256OrNull' while processing query: 'SELECT toUInt256OrNull', required columns: 'toUInt256OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:55.446179 [ 5687 ] {cec8a26d-78f3-42c8-93ca-60cf9372a935} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt256OrZero' while processing query: 'SELECT toUInt256OrZero', required columns: 'toUInt256OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt256OrZero;) 2026.10.27 19:26:55.447085 [ 5687 ] {cec8a26d-78f3-42c8-93ca-60cf9372a935} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt256OrZero' while processing query: 'SELECT toUInt256OrZero', required columns: 'toUInt256OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:55.458590 [ 5687 ] {f9fb1f74-3a59-4090-a2e8-d83591ba2a0a} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt32' while processing query: 'SELECT toUInt32', required columns: 'toUInt32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt32;) 2026.10.27 19:26:55.459506 [ 5687 ] {f9fb1f74-3a59-4090-a2e8-d83591ba2a0a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt32' while processing query: 'SELECT toUInt32', required columns: 'toUInt32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:55.574254 [ 5687 ] {f9b24075-f87f-4d7b-9a91-015dfc918613} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt32OrDefault' while processing query: 'SELECT toUInt32OrDefault', required columns: 'toUInt32OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt32OrDefault;) 2026.10.27 19:26:55.576906 [ 5687 ] {f9b24075-f87f-4d7b-9a91-015dfc918613} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt32OrDefault' while processing query: 'SELECT toUInt32OrDefault', required columns: 'toUInt32OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:55.582212 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.39 GiB (attempt to allocate chunk of 4208829 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:55.582313 [ 6121 ] {14ed3496-9e78-4a55-ae3f-234e5988dc16} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.39 GiB (attempt to allocate chunk of 1050624 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56372) (comment: 00141_transform.sql) (in query: SELECT transform(SearchEngineID, [2, 3], ['Яндек�', 'Google'], 'О�тальные') AS title, count() AS c FROM test.hits WHERE SearchEngineID != 0 GROUP BY title HAVING c > 0 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002078b7b2 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:521: HashTable, StringHashTableHash, StringHashTableGrower<8ul>, Allocator>::alloc(StringHashTableGrower<8ul> const&) @ 0x00000000381b180b in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/StringHashTable.h:228: StringHashTable>>::StringHashTable() @ 0x00000000381b1537 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/HashTable/TwoLevelStringHashTable.h:43: TwoLevelStringHashTable>, StringHashMap>, 8ul>::TwoLevelStringHashTable>>(StringHashMap> const&) @ 0x00000000381afb49 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/HashTable/TwoLevelStringHashMap.h:0: DB::AggregatedDataVariants::convertToTwoLevel() @ 0x0000000037d9d6e4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd02f1 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:55.582506 [ 2296 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::QueryLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 4275133 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:55.582589 [ 2239 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_57_10}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.39 GiB (attempt to allocate chunk of 1052222 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x0000000009415a91 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:322: DB::ColumnVector::insertDefault() @ 0x000000003b33a155 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnSparse.cpp:0: DB::ColumnSparse::ColumnSparse(COW::mutable_ptr&&) @ 0x000000003b186f53 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: DB::IDataType::createColumn(DB::ISerialization const&) const @ 0x0000000036dbb55a in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:140: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4597fa in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:55.601166 [ 5687 ] {4d6d5a48-6999-4a59-8528-016508ff7fbe} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt32OrNull' while processing query: 'SELECT toUInt32OrNull', required columns: 'toUInt32OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt32OrNull;) 2026.10.27 19:26:55.614896 [ 5687 ] {4d6d5a48-6999-4a59-8528-016508ff7fbe} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt32OrNull' while processing query: 'SELECT toUInt32OrNull', required columns: 'toUInt32OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:55.696705 [ 5687 ] {a7fe287e-82db-4392-be5a-37cbc21cabbd} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt32OrZero' while processing query: 'SELECT toUInt32OrZero', required columns: 'toUInt32OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt32OrZero;) 2026.10.27 19:26:55.793662 [ 5687 ] {a7fe287e-82db-4392-be5a-37cbc21cabbd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt32OrZero' while processing query: 'SELECT toUInt32OrZero', required columns: 'toUInt32OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:55.922991 [ 5687 ] {9e7172ce-d44b-4757-aaee-3528ab1c458f} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt64' while processing query: 'SELECT toUInt64', required columns: 'toUInt64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt64;) 2026.10.27 19:26:56.157454 [ 5687 ] {9e7172ce-d44b-4757-aaee-3528ab1c458f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt64' while processing query: 'SELECT toUInt64', required columns: 'toUInt64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:56.294081 [ 5687 ] {0e2875fb-748b-4022-98d2-1fd2697396c2} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt64OrDefault' while processing query: 'SELECT toUInt64OrDefault', required columns: 'toUInt64OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt64OrDefault;) 2026.10.27 19:26:56.310920 [ 5687 ] {0e2875fb-748b-4022-98d2-1fd2697396c2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt64OrDefault' while processing query: 'SELECT toUInt64OrDefault', required columns: 'toUInt64OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:56.451750 [ 5687 ] {5815f6e2-7eb5-4da4-b8c5-c58c541d25b2} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt64OrNull' while processing query: 'SELECT toUInt64OrNull', required columns: 'toUInt64OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt64OrNull;) 2026.10.27 19:26:56.468058 [ 5687 ] {5815f6e2-7eb5-4da4-b8c5-c58c541d25b2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt64OrNull' while processing query: 'SELECT toUInt64OrNull', required columns: 'toUInt64OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:56.524632 [ 5687 ] {f6f7d538-9300-4fb2-8c2e-5d9c73fbe67b} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt64OrZero' while processing query: 'SELECT toUInt64OrZero', required columns: 'toUInt64OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt64OrZero;) 2026.10.27 19:26:56.618474 [ 5687 ] {f6f7d538-9300-4fb2-8c2e-5d9c73fbe67b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt64OrZero' while processing query: 'SELECT toUInt64OrZero', required columns: 'toUInt64OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:56.777407 [ 5687 ] {b34ae916-3591-4988-8bd8-7323c6364d48} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt8' while processing query: 'SELECT toUInt8', required columns: 'toUInt8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt8;) 2026.10.27 19:26:56.794199 [ 5687 ] {b34ae916-3591-4988-8bd8-7323c6364d48} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt8' while processing query: 'SELECT toUInt8', required columns: 'toUInt8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:56.816347 [ 5687 ] {7c5ff51c-c249-4bf2-b0d5-ac7011129438} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt8OrDefault' while processing query: 'SELECT toUInt8OrDefault', required columns: 'toUInt8OrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt8OrDefault;) 2026.10.27 19:26:56.818660 [ 5687 ] {7c5ff51c-c249-4bf2-b0d5-ac7011129438} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt8OrDefault' while processing query: 'SELECT toUInt8OrDefault', required columns: 'toUInt8OrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:56.834996 [ 5687 ] {cbf7501c-e19e-4aed-8b35-408c5f654f46} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt8OrNull' while processing query: 'SELECT toUInt8OrNull', required columns: 'toUInt8OrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt8OrNull;) 2026.10.27 19:26:56.836843 [ 5687 ] {cbf7501c-e19e-4aed-8b35-408c5f654f46} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt8OrNull' while processing query: 'SELECT toUInt8OrNull', required columns: 'toUInt8OrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:56.851995 [ 5687 ] {d411ad81-861a-404d-8559-3b6f4ef6e7c6} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt8OrZero' while processing query: 'SELECT toUInt8OrZero', required columns: 'toUInt8OrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUInt8OrZero;) 2026.10.27 19:26:56.955515 [ 5687 ] {d411ad81-861a-404d-8559-3b6f4ef6e7c6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt8OrZero' while processing query: 'SELECT toUInt8OrZero', required columns: 'toUInt8OrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:56.971960 [ 5687 ] {1dd2c62f-c21b-452d-9b74-cbe2c43bfb45} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUTCTimestamp' while processing query: 'SELECT toUTCTimestamp', required columns: 'toUTCTimestamp'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUTCTimestamp;) 2026.10.27 19:26:56.974703 [ 5687 ] {1dd2c62f-c21b-452d-9b74-cbe2c43bfb45} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUTCTimestamp' while processing query: 'SELECT toUTCTimestamp', required columns: 'toUTCTimestamp'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:57.090745 [ 5687 ] {27c11340-a3ad-4bf1-873d-ec837fd5607b} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUUID' while processing query: 'SELECT toUUID', required columns: 'toUUID'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUUID;) 2026.10.27 19:26:57.093757 [ 5687 ] {27c11340-a3ad-4bf1-873d-ec837fd5607b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUUID' while processing query: 'SELECT toUUID', required columns: 'toUUID'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:57.114771 [ 5687 ] {51ca478d-f81a-4772-98c3-5d9cd45acd61} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUUIDOrDefault' while processing query: 'SELECT toUUIDOrDefault', required columns: 'toUUIDOrDefault'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUUIDOrDefault;) 2026.10.27 19:26:57.117980 [ 5687 ] {51ca478d-f81a-4772-98c3-5d9cd45acd61} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUUIDOrDefault' while processing query: 'SELECT toUUIDOrDefault', required columns: 'toUUIDOrDefault'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:57.243361 [ 5687 ] {9f8e8552-a298-4ade-bdcf-9cb6cf1e1af3} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUUIDOrNull' while processing query: 'SELECT toUUIDOrNull', required columns: 'toUUIDOrNull'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUUIDOrNull;) 2026.10.27 19:26:57.246647 [ 5687 ] {9f8e8552-a298-4ade-bdcf-9cb6cf1e1af3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUUIDOrNull' while processing query: 'SELECT toUUIDOrNull', required columns: 'toUUIDOrNull'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:57.289351 [ 5687 ] {43aef1d8-e674-4629-9b8b-80f9136d5707} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUUIDOrZero' while processing query: 'SELECT toUUIDOrZero', required columns: 'toUUIDOrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUUIDOrZero;) 2026.10.27 19:26:57.317587 [ 5687 ] {43aef1d8-e674-4629-9b8b-80f9136d5707} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUUIDOrZero' while processing query: 'SELECT toUUIDOrZero', required columns: 'toUUIDOrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:57.434975 [ 5687 ] {26d97169-4ba9-44e4-8620-c288bb2b9707} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUnixTimestamp' while processing query: 'SELECT toUnixTimestamp', required columns: 'toUnixTimestamp'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUnixTimestamp;) 2026.10.27 19:26:57.458071 [ 5687 ] {26d97169-4ba9-44e4-8620-c288bb2b9707} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUnixTimestamp' while processing query: 'SELECT toUnixTimestamp', required columns: 'toUnixTimestamp'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:57.564629 [ 5687 ] {f9290e45-bb47-4752-8f8b-1ecb87c3986e} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUnixTimestamp64Micro' while processing query: 'SELECT toUnixTimestamp64Micro', required columns: 'toUnixTimestamp64Micro'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUnixTimestamp64Micro;) 2026.10.27 19:26:57.582076 [ 5687 ] {f9290e45-bb47-4752-8f8b-1ecb87c3986e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUnixTimestamp64Micro' while processing query: 'SELECT toUnixTimestamp64Micro', required columns: 'toUnixTimestamp64Micro'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:57.635481 [ 5687 ] {97d8bc38-d6e3-4ec1-a54d-eaec6cbecd31} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUnixTimestamp64Milli' while processing query: 'SELECT toUnixTimestamp64Milli', required columns: 'toUnixTimestamp64Milli'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUnixTimestamp64Milli;) 2026.10.27 19:26:57.661733 [ 5687 ] {97d8bc38-d6e3-4ec1-a54d-eaec6cbecd31} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUnixTimestamp64Milli' while processing query: 'SELECT toUnixTimestamp64Milli', required columns: 'toUnixTimestamp64Milli'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:57.792897 [ 5687 ] {3bec6829-40ae-4506-9827-3baabffb507b} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUnixTimestamp64Nano' while processing query: 'SELECT toUnixTimestamp64Nano', required columns: 'toUnixTimestamp64Nano'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toUnixTimestamp64Nano;) 2026.10.27 19:26:57.809841 [ 5687 ] {3bec6829-40ae-4506-9827-3baabffb507b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUnixTimestamp64Nano' while processing query: 'SELECT toUnixTimestamp64Nano', required columns: 'toUnixTimestamp64Nano'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:57.834188 [ 5687 ] {5f9ab553-d647-4565-93a6-70fb0c49f8ae} executeQuery: Code: 47. DB::Exception: Missing columns: 'toValidUTF8' while processing query: 'SELECT toValidUTF8', required columns: 'toValidUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toValidUTF8;) 2026.10.27 19:26:57.838202 [ 5687 ] {5f9ab553-d647-4565-93a6-70fb0c49f8ae} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toValidUTF8' while processing query: 'SELECT toValidUTF8', required columns: 'toValidUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:57.857816 [ 5687 ] {25a15e6a-efb4-4c8c-a59c-30ba29c24275} executeQuery: Code: 47. DB::Exception: Missing columns: 'toWeek' while processing query: 'SELECT toWeek', required columns: 'toWeek'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toWeek;) 2026.10.27 19:26:57.861322 [ 5687 ] {25a15e6a-efb4-4c8c-a59c-30ba29c24275} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toWeek' while processing query: 'SELECT toWeek', required columns: 'toWeek'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:57.880688 [ 5687 ] {303a7127-ba0b-4987-85b3-cb4631d695df} executeQuery: Code: 47. DB::Exception: Missing columns: 'toYYYYMM' while processing query: 'SELECT toYYYYMM', required columns: 'toYYYYMM'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toYYYYMM;) 2026.10.27 19:26:57.882958 [ 5687 ] {303a7127-ba0b-4987-85b3-cb4631d695df} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toYYYYMM' while processing query: 'SELECT toYYYYMM', required columns: 'toYYYYMM'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:57.901230 [ 5687 ] {987afe93-510b-45dd-a265-e7a24bb6194e} executeQuery: Code: 47. DB::Exception: Missing columns: 'toYYYYMMDD' while processing query: 'SELECT toYYYYMMDD', required columns: 'toYYYYMMDD'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toYYYYMMDD;) 2026.10.27 19:26:57.903788 [ 5687 ] {987afe93-510b-45dd-a265-e7a24bb6194e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toYYYYMMDD' while processing query: 'SELECT toYYYYMMDD', required columns: 'toYYYYMMDD'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:57.916769 [ 5687 ] {c9384b8a-7319-4e2d-b2c4-9b944e40505c} executeQuery: Code: 47. DB::Exception: Missing columns: 'toYYYYMMDDhhmmss' while processing query: 'SELECT toYYYYMMDDhhmmss', required columns: 'toYYYYMMDDhhmmss'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toYYYYMMDDhhmmss;) 2026.10.27 19:26:57.918311 [ 5687 ] {c9384b8a-7319-4e2d-b2c4-9b944e40505c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toYYYYMMDDhhmmss' while processing query: 'SELECT toYYYYMMDDhhmmss', required columns: 'toYYYYMMDDhhmmss'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:57.927663 [ 5687 ] {9df5d1a8-6d93-4892-9932-c6b23b63217d} executeQuery: Code: 47. DB::Exception: Missing columns: 'toYear' while processing query: 'SELECT toYear', required columns: 'toYear'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toYear;) 2026.10.27 19:26:57.929247 [ 5687 ] {9df5d1a8-6d93-4892-9932-c6b23b63217d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toYear' while processing query: 'SELECT toYear', required columns: 'toYear'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:57.938529 [ 5687 ] {86517016-457d-4145-98bf-30805b3561db} executeQuery: Code: 47. DB::Exception: Missing columns: 'toYearWeek' while processing query: 'SELECT toYearWeek', required columns: 'toYearWeek'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT toYearWeek;) 2026.10.27 19:26:57.939865 [ 5687 ] {86517016-457d-4145-98bf-30805b3561db} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toYearWeek' while processing query: 'SELECT toYearWeek', required columns: 'toYearWeek'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:57.948111 [ 5687 ] {8113bde9-262e-4ef1-84a2-d628c910d34b} executeQuery: Code: 47. DB::Exception: Missing columns: 'to_utc_timestamp' while processing query: 'SELECT to_utc_timestamp', required columns: 'to_utc_timestamp'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT to_utc_timestamp;) 2026.10.27 19:26:57.949253 [ 5687 ] {8113bde9-262e-4ef1-84a2-d628c910d34b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'to_utc_timestamp' while processing query: 'SELECT to_utc_timestamp', required columns: 'to_utc_timestamp'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:57.959056 [ 5687 ] {605198dc-56e8-4d51-844d-37590dddd8bc} executeQuery: Code: 47. DB::Exception: Missing columns: 'today' while processing query: 'SELECT today', required columns: 'today'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT today;) 2026.10.27 19:26:58.060836 [ 5687 ] {605198dc-56e8-4d51-844d-37590dddd8bc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'today' while processing query: 'SELECT today', required columns: 'today'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:58.076592 [ 5687 ] {e7e1ec98-0c39-40ee-9d2a-90aefaa4c6fd} executeQuery: Code: 47. DB::Exception: Missing columns: 'tokens' while processing query: 'SELECT tokens', required columns: 'tokens'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tokens;) 2026.10.27 19:26:58.079176 [ 5687 ] {e7e1ec98-0c39-40ee-9d2a-90aefaa4c6fd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tokens' while processing query: 'SELECT tokens', required columns: 'tokens'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:58.193466 [ 5687 ] {3e85d719-a55d-4520-ad24-2cc5fa9f662f} executeQuery: Code: 47. DB::Exception: Missing columns: 'topK' while processing query: 'SELECT topK', required columns: 'topK'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT topK;) 2026.10.27 19:26:58.196724 [ 5687 ] {3e85d719-a55d-4520-ad24-2cc5fa9f662f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'topK' while processing query: 'SELECT topK', required columns: 'topK'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:58.217429 [ 5687 ] {53c13d2b-b9b6-459a-a0d3-d9f9766989cc} executeQuery: Code: 47. DB::Exception: Missing columns: 'topKWeighted' while processing query: 'SELECT topKWeighted', required columns: 'topKWeighted'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT topKWeighted;) 2026.10.27 19:26:58.220321 [ 5687 ] {53c13d2b-b9b6-459a-a0d3-d9f9766989cc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'topKWeighted' while processing query: 'SELECT topKWeighted', required columns: 'topKWeighted'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:58.448784 [ 5687 ] {04c84774-a009-4455-a4b8-5351598d5f33} executeQuery: Code: 47. DB::Exception: Missing columns: 'topLevelDomain' while processing query: 'SELECT topLevelDomain', required columns: 'topLevelDomain'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT topLevelDomain;) 2026.10.27 19:26:58.451600 [ 5687 ] {04c84774-a009-4455-a4b8-5351598d5f33} TCPHandler: Code: 47. DB::Exception: Missing columns: 'topLevelDomain' while processing query: 'SELECT topLevelDomain', required columns: 'topLevelDomain'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:58.572657 [ 5687 ] {ea26b32d-5c04-420a-9140-b43a2c560aa4} executeQuery: Code: 47. DB::Exception: Missing columns: 'topLevelDomainRFC' while processing query: 'SELECT topLevelDomainRFC', required columns: 'topLevelDomainRFC'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT topLevelDomainRFC;) 2026.10.27 19:26:58.575366 [ 5687 ] {ea26b32d-5c04-420a-9140-b43a2c560aa4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'topLevelDomainRFC' while processing query: 'SELECT topLevelDomainRFC', required columns: 'topLevelDomainRFC'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:58.594824 [ 5687 ] {e891e835-6a82-4627-b095-eafe21e9feb0} executeQuery: Code: 47. DB::Exception: Missing columns: 'transactionID' while processing query: 'SELECT transactionID', required columns: 'transactionID'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT transactionID;) 2026.10.27 19:26:58.597916 [ 5687 ] {e891e835-6a82-4627-b095-eafe21e9feb0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'transactionID' while processing query: 'SELECT transactionID', required columns: 'transactionID'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:58.615486 [ 5687 ] {94170bb2-9678-4181-a21e-184cb5ffe0c7} executeQuery: Code: 47. DB::Exception: Missing columns: 'transactionLatestSnapshot' while processing query: 'SELECT transactionLatestSnapshot', required columns: 'transactionLatestSnapshot'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT transactionLatestSnapshot;) 2026.10.27 19:26:58.618266 [ 5687 ] {94170bb2-9678-4181-a21e-184cb5ffe0c7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'transactionLatestSnapshot' while processing query: 'SELECT transactionLatestSnapshot', required columns: 'transactionLatestSnapshot'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:58.635840 [ 5687 ] {62530baa-04a4-4717-8487-87d172b99431} executeQuery: Code: 47. DB::Exception: Missing columns: 'transactionOldestSnapshot' while processing query: 'SELECT transactionOldestSnapshot', required columns: 'transactionOldestSnapshot'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT transactionOldestSnapshot;) 2026.10.27 19:26:58.638790 [ 5687 ] {62530baa-04a4-4717-8487-87d172b99431} TCPHandler: Code: 47. DB::Exception: Missing columns: 'transactionOldestSnapshot' while processing query: 'SELECT transactionOldestSnapshot', required columns: 'transactionOldestSnapshot'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:58.657226 [ 5687 ] {7ed00ee1-7fbe-4947-9cc7-7259d9c79d8b} executeQuery: Code: 47. DB::Exception: Missing columns: 'transform' while processing query: 'SELECT transform', required columns: 'transform'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT transform;) 2026.10.27 19:26:58.659702 [ 5687 ] {7ed00ee1-7fbe-4947-9cc7-7259d9c79d8b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'transform' while processing query: 'SELECT transform', required columns: 'transform'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:58.677577 [ 5687 ] {fb153529-427d-44cf-94a4-fe3234258b9c} executeQuery: Code: 47. DB::Exception: Missing columns: 'translate' while processing query: 'SELECT translate', required columns: 'translate'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT translate;) 2026.10.27 19:26:58.679958 [ 5687 ] {fb153529-427d-44cf-94a4-fe3234258b9c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'translate' while processing query: 'SELECT translate', required columns: 'translate'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:58.695298 [ 5687 ] {d701e846-ac3e-421a-9290-bd91a05b9181} executeQuery: Code: 47. DB::Exception: Missing columns: 'translateUTF8' while processing query: 'SELECT translateUTF8', required columns: 'translateUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT translateUTF8;) 2026.10.27 19:26:58.697116 [ 5687 ] {d701e846-ac3e-421a-9290-bd91a05b9181} TCPHandler: Code: 47. DB::Exception: Missing columns: 'translateUTF8' while processing query: 'SELECT translateUTF8', required columns: 'translateUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:58.709692 [ 5687 ] {6f26a811-88d5-4686-b376-59aee2ebb8e2} executeQuery: Code: 47. DB::Exception: Missing columns: 'trim' while processing query: 'SELECT trim', required columns: 'trim'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT trim;) 2026.10.27 19:26:58.711080 [ 5687 ] {6f26a811-88d5-4686-b376-59aee2ebb8e2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'trim' while processing query: 'SELECT trim', required columns: 'trim'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:58.722358 [ 5687 ] {9f41cab8-a6a7-49ad-950b-0efae2a0d273} executeQuery: Code: 47. DB::Exception: Missing columns: 'trimBoth' while processing query: 'SELECT trimBoth', required columns: 'trimBoth'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT trimBoth;) 2026.10.27 19:26:58.723463 [ 5687 ] {9f41cab8-a6a7-49ad-950b-0efae2a0d273} TCPHandler: Code: 47. DB::Exception: Missing columns: 'trimBoth' while processing query: 'SELECT trimBoth', required columns: 'trimBoth'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:58.838292 [ 5687 ] {94128488-4dc9-4a17-825a-a174d07b94e7} executeQuery: Code: 47. DB::Exception: Missing columns: 'trimLeft' while processing query: 'SELECT trimLeft', required columns: 'trimLeft'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT trimLeft;) 2026.10.27 19:26:58.841111 [ 5687 ] {94128488-4dc9-4a17-825a-a174d07b94e7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'trimLeft' while processing query: 'SELECT trimLeft', required columns: 'trimLeft'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:58.859089 [ 5687 ] {311a9c2e-5cfa-4e83-9772-d3eaa7e3193d} executeQuery: Code: 47. DB::Exception: Missing columns: 'trimRight' while processing query: 'SELECT trimRight', required columns: 'trimRight'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT trimRight;) 2026.10.27 19:26:58.861805 [ 6121 ] {14ed3496-9e78-4a55-ae3f-234e5988dc16} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.39 GiB (attempt to allocate chunk of 1050624 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002078b7b2 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:521: HashTable, StringHashTableHash, StringHashTableGrower<8ul>, Allocator>::alloc(StringHashTableGrower<8ul> const&) @ 0x00000000381b180b in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/StringHashTable.h:228: StringHashTable>>::StringHashTable() @ 0x00000000381b1537 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/HashTable/TwoLevelStringHashTable.h:43: TwoLevelStringHashTable>, StringHashMap>, 8ul>::TwoLevelStringHashTable>>(StringHashMap> const&) @ 0x00000000381afb49 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/HashTable/TwoLevelStringHashMap.h:0: DB::AggregatedDataVariants::convertToTwoLevel() @ 0x0000000037d9d6e4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd02f1 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:58.861954 [ 2242 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {87d63275-efc8-41cf-b773-50c08a335cb1::202610_1_61_13}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 1202879 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:87: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13f899 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:58.862069 [ 2246 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 4218943 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x00000000209e2844 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromS3::reallocateFirstBuffer() @ 0x00000000361edabc in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:126: DB::WriteBufferFromS3::nextImpl() @ 0x00000000361ec8a2 in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBuffer.h:60: DB::CachedOnDiskWriteBufferFromFile::nextImpl() @ 0x000000003584744a in /usr/bin/clickhouse 13. ./build_docker/./src/IO/WriteBuffer.h:60: DB::WriteBufferFromFileDecorator::nextImpl() @ 0x000000003584b666 in /usr/bin/clickhouse 14. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HashingWriteBuffer::nextImpl() @ 0x000000003cb90e85 in /usr/bin/clickhouse 15. DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000941dcac in /usr/bin/clickhouse 16. ./build_docker/./src/Compression/CompressedWriteBuffer.cpp:58: DB::CompressedWriteBuffer::nextImpl() @ 0x0000000036895c79 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HashingWriteBuffer::nextImpl() @ 0x000000003cb90e85 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/WriteBuffer.h:60: void std::__function::__policy_invoker::__call_impl, std::allocator>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d158779 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::getCurrentMarksForColumn(DB::NameAndTypePair const&, std::set, std::allocator>&) @ 0x000000003d14d4d0 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::writeColumn(DB::NameAndTypePair const&, DB::IColumn const&, std::set, std::allocator>&, std::vector> const&) @ 0x000000003d148dd2 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:251: DB::MergeTreeDataPartWriterWide::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d14255b in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::write(DB::Block const&) @ 0x000000003d648a09 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbbb02 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:58.862094 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.43 GiB (attempt to allocate chunk of 4693214 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a4a9253 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a4a6542 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c31ce7 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:58.862126 [ 12865 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.40 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:58.862227 [ 2350 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::AsynchronousMetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.41 GiB (attempt to allocate chunk of 4420690 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3b72d3 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3b47b2 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c23847 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:58.862399 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 5183036 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:58.862482 [ 5980 ] {} ExternalDictionariesLoader: Could not load external dictionary 'test_5.dict', next update is scheduled at 2026-10-27 19:27:06: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 134217728 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x000000002078b7b2 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/Allocator.h:199: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078d064 in /usr/bin/clickhouse 8. HashTable, HashTableNoState>, DefaultHash, DB::HashedDictionaryImpl::HashTableGrowerWithPrecalculationAndMaxLoadFactor<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000002bb33dfe in /usr/bin/clickhouse 9. void detail::static_for::getAttributeContainers::resize(unsigned long)::'lambda'(auto&)>(unsigned long, auto&&)::'lambda'(auto const&)&>(DB::AttributeUnderlyingType, auto&&)::'lambda'(auto), 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul, 8ul, 9ul, 10ul, 11ul, 12ul, 13ul, 14ul, 15ul, 16ul, 17ul, 18ul, 19ul, 20ul, 21ul, 22ul, 23ul>(void DB::callOnDictionaryAttributeType::getAttributeContainers::resize(unsigned long)::'lambda'(auto&)>(unsigned long, auto&&)::'lambda'(auto const&)&>(DB::AttributeUnderlyingType, auto&&)::'lambda'(auto)&&, std::integer_sequence) @ 0x000000002bbdbcac in /usr/bin/clickhouse 10. DB::HashedDictionary<(DB::DictionaryKeyType)0, true, false>::loadData() @ 0x000000002b3e4799 in /usr/bin/clickhouse 11. DB::HashedDictionary<(DB::DictionaryKeyType)0, true, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x000000002b3e3401 in /usr/bin/clickhouse 12. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000002b3b8356 in /usr/bin/clickhouse 13. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b3ba3d7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000035256311 in /usr/bin/clickhouse 15. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000035252fb7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038c9ac44 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038ca6a60 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cc3485 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cba4b5 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ccec9a in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038cce77f in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:58.862983 [ 4309 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:26:58.942492 [ 5708 ] {e11ad889-aa22-4d15-8f48-4879e1ad531b} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56046) (comment: 01945_system_warnings.sh) (in query: SELECT count() < 10 FROM system.warnings), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:26:58.964661 [ 5687 ] {311a9c2e-5cfa-4e83-9772-d3eaa7e3193d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'trimRight' while processing query: 'SELECT trimRight', required columns: 'trimRight'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:59.089352 [ 5687 ] {5302d4b4-f48c-40df-98c3-7276f1b84b70} executeQuery: Code: 47. DB::Exception: Missing columns: 'trunc' while processing query: 'SELECT trunc', required columns: 'trunc'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT trunc;) 2026.10.27 19:26:59.095975 [ 5687 ] {5302d4b4-f48c-40df-98c3-7276f1b84b70} TCPHandler: Code: 47. DB::Exception: Missing columns: 'trunc' while processing query: 'SELECT trunc', required columns: 'trunc'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:59.139519 [ 5687 ] {b73572b5-5021-42bc-9bae-a9945b13e82f} executeQuery: Code: 47. DB::Exception: Missing columns: 'truncate' while processing query: 'SELECT truncate', required columns: 'truncate'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT truncate;) 2026.10.27 19:26:59.146806 [ 5687 ] {b73572b5-5021-42bc-9bae-a9945b13e82f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'truncate' while processing query: 'SELECT truncate', required columns: 'truncate'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:59.167710 [ 5687 ] {40ae0d52-58d0-49a0-9b93-35b951800715} executeQuery: Code: 47. DB::Exception: Missing columns: 'tryBase58Decode' while processing query: 'SELECT tryBase58Decode', required columns: 'tryBase58Decode'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tryBase58Decode;) 2026.10.27 19:26:59.169593 [ 5687 ] {40ae0d52-58d0-49a0-9b93-35b951800715} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tryBase58Decode' while processing query: 'SELECT tryBase58Decode', required columns: 'tryBase58Decode'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:59.183001 [ 5687 ] {66451255-d1ea-495c-8a1d-290fa1abb4cc} executeQuery: Code: 47. DB::Exception: Missing columns: 'tryBase64Decode' while processing query: 'SELECT tryBase64Decode', required columns: 'tryBase64Decode'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tryBase64Decode;) 2026.10.27 19:26:59.184457 [ 5687 ] {66451255-d1ea-495c-8a1d-290fa1abb4cc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tryBase64Decode' while processing query: 'SELECT tryBase64Decode', required columns: 'tryBase64Decode'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:59.299442 [ 5687 ] {9edad296-86c7-4140-bffc-5bc9351ac73b} executeQuery: Code: 47. DB::Exception: Missing columns: 'tryDecrypt' while processing query: 'SELECT tryDecrypt', required columns: 'tryDecrypt'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tryDecrypt;) 2026.10.27 19:26:59.302598 [ 5687 ] {9edad296-86c7-4140-bffc-5bc9351ac73b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tryDecrypt' while processing query: 'SELECT tryDecrypt', required columns: 'tryDecrypt'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:59.422844 [ 5687 ] {d63e58d7-31a0-4fc3-99e1-ece802aa5144} executeQuery: Code: 47. DB::Exception: Missing columns: 'tumble' while processing query: 'SELECT tumble', required columns: 'tumble'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tumble;) 2026.10.27 19:26:59.425408 [ 5687 ] {d63e58d7-31a0-4fc3-99e1-ece802aa5144} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tumble' while processing query: 'SELECT tumble', required columns: 'tumble'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:59.445983 [ 5687 ] {fa8121d5-cd3c-473a-af3b-3f10b000b360} executeQuery: Code: 47. DB::Exception: Missing columns: 'tumbleEnd' while processing query: 'SELECT tumbleEnd', required columns: 'tumbleEnd'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tumbleEnd;) 2026.10.27 19:26:59.448914 [ 5687 ] {fa8121d5-cd3c-473a-af3b-3f10b000b360} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tumbleEnd' while processing query: 'SELECT tumbleEnd', required columns: 'tumbleEnd'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:59.467895 [ 5687 ] {e2da7147-52d0-4665-b26d-7c45179c6acd} executeQuery: Code: 47. DB::Exception: Missing columns: 'tumbleStart' while processing query: 'SELECT tumbleStart', required columns: 'tumbleStart'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tumbleStart;) 2026.10.27 19:26:59.470739 [ 5687 ] {e2da7147-52d0-4665-b26d-7c45179c6acd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tumbleStart' while processing query: 'SELECT tumbleStart', required columns: 'tumbleStart'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:59.489713 [ 5687 ] {ad9b356f-8445-44f4-83b1-8cb85cad298c} executeQuery: Code: 47. DB::Exception: Missing columns: 'tuple' while processing query: 'SELECT tuple', required columns: 'tuple'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tuple;) 2026.10.27 19:26:59.492124 [ 5687 ] {ad9b356f-8445-44f4-83b1-8cb85cad298c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tuple' while processing query: 'SELECT tuple', required columns: 'tuple'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:59.617445 [ 5687 ] {cf7f32ce-2162-4844-af2a-f9610cc51cae} executeQuery: Code: 47. DB::Exception: Missing columns: 'tupleConcat' while processing query: 'SELECT tupleConcat', required columns: 'tupleConcat'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tupleConcat;) 2026.10.27 19:26:59.619949 [ 5687 ] {cf7f32ce-2162-4844-af2a-f9610cc51cae} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tupleConcat' while processing query: 'SELECT tupleConcat', required columns: 'tupleConcat'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:59.635378 [ 5687 ] {2dece2df-d899-4fe7-9e1c-8d9d38014019} executeQuery: Code: 47. DB::Exception: Missing columns: 'tupleDivide' while processing query: 'SELECT tupleDivide', required columns: 'tupleDivide'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tupleDivide;) 2026.10.27 19:26:59.738139 [ 5687 ] {2dece2df-d899-4fe7-9e1c-8d9d38014019} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tupleDivide' while processing query: 'SELECT tupleDivide', required columns: 'tupleDivide'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:59.782941 [ 2267 ] {} system.query_log (13357df0-4c21-4882-9b4a-8910a41b6ae4): Removing temporary directory /var/lib/clickhouse/disks/s3/store/133/13357df0-4c21-4882-9b4a-8910a41b6ae4/tmp_merge_202610_1_78_11/ 2026.10.27 19:26:59.783185 [ 2267 ] {} system.query_log (13357df0-4c21-4882-9b4a-8910a41b6ae4): Since zero-copy replication is enabled we are not going to remove blobs from shared storage for /var/lib/clickhouse/disks/s3/store/133/13357df0-4c21-4882-9b4a-8910a41b6ae4/tmp_merge_202610_1_78_11/ 2026.10.27 19:26:59.856381 [ 5687 ] {5b866adb-fc17-4c08-9222-1f9e27cea3a3} executeQuery: Code: 47. DB::Exception: Missing columns: 'tupleDivideByNumber' while processing query: 'SELECT tupleDivideByNumber', required columns: 'tupleDivideByNumber'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tupleDivideByNumber;) 2026.10.27 19:26:59.859153 [ 5687 ] {5b866adb-fc17-4c08-9222-1f9e27cea3a3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tupleDivideByNumber' while processing query: 'SELECT tupleDivideByNumber', required columns: 'tupleDivideByNumber'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:59.881380 [ 5687 ] {73a66757-52f7-431d-b82d-fdd55ccafac1} executeQuery: Code: 47. DB::Exception: Missing columns: 'tupleElement' while processing query: 'SELECT tupleElement', required columns: 'tupleElement'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tupleElement;) 2026.10.27 19:26:59.884345 [ 5687 ] {73a66757-52f7-431d-b82d-fdd55ccafac1} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tupleElement' while processing query: 'SELECT tupleElement', required columns: 'tupleElement'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:59.901227 [ 5687 ] {0ccec039-8b2f-44dc-85ae-16a242ab4e5b} executeQuery: Code: 47. DB::Exception: Missing columns: 'tupleHammingDistance' while processing query: 'SELECT tupleHammingDistance', required columns: 'tupleHammingDistance'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tupleHammingDistance;) 2026.10.27 19:26:59.903084 [ 5687 ] {0ccec039-8b2f-44dc-85ae-16a242ab4e5b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tupleHammingDistance' while processing query: 'SELECT tupleHammingDistance', required columns: 'tupleHammingDistance'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:59.918154 [ 5687 ] {c53f319b-99c4-4f73-8a9f-f9171f5972ae} executeQuery: Code: 47. DB::Exception: Missing columns: 'tupleIntDiv' while processing query: 'SELECT tupleIntDiv', required columns: 'tupleIntDiv'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tupleIntDiv;) 2026.10.27 19:26:59.919989 [ 5687 ] {c53f319b-99c4-4f73-8a9f-f9171f5972ae} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tupleIntDiv' while processing query: 'SELECT tupleIntDiv', required columns: 'tupleIntDiv'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:59.934997 [ 5687 ] {28b0342c-c715-44c2-8f81-5b522876c703} executeQuery: Code: 47. DB::Exception: Missing columns: 'tupleIntDivByNumber' while processing query: 'SELECT tupleIntDivByNumber', required columns: 'tupleIntDivByNumber'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tupleIntDivByNumber;) 2026.10.27 19:26:59.937047 [ 5687 ] {28b0342c-c715-44c2-8f81-5b522876c703} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tupleIntDivByNumber' while processing query: 'SELECT tupleIntDivByNumber', required columns: 'tupleIntDivByNumber'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:59.948114 [ 5687 ] {2e5b06e3-e3cd-4057-9c57-35ac81feefda} executeQuery: Code: 47. DB::Exception: Missing columns: 'tupleIntDivOrZero' while processing query: 'SELECT tupleIntDivOrZero', required columns: 'tupleIntDivOrZero'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tupleIntDivOrZero;) 2026.10.27 19:26:59.949156 [ 5687 ] {2e5b06e3-e3cd-4057-9c57-35ac81feefda} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tupleIntDivOrZero' while processing query: 'SELECT tupleIntDivOrZero', required columns: 'tupleIntDivOrZero'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:59.958470 [ 5687 ] {b12dc0fb-e2cc-46ac-9554-d0fbad06c96d} executeQuery: Code: 47. DB::Exception: Missing columns: 'tupleIntDivOrZeroByNumber' while processing query: 'SELECT tupleIntDivOrZeroByNumber', required columns: 'tupleIntDivOrZeroByNumber'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tupleIntDivOrZeroByNumber;) 2026.10.27 19:26:59.960139 [ 5687 ] {b12dc0fb-e2cc-46ac-9554-d0fbad06c96d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tupleIntDivOrZeroByNumber' while processing query: 'SELECT tupleIntDivOrZeroByNumber', required columns: 'tupleIntDivOrZeroByNumber'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:59.970598 [ 5687 ] {057c759a-3bd9-430b-927a-0fde363ffd91} executeQuery: Code: 47. DB::Exception: Missing columns: 'tupleMinus' while processing query: 'SELECT tupleMinus', required columns: 'tupleMinus'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tupleMinus;) 2026.10.27 19:26:59.972500 [ 5687 ] {057c759a-3bd9-430b-927a-0fde363ffd91} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tupleMinus' while processing query: 'SELECT tupleMinus', required columns: 'tupleMinus'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:26:59.987344 [ 5687 ] {29e70e27-00d8-4043-937c-86a5fbaca903} executeQuery: Code: 47. DB::Exception: Missing columns: 'tupleModulo' while processing query: 'SELECT tupleModulo', required columns: 'tupleModulo'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tupleModulo;) 2026.10.27 19:26:59.989236 [ 5687 ] {29e70e27-00d8-4043-937c-86a5fbaca903} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tupleModulo' while processing query: 'SELECT tupleModulo', required columns: 'tupleModulo'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:00.109889 [ 5687 ] {a485413a-0af8-46e1-898b-0775a5f11edd} executeQuery: Code: 47. DB::Exception: Missing columns: 'tupleModuloByNumber' while processing query: 'SELECT tupleModuloByNumber', required columns: 'tupleModuloByNumber'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tupleModuloByNumber;) 2026.10.27 19:27:00.188500 [ 5687 ] {a485413a-0af8-46e1-898b-0775a5f11edd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tupleModuloByNumber' while processing query: 'SELECT tupleModuloByNumber', required columns: 'tupleModuloByNumber'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:00.205393 [ 5687 ] {c7e7804d-41f6-4723-a8aa-1b0d3b0e4baf} executeQuery: Code: 47. DB::Exception: Missing columns: 'tupleMultiply' while processing query: 'SELECT tupleMultiply', required columns: 'tupleMultiply'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tupleMultiply;) 2026.10.27 19:27:00.209742 [ 5687 ] {c7e7804d-41f6-4723-a8aa-1b0d3b0e4baf} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tupleMultiply' while processing query: 'SELECT tupleMultiply', required columns: 'tupleMultiply'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:00.221518 [ 5687 ] {06fd6f38-61f0-4604-ae8b-6241b3c28626} executeQuery: Code: 47. DB::Exception: Missing columns: 'tupleMultiplyByNumber' while processing query: 'SELECT tupleMultiplyByNumber', required columns: 'tupleMultiplyByNumber'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tupleMultiplyByNumber;) 2026.10.27 19:27:00.223633 [ 5687 ] {06fd6f38-61f0-4604-ae8b-6241b3c28626} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tupleMultiplyByNumber' while processing query: 'SELECT tupleMultiplyByNumber', required columns: 'tupleMultiplyByNumber'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:00.439518 [ 5687 ] {98297709-4b7d-47e1-9682-6a1e5f242c5f} executeQuery: Code: 47. DB::Exception: Missing columns: 'tupleNegate' while processing query: 'SELECT tupleNegate', required columns: 'tupleNegate'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tupleNegate;) 2026.10.27 19:27:00.441884 [ 5687 ] {98297709-4b7d-47e1-9682-6a1e5f242c5f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tupleNegate' while processing query: 'SELECT tupleNegate', required columns: 'tupleNegate'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:00.457812 [ 5687 ] {e949ade4-53f4-4265-82f7-21017d6b1b14} executeQuery: Code: 47. DB::Exception: Missing columns: 'tuplePlus' while processing query: 'SELECT tuplePlus', required columns: 'tuplePlus'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tuplePlus;) 2026.10.27 19:27:00.459508 [ 5687 ] {e949ade4-53f4-4265-82f7-21017d6b1b14} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tuplePlus' while processing query: 'SELECT tuplePlus', required columns: 'tuplePlus'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:00.467102 [ 4287 ] {20558b31-e3c2-45fa-b3d7-c0f566f88dc6} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 1053008 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56038) (comment: 01720_country_intersection.sh) (in query: insert into country_rings format TSV), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036fa2d07 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::SerializationNamed::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036f54a8c in /usr/bin/clickhouse 13. ./build_docker/./src/DataTypes/Serializations/SerializationTuple.cpp:0: DB::SerializationTuple::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000037018ccc in /usr/bin/clickhouse 14. ./build_docker/./src/DataTypes/Serializations/SerializationArray.cpp:0: DB::SerializationArray::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036ec3723 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000003e149fb4 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::NativeReader::read() @ 0x000000003e14e5f5 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::TCPHandler::receiveData(bool) @ 0x000000003e0cafba in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:1477: DB::TCPHandler::receivePacket() @ 0x000000003e0a52b6 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:795: DB::TCPHandler::readDataNext() @ 0x000000003e0add82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:861: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7496 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:00.474337 [ 5687 ] {12c6a5bc-49ff-4e86-bab5-bd824d5eee50} executeQuery: Code: 47. DB::Exception: Missing columns: 'tupleToNameValuePairs' while processing query: 'SELECT tupleToNameValuePairs', required columns: 'tupleToNameValuePairs'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT tupleToNameValuePairs;) 2026.10.27 19:27:00.576409 [ 5687 ] {12c6a5bc-49ff-4e86-bab5-bd824d5eee50} TCPHandler: Code: 47. DB::Exception: Missing columns: 'tupleToNameValuePairs' while processing query: 'SELECT tupleToNameValuePairs', required columns: 'tupleToNameValuePairs'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:00.704777 [ 5687 ] {8ec39f2e-8b4c-42df-9da5-a5ef50296618} executeQuery: Code: 47. DB::Exception: Missing columns: 'ucase' while processing query: 'SELECT ucase', required columns: 'ucase'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT ucase;) 2026.10.27 19:27:00.710786 [ 5687 ] {8ec39f2e-8b4c-42df-9da5-a5ef50296618} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ucase' while processing query: 'SELECT ucase', required columns: 'ucase'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:00.741453 [ 5687 ] {76c2c586-7d24-42d8-aac8-2ecfe470f4fd} executeQuery: Code: 47. DB::Exception: Missing columns: 'unbin' while processing query: 'SELECT unbin', required columns: 'unbin'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT unbin;) 2026.10.27 19:27:00.747689 [ 5687 ] {76c2c586-7d24-42d8-aac8-2ecfe470f4fd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'unbin' while processing query: 'SELECT unbin', required columns: 'unbin'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:00.766679 [ 5687 ] {130be44c-59c5-4b0f-a080-d50dbb3a85d8} executeQuery: Code: 47. DB::Exception: Missing columns: 'unhex' while processing query: 'SELECT unhex', required columns: 'unhex'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT unhex;) 2026.10.27 19:27:00.769534 [ 5687 ] {130be44c-59c5-4b0f-a080-d50dbb3a85d8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'unhex' while processing query: 'SELECT unhex', required columns: 'unhex'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:00.789691 [ 5687 ] {26778da6-01a1-463c-bebc-7c604bea2d59} executeQuery: Code: 47. DB::Exception: Missing columns: 'unhexPrefixed' while processing query: 'SELECT unhexPrefixed', required columns: 'unhexPrefixed'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT unhexPrefixed;) 2026.10.27 19:27:00.793616 [ 5687 ] {26778da6-01a1-463c-bebc-7c604bea2d59} TCPHandler: Code: 47. DB::Exception: Missing columns: 'unhexPrefixed' while processing query: 'SELECT unhexPrefixed', required columns: 'unhexPrefixed'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:00.820643 [ 5687 ] {345a8815-8c51-48ca-837d-ee530ba1b74d} executeQuery: Code: 47. DB::Exception: Missing columns: 'uniq' while processing query: 'SELECT uniq', required columns: 'uniq'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT uniq;) 2026.10.27 19:27:00.826036 [ 5687 ] {345a8815-8c51-48ca-837d-ee530ba1b74d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'uniq' while processing query: 'SELECT uniq', required columns: 'uniq'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:00.842665 [ 5687 ] {adb8d4f8-3455-4c71-b354-085a23ffdb9b} executeQuery: Code: 47. DB::Exception: Missing columns: 'uniqCombined' while processing query: 'SELECT uniqCombined', required columns: 'uniqCombined'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT uniqCombined;) 2026.10.27 19:27:00.844913 [ 5687 ] {adb8d4f8-3455-4c71-b354-085a23ffdb9b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'uniqCombined' while processing query: 'SELECT uniqCombined', required columns: 'uniqCombined'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:00.862301 [ 5687 ] {cd87f9a8-0236-407a-a916-a2cabc214aaa} executeQuery: Code: 47. DB::Exception: Missing columns: 'uniqCombined64' while processing query: 'SELECT uniqCombined64', required columns: 'uniqCombined64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT uniqCombined64;) 2026.10.27 19:27:00.864770 [ 5687 ] {cd87f9a8-0236-407a-a916-a2cabc214aaa} TCPHandler: Code: 47. DB::Exception: Missing columns: 'uniqCombined64' while processing query: 'SELECT uniqCombined64', required columns: 'uniqCombined64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:00.881351 [ 5687 ] {79515a25-778e-412f-b292-bf6c3e7ecc2b} executeQuery: Code: 47. DB::Exception: Missing columns: 'uniqExact' while processing query: 'SELECT uniqExact', required columns: 'uniqExact'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT uniqExact;) 2026.10.27 19:27:00.883353 [ 5687 ] {79515a25-778e-412f-b292-bf6c3e7ecc2b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'uniqExact' while processing query: 'SELECT uniqExact', required columns: 'uniqExact'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:00.898537 [ 5687 ] {aa566f3c-9179-4244-8e1d-98fc1714d910} executeQuery: Code: 47. DB::Exception: Missing columns: 'uniqHLL12' while processing query: 'SELECT uniqHLL12', required columns: 'uniqHLL12'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT uniqHLL12;) 2026.10.27 19:27:00.900465 [ 5687 ] {aa566f3c-9179-4244-8e1d-98fc1714d910} TCPHandler: Code: 47. DB::Exception: Missing columns: 'uniqHLL12' while processing query: 'SELECT uniqHLL12', required columns: 'uniqHLL12'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:00.913957 [ 5687 ] {e89333cb-7d82-4d55-a333-86ffc7400ae3} executeQuery: Code: 47. DB::Exception: Missing columns: 'uniqTheta' while processing query: 'SELECT uniqTheta', required columns: 'uniqTheta'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT uniqTheta;) 2026.10.27 19:27:00.915427 [ 5687 ] {e89333cb-7d82-4d55-a333-86ffc7400ae3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'uniqTheta' while processing query: 'SELECT uniqTheta', required columns: 'uniqTheta'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:00.931299 [ 5687 ] {e4152da3-4268-4072-9467-494e4d6a36c5} executeQuery: Code: 47. DB::Exception: Missing columns: 'uniqThetaIntersect' while processing query: 'SELECT uniqThetaIntersect', required columns: 'uniqThetaIntersect'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT uniqThetaIntersect;) 2026.10.27 19:27:00.933313 [ 5687 ] {e4152da3-4268-4072-9467-494e4d6a36c5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'uniqThetaIntersect' while processing query: 'SELECT uniqThetaIntersect', required columns: 'uniqThetaIntersect'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:00.950595 [ 5687 ] {a0f170e4-1fb1-4c57-b314-1f9a811f58e7} executeQuery: Code: 47. DB::Exception: Missing columns: 'uniqThetaNot' while processing query: 'SELECT uniqThetaNot', required columns: 'uniqThetaNot'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT uniqThetaNot;) 2026.10.27 19:27:00.953439 [ 5687 ] {a0f170e4-1fb1-4c57-b314-1f9a811f58e7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'uniqThetaNot' while processing query: 'SELECT uniqThetaNot', required columns: 'uniqThetaNot'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:00.967535 [ 5687 ] {e34dc9ae-0fbb-4aa6-9e1f-5424fb426933} executeQuery: Code: 47. DB::Exception: Missing columns: 'uniqThetaUnion' while processing query: 'SELECT uniqThetaUnion', required columns: 'uniqThetaUnion'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT uniqThetaUnion;) 2026.10.27 19:27:00.969323 [ 5687 ] {e34dc9ae-0fbb-4aa6-9e1f-5424fb426933} TCPHandler: Code: 47. DB::Exception: Missing columns: 'uniqThetaUnion' while processing query: 'SELECT uniqThetaUnion', required columns: 'uniqThetaUnion'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:00.982408 [ 5687 ] {b8d94ebe-34f7-4b72-9409-e209c404e2d7} executeQuery: Code: 47. DB::Exception: Missing columns: 'uniqUpTo' while processing query: 'SELECT uniqUpTo', required columns: 'uniqUpTo'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT uniqUpTo;) 2026.10.27 19:27:00.983891 [ 5687 ] {b8d94ebe-34f7-4b72-9409-e209c404e2d7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'uniqUpTo' while processing query: 'SELECT uniqUpTo', required columns: 'uniqUpTo'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:00.997133 [ 5687 ] {abe6a599-fe25-4dcb-bbbf-5baf3a4e47cb} executeQuery: Code: 47. DB::Exception: Missing columns: 'upper' while processing query: 'SELECT upper', required columns: 'upper'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT upper;) 2026.10.27 19:27:00.998602 [ 5687 ] {abe6a599-fe25-4dcb-bbbf-5baf3a4e47cb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'upper' while processing query: 'SELECT upper', required columns: 'upper'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:01.011793 [ 5687 ] {d8c07e3d-e92a-40d4-ac51-5faa9f074d78} executeQuery: Code: 47. DB::Exception: Missing columns: 'upperUTF8' while processing query: 'SELECT upperUTF8', required columns: 'upperUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT upperUTF8;) 2026.10.27 19:27:01.013534 [ 5687 ] {d8c07e3d-e92a-40d4-ac51-5faa9f074d78} TCPHandler: Code: 47. DB::Exception: Missing columns: 'upperUTF8' while processing query: 'SELECT upperUTF8', required columns: 'upperUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:01.026649 [ 5687 ] {e9aea6d1-ffb3-48e0-807b-7f326d7ed3cb} executeQuery: Code: 47. DB::Exception: Missing columns: 'uptime' while processing query: 'SELECT uptime', required columns: 'uptime'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT uptime;) 2026.10.27 19:27:01.028347 [ 5687 ] {e9aea6d1-ffb3-48e0-807b-7f326d7ed3cb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'uptime' while processing query: 'SELECT uptime', required columns: 'uptime'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:01.040860 [ 5687 ] {71e2e908-5b16-416f-bb82-11818ebc6bf7} executeQuery: Code: 47. DB::Exception: Missing columns: 'user' while processing query: 'SELECT user', required columns: 'user'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT user;) 2026.10.27 19:27:01.042249 [ 5687 ] {71e2e908-5b16-416f-bb82-11818ebc6bf7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'user' while processing query: 'SELECT user', required columns: 'user'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:01.056837 [ 5687 ] {05f89836-3e66-4f40-b0d5-59e89732f675} executeQuery: Code: 47. DB::Exception: Missing columns: 'validateNestedArraySizes' while processing query: 'SELECT validateNestedArraySizes', required columns: 'validateNestedArraySizes'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT validateNestedArraySizes;) 2026.10.27 19:27:01.058563 [ 5687 ] {05f89836-3e66-4f40-b0d5-59e89732f675} TCPHandler: Code: 47. DB::Exception: Missing columns: 'validateNestedArraySizes' while processing query: 'SELECT validateNestedArraySizes', required columns: 'validateNestedArraySizes'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:01.073196 [ 5687 ] {0b4f9290-7c3c-443a-afd4-10076c5a06d8} executeQuery: Code: 47. DB::Exception: Missing columns: 'varPop' while processing query: 'SELECT varPop', required columns: 'varPop'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT varPop;) 2026.10.27 19:27:01.074936 [ 5687 ] {0b4f9290-7c3c-443a-afd4-10076c5a06d8} TCPHandler: Code: 47. DB::Exception: Missing columns: 'varPop' while processing query: 'SELECT varPop', required columns: 'varPop'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:01.089364 [ 5687 ] {ff0392c9-4a89-408e-9748-d6792d8aa49d} executeQuery: Code: 47. DB::Exception: Missing columns: 'varPopStable' while processing query: 'SELECT varPopStable', required columns: 'varPopStable'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT varPopStable;) 2026.10.27 19:27:01.091201 [ 5687 ] {ff0392c9-4a89-408e-9748-d6792d8aa49d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'varPopStable' while processing query: 'SELECT varPopStable', required columns: 'varPopStable'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:01.104811 [ 5708 ] {e11ad889-aa22-4d15-8f48-4879e1ad531b} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:01.104972 [ 12870 ] {5c16fad9-d989-4771-b1c6-fe8174286d36} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 1703936 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: while executing 'FUNCTION positionCaseInsensitiveUTF8('иголка.ру' :: 0, randomString(modulo(rand(), 2)) :: 2) -> positionCaseInsensitiveUTF8('иголка.ру', randomString(modulo(rand(), 2))) UInt64 : 3'. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56456) (comment: 01674_unicode_asan.sql) (in query: SELECT sum(ignore(positionCaseInsensitiveUTF8('иголка.ру', randomString(rand() % 2)))) FROM numbers(1000000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 10. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001c7e69b9 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eb883db in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:01.105865 [ 5687 ] {b1fcedd8-d124-4715-81f1-4e074122b35b} executeQuery: Code: 47. DB::Exception: Missing columns: 'varSamp' while processing query: 'SELECT varSamp', required columns: 'varSamp'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT varSamp;) 2026.10.27 19:27:01.107660 [ 5687 ] {b1fcedd8-d124-4715-81f1-4e074122b35b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'varSamp' while processing query: 'SELECT varSamp', required columns: 'varSamp'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:01.122747 [ 5687 ] {26cf13d1-f85b-4d70-913a-ab8ac111d52f} executeQuery: Code: 47. DB::Exception: Missing columns: 'varSampStable' while processing query: 'SELECT varSampStable', required columns: 'varSampStable'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT varSampStable;) 2026.10.27 19:27:01.125009 [ 5687 ] {26cf13d1-f85b-4d70-913a-ab8ac111d52f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'varSampStable' while processing query: 'SELECT varSampStable', required columns: 'varSampStable'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:01.142397 [ 5687 ] {86308878-784e-4cab-af05-b4e9fba63167} executeQuery: Code: 47. DB::Exception: Missing columns: 'vectorDifference' while processing query: 'SELECT vectorDifference', required columns: 'vectorDifference'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT vectorDifference;) 2026.10.27 19:27:01.144300 [ 5687 ] {86308878-784e-4cab-af05-b4e9fba63167} TCPHandler: Code: 47. DB::Exception: Missing columns: 'vectorDifference' while processing query: 'SELECT vectorDifference', required columns: 'vectorDifference'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:01.161722 [ 5687 ] {6f668a8a-9b63-434b-b092-c86e25f8deae} executeQuery: Code: 47. DB::Exception: Missing columns: 'vectorSum' while processing query: 'SELECT vectorSum', required columns: 'vectorSum'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT vectorSum;) 2026.10.27 19:27:01.163588 [ 5687 ] {6f668a8a-9b63-434b-b092-c86e25f8deae} TCPHandler: Code: 47. DB::Exception: Missing columns: 'vectorSum' while processing query: 'SELECT vectorSum', required columns: 'vectorSum'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:01.179373 [ 5687 ] {6acd4904-f6d0-4638-9ad7-2a6ff56b4fdb} executeQuery: Code: 47. DB::Exception: Missing columns: 'version' while processing query: 'SELECT version', required columns: 'version'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT version;) 2026.10.27 19:27:01.181367 [ 5687 ] {6acd4904-f6d0-4638-9ad7-2a6ff56b4fdb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'version' while processing query: 'SELECT version', required columns: 'version'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:01.297793 [ 5687 ] {c96b1d24-cbbf-4475-a55a-e317782e45bc} executeQuery: Code: 47. DB::Exception: Missing columns: 'visibleWidth' while processing query: 'SELECT visibleWidth', required columns: 'visibleWidth'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT visibleWidth;) 2026.10.27 19:27:01.301626 [ 5687 ] {c96b1d24-cbbf-4475-a55a-e317782e45bc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'visibleWidth' while processing query: 'SELECT visibleWidth', required columns: 'visibleWidth'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:01.425922 [ 5687 ] {1c94fba7-b69b-4d92-848c-724f5ea9e58b} executeQuery: Code: 47. DB::Exception: Missing columns: 'visitParamExtractBool' while processing query: 'SELECT visitParamExtractBool', required columns: 'visitParamExtractBool'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT visitParamExtractBool;) 2026.10.27 19:27:01.430652 [ 5687 ] {1c94fba7-b69b-4d92-848c-724f5ea9e58b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'visitParamExtractBool' while processing query: 'SELECT visitParamExtractBool', required columns: 'visitParamExtractBool'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:01.554020 [ 5687 ] {271371f3-f12c-493b-acd1-39900061de50} executeQuery: Code: 47. DB::Exception: Missing columns: 'visitParamExtractFloat' while processing query: 'SELECT visitParamExtractFloat', required columns: 'visitParamExtractFloat'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT visitParamExtractFloat;) 2026.10.27 19:27:01.564463 [ 5687 ] {271371f3-f12c-493b-acd1-39900061de50} TCPHandler: Code: 47. DB::Exception: Missing columns: 'visitParamExtractFloat' while processing query: 'SELECT visitParamExtractFloat', required columns: 'visitParamExtractFloat'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:01.688539 [ 5687 ] {08efa38e-6ed0-4edc-9d99-a81b9836b692} executeQuery: Code: 47. DB::Exception: Missing columns: 'visitParamExtractInt' while processing query: 'SELECT visitParamExtractInt', required columns: 'visitParamExtractInt'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT visitParamExtractInt;) 2026.10.27 19:27:01.691980 [ 5687 ] {08efa38e-6ed0-4edc-9d99-a81b9836b692} TCPHandler: Code: 47. DB::Exception: Missing columns: 'visitParamExtractInt' while processing query: 'SELECT visitParamExtractInt', required columns: 'visitParamExtractInt'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:01.710027 [ 5687 ] {78f43f0a-0617-4760-b8b4-3a18fa4d3887} executeQuery: Code: 47. DB::Exception: Missing columns: 'visitParamExtractRaw' while processing query: 'SELECT visitParamExtractRaw', required columns: 'visitParamExtractRaw'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT visitParamExtractRaw;) 2026.10.27 19:27:01.812628 [ 5687 ] {78f43f0a-0617-4760-b8b4-3a18fa4d3887} TCPHandler: Code: 47. DB::Exception: Missing columns: 'visitParamExtractRaw' while processing query: 'SELECT visitParamExtractRaw', required columns: 'visitParamExtractRaw'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:01.838035 [ 5687 ] {111e89d7-0379-44c9-8881-29f74fa01f52} executeQuery: Code: 47. DB::Exception: Missing columns: 'visitParamExtractString' while processing query: 'SELECT visitParamExtractString', required columns: 'visitParamExtractString'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT visitParamExtractString;) 2026.10.27 19:27:01.844953 [ 5687 ] {111e89d7-0379-44c9-8881-29f74fa01f52} TCPHandler: Code: 47. DB::Exception: Missing columns: 'visitParamExtractString' while processing query: 'SELECT visitParamExtractString', required columns: 'visitParamExtractString'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:01.872261 [ 5687 ] {61e0d880-2ef8-478d-b4c1-73ca922b5813} executeQuery: Code: 47. DB::Exception: Missing columns: 'visitParamExtractUInt' while processing query: 'SELECT visitParamExtractUInt', required columns: 'visitParamExtractUInt'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT visitParamExtractUInt;) 2026.10.27 19:27:01.874843 [ 5687 ] {61e0d880-2ef8-478d-b4c1-73ca922b5813} TCPHandler: Code: 47. DB::Exception: Missing columns: 'visitParamExtractUInt' while processing query: 'SELECT visitParamExtractUInt', required columns: 'visitParamExtractUInt'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:01.989362 [ 1848 ] {726063e7-023e-48f5-ab65-f69c8b36a031} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 1082549 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: Cache info: Buffer path: test/mhl/waixgkhhspcnjoqefwwmooizdbmfh, hash key: 8427716bd7108e3da4599f9a147c80eb, file_offset_of_buffer_end: 0, read_until_position: 695, internal buffer end: 695, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 726063e7-023e-48f5-ab65-f69c8b36a031:7252, file segment info: File segment: [0, 694], key: 8427716bd7108e3da4599f9a147c80eb, state: DOWNLOADING, downloaded size: 0, reserved size: 695, downloader id: 726063e7-023e-48f5-ab65-f69c8b36a031:7252, current write offset: 0, caller id: 726063e7-023e-48f5-ab65-f69c8b36a031:7252, kind: Regular, unbound: 0: (while reading column event_date): (while reading from part /var/lib/clickhouse/disks/s3/store/29b/29baccac-732e-4d30-9f86-41a1af37e650/202610_52_101_7/ in table system.text_log (29baccac-732e-4d30-9f86-41a1af37e650) located on disk s3 of type s3, from mark 0 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56016) (comment: 01396_inactive_replica_cleanup_nodes_zookeeper.sh) (in query: SELECT sum(toUInt32(extract(message, 'Removed (\d+) old log entries'))) FROM system.text_log WHERE event_date >= yesterday() AND logger_name LIKE '%' || 'test_9' || '%r1%(ReplicatedMergeTreeCleanupThread)%' AND message LIKE '%Removed % old log entries%'), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::nextImpl() @ 0x000000003577e386 in /usr/bin/clickhouse 19. ./build_docker/./src/IO/ReadBuffer.h:72: DB::CompressedReadBufferBase::readCompressedDataBlockForAsynchronous(unsigned long&, unsigned long&) @ 0x000000003688ed26 in /usr/bin/clickhouse 20. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:110: DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000036893acb in /usr/bin/clickhouse 21. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000036894c8d in /usr/bin/clickhouse 22. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:160: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f7eaf0 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 2026.10.27 19:27:02.104297 [ 5687 ] {00839c1d-fb75-471f-b02d-e1abe9ceb6be} executeQuery: Code: 47. DB::Exception: Missing columns: 'visitParamHas' while processing query: 'SELECT visitParamHas', required columns: 'visitParamHas'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT visitParamHas;) 2026.10.27 19:27:02.114380 [ 5687 ] {00839c1d-fb75-471f-b02d-e1abe9ceb6be} TCPHandler: Code: 47. DB::Exception: Missing columns: 'visitParamHas' while processing query: 'SELECT visitParamHas', required columns: 'visitParamHas'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:02.140915 [ 5687 ] {913fa592-b634-4ee7-a694-81eeb456a59d} executeQuery: Code: 47. DB::Exception: Missing columns: 'week' while processing query: 'SELECT week', required columns: 'week'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT week;) 2026.10.27 19:27:02.151563 [ 5687 ] {913fa592-b634-4ee7-a694-81eeb456a59d} TCPHandler: Code: 47. DB::Exception: Missing columns: 'week' while processing query: 'SELECT week', required columns: 'week'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:02.188946 [ 5687 ] {47b19d21-968b-4fbe-8b89-acd2dd9408e6} executeQuery: Code: 47. DB::Exception: Missing columns: 'welchTTest' while processing query: 'SELECT welchTTest', required columns: 'welchTTest'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT welchTTest;) 2026.10.27 19:27:02.197620 [ 5687 ] {47b19d21-968b-4fbe-8b89-acd2dd9408e6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'welchTTest' while processing query: 'SELECT welchTTest', required columns: 'welchTTest'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:02.320428 [ 5687 ] {b06bef2a-7222-4def-b031-57519f1add0a} executeQuery: Code: 47. DB::Exception: Missing columns: 'widthBucket' while processing query: 'SELECT widthBucket', required columns: 'widthBucket'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT widthBucket;) 2026.10.27 19:27:02.322979 [ 5687 ] {b06bef2a-7222-4def-b031-57519f1add0a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'widthBucket' while processing query: 'SELECT widthBucket', required columns: 'widthBucket'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:02.335508 [ 5687 ] {a00f6d76-82af-4452-953b-512b2b4c87de} executeQuery: Code: 47. DB::Exception: Missing columns: 'width_bucket' while processing query: 'SELECT width_bucket', required columns: 'width_bucket'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT width_bucket;) 2026.10.27 19:27:02.337591 [ 5687 ] {a00f6d76-82af-4452-953b-512b2b4c87de} TCPHandler: Code: 47. DB::Exception: Missing columns: 'width_bucket' while processing query: 'SELECT width_bucket', required columns: 'width_bucket'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:02.349118 [ 5687 ] {c594c2e7-9f3b-4a4d-83a8-f0086222e9ae} executeQuery: Code: 47. DB::Exception: Missing columns: 'windowFunnel' while processing query: 'SELECT windowFunnel', required columns: 'windowFunnel'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT windowFunnel;) 2026.10.27 19:27:02.350821 [ 5687 ] {c594c2e7-9f3b-4a4d-83a8-f0086222e9ae} TCPHandler: Code: 47. DB::Exception: Missing columns: 'windowFunnel' while processing query: 'SELECT windowFunnel', required columns: 'windowFunnel'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:02.363384 [ 5687 ] {a36b1c7f-a990-48ff-a987-f87e1250dd5f} executeQuery: Code: 47. DB::Exception: Missing columns: 'windowID' while processing query: 'SELECT windowID', required columns: 'windowID'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT windowID;) 2026.10.27 19:27:02.365027 [ 5687 ] {a36b1c7f-a990-48ff-a987-f87e1250dd5f} TCPHandler: Code: 47. DB::Exception: Missing columns: 'windowID' while processing query: 'SELECT windowID', required columns: 'windowID'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:02.380661 [ 5687 ] {b8543429-2cf3-480a-ab50-e196dcafcf4e} executeQuery: Code: 47. DB::Exception: Missing columns: 'wkt' while processing query: 'SELECT wkt', required columns: 'wkt'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT wkt;) 2026.10.27 19:27:02.382773 [ 5687 ] {b8543429-2cf3-480a-ab50-e196dcafcf4e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'wkt' while processing query: 'SELECT wkt', required columns: 'wkt'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:02.397285 [ 5687 ] {9ae83890-d0f0-42b1-8abf-b3d91f4f3d0c} executeQuery: Code: 47. DB::Exception: Missing columns: 'wordShingleMinHash' while processing query: 'SELECT wordShingleMinHash', required columns: 'wordShingleMinHash'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT wordShingleMinHash;) 2026.10.27 19:27:02.399185 [ 5687 ] {9ae83890-d0f0-42b1-8abf-b3d91f4f3d0c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'wordShingleMinHash' while processing query: 'SELECT wordShingleMinHash', required columns: 'wordShingleMinHash'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:02.412781 [ 5687 ] {ba60297a-c29c-4a4e-ac5c-2a6a69dc63b5} executeQuery: Code: 47. DB::Exception: Missing columns: 'wordShingleMinHashArg' while processing query: 'SELECT wordShingleMinHashArg', required columns: 'wordShingleMinHashArg'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT wordShingleMinHashArg;) 2026.10.27 19:27:02.414280 [ 5687 ] {ba60297a-c29c-4a4e-ac5c-2a6a69dc63b5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'wordShingleMinHashArg' while processing query: 'SELECT wordShingleMinHashArg', required columns: 'wordShingleMinHashArg'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:02.480765 [ 2671 ] {145a3b7c-7a56-4c32-b388-32f2b32f3326} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 1134188 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56362) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactStringsEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::(anonymous namespace)::getBlockSortPermutationImpl(DB::Block const&, DB::SortDescription const&, DB::IColumn::PermutationSortStability, unsigned long, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa25639 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa2460c in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:02.480993 [ 12860 ] {f23f4ef3-f27d-47fb-b746-17a00257e90d} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.43 GiB (attempt to allocate chunk of 1312616 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56332) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactStringsEachRowWithNames), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnFixedString.cpp:339: COW::immutable_ptr DB::ColumnFixedString::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0adfba in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnFixedString.cpp:314: DB::ColumnFixedString::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0720bc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa24844 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:02.481098 [ 4374 ] {cdf5d144-044a-4428-90e4-b307de971a22} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.43 GiB (attempt to allocate chunk of 1245312 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 136 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56354) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactStringsEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:02.555177 [ 5687 ] {b8643d6a-9da1-4ad2-9a4a-b13966cdd931} executeQuery: Code: 47. DB::Exception: Missing columns: 'wordShingleMinHashArgCaseInsensitive' while processing query: 'SELECT wordShingleMinHashArgCaseInsensitive', required columns: 'wordShingleMinHashArgCaseInsensitive'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT wordShingleMinHashArgCaseInsensitive;) 2026.10.27 19:27:02.568993 [ 5687 ] {b8643d6a-9da1-4ad2-9a4a-b13966cdd931} TCPHandler: Code: 47. DB::Exception: Missing columns: 'wordShingleMinHashArgCaseInsensitive' while processing query: 'SELECT wordShingleMinHashArgCaseInsensitive', required columns: 'wordShingleMinHashArgCaseInsensitive'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:02.625044 [ 5687 ] {560e1929-517d-4f15-aaf2-047755200ccf} executeQuery: Code: 47. DB::Exception: Missing columns: 'wordShingleMinHashArgCaseInsensitiveUTF8' while processing query: 'SELECT wordShingleMinHashArgCaseInsensitiveUTF8', required columns: 'wordShingleMinHashArgCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT wordShingleMinHashArgCaseInsensitiveUTF8;) 2026.10.27 19:27:02.632270 [ 5687 ] {560e1929-517d-4f15-aaf2-047755200ccf} TCPHandler: Code: 47. DB::Exception: Missing columns: 'wordShingleMinHashArgCaseInsensitiveUTF8' while processing query: 'SELECT wordShingleMinHashArgCaseInsensitiveUTF8', required columns: 'wordShingleMinHashArgCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:02.766502 [ 5687 ] {a9f3c882-4a01-466a-a05a-a29e6a738e6e} executeQuery: Code: 47. DB::Exception: Missing columns: 'wordShingleMinHashArgUTF8' while processing query: 'SELECT wordShingleMinHashArgUTF8', required columns: 'wordShingleMinHashArgUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT wordShingleMinHashArgUTF8;) 2026.10.27 19:27:02.772362 [ 5687 ] {a9f3c882-4a01-466a-a05a-a29e6a738e6e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'wordShingleMinHashArgUTF8' while processing query: 'SELECT wordShingleMinHashArgUTF8', required columns: 'wordShingleMinHashArgUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:02.796703 [ 5687 ] {7869e953-af52-4ddb-898c-93face51a776} executeQuery: Code: 47. DB::Exception: Missing columns: 'wordShingleMinHashCaseInsensitive' while processing query: 'SELECT wordShingleMinHashCaseInsensitive', required columns: 'wordShingleMinHashCaseInsensitive'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT wordShingleMinHashCaseInsensitive;) 2026.10.27 19:27:02.800959 [ 5687 ] {7869e953-af52-4ddb-898c-93face51a776} TCPHandler: Code: 47. DB::Exception: Missing columns: 'wordShingleMinHashCaseInsensitive' while processing query: 'SELECT wordShingleMinHashCaseInsensitive', required columns: 'wordShingleMinHashCaseInsensitive'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:02.822262 [ 5687 ] {c6ac6b3b-ba40-4987-87c0-b1e11aaf8e33} executeQuery: Code: 47. DB::Exception: Missing columns: 'wordShingleMinHashCaseInsensitiveUTF8' while processing query: 'SELECT wordShingleMinHashCaseInsensitiveUTF8', required columns: 'wordShingleMinHashCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT wordShingleMinHashCaseInsensitiveUTF8;) 2026.10.27 19:27:02.925724 [ 5687 ] {c6ac6b3b-ba40-4987-87c0-b1e11aaf8e33} TCPHandler: Code: 47. DB::Exception: Missing columns: 'wordShingleMinHashCaseInsensitiveUTF8' while processing query: 'SELECT wordShingleMinHashCaseInsensitiveUTF8', required columns: 'wordShingleMinHashCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:03.068079 [ 5687 ] {ae5a0690-209a-421d-b00d-2a9dfc370a52} executeQuery: Code: 47. DB::Exception: Missing columns: 'wordShingleMinHashUTF8' while processing query: 'SELECT wordShingleMinHashUTF8', required columns: 'wordShingleMinHashUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT wordShingleMinHashUTF8;) 2026.10.27 19:27:03.088827 [ 5687 ] {ae5a0690-209a-421d-b00d-2a9dfc370a52} TCPHandler: Code: 47. DB::Exception: Missing columns: 'wordShingleMinHashUTF8' while processing query: 'SELECT wordShingleMinHashUTF8', required columns: 'wordShingleMinHashUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:03.160815 [ 1850 ] {d67554f3-4899-40b5-8061-c86147808317} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.40 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: Cache info: Buffer path: common/cpb/taxhljercqdxzyqgmgtijbwjlnvgc, hash key: 195dd6d54e263126fd12142d0e30ead1, file_offset_of_buffer_end: 0, read_until_position: 1717842, internal buffer end: 1048576, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: d67554f3-4899-40b5-8061-c86147808317:7137, file segment info: File segment: [0, 1717841], key: 195dd6d54e263126fd12142d0e30ead1, state: DOWNLOADING, downloaded size: 0, reserved size: 1048576, downloader id: d67554f3-4899-40b5-8061-c86147808317:7137, current write offset: 0, caller id: d67554f3-4899-40b5-8061-c86147808317:7137, kind: Regular, unbound: 0: (while reading column RegionID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 1048449): While executing MergeTreeInOrder. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56394) (comment: 00077_log_tinylog_stripelog.sql) (in query: INSERT INTO test.hits_log SELECT CounterID, AdvEngineID, RegionID, SearchPhrase, UserID FROM test.hits;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::nextImpl() @ 0x000000003577e386 in /usr/bin/clickhouse 19. ./build_docker/./src/IO/ReadBuffer.h:72: DB::CompressedReadBufferBase::readCompressedDataBlockForAsynchronous(unsigned long&, unsigned long&) @ 0x000000003688ed26 in /usr/bin/clickhouse 20. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:110: DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000036893acb in /usr/bin/clickhouse 21. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000036894c8d in /usr/bin/clickhouse 22. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:160: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f81013 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 2026.10.27 19:27:03.293898 [ 5687 ] {cfe2c6e7-f933-4abd-bda7-ef07a16e2114} executeQuery: Code: 47. DB::Exception: Missing columns: 'wordShingleSimHash' while processing query: 'SELECT wordShingleSimHash', required columns: 'wordShingleSimHash'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT wordShingleSimHash;) 2026.10.27 19:27:03.305895 [ 5687 ] {cfe2c6e7-f933-4abd-bda7-ef07a16e2114} TCPHandler: Code: 47. DB::Exception: Missing columns: 'wordShingleSimHash' while processing query: 'SELECT wordShingleSimHash', required columns: 'wordShingleSimHash'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:03.646091 [ 5687 ] {ccb23f6d-573a-444f-9286-fc5d07c06683} executeQuery: Code: 47. DB::Exception: Missing columns: 'wordShingleSimHashCaseInsensitive' while processing query: 'SELECT wordShingleSimHashCaseInsensitive', required columns: 'wordShingleSimHashCaseInsensitive'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT wordShingleSimHashCaseInsensitive;) 2026.10.27 19:27:03.663469 [ 4287 ] {20558b31-e3c2-45fa-b3d7-c0f566f88dc6} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 1053008 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036fa2d07 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::SerializationNamed::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036f54a8c in /usr/bin/clickhouse 13. ./build_docker/./src/DataTypes/Serializations/SerializationTuple.cpp:0: DB::SerializationTuple::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000037018ccc in /usr/bin/clickhouse 14. ./build_docker/./src/DataTypes/Serializations/SerializationArray.cpp:0: DB::SerializationArray::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036ec3723 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000003e149fb4 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::NativeReader::read() @ 0x000000003e14e5f5 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::TCPHandler::receiveData(bool) @ 0x000000003e0cafba in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:1477: DB::TCPHandler::receivePacket() @ 0x000000003e0a52b6 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:795: DB::TCPHandler::readDataNext() @ 0x000000003e0add82 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:861: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7496 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:03.663611 [ 5687 ] {ccb23f6d-573a-444f-9286-fc5d07c06683} TCPHandler: Code: 47. DB::Exception: Missing columns: 'wordShingleSimHashCaseInsensitive' while processing query: 'SELECT wordShingleSimHashCaseInsensitive', required columns: 'wordShingleSimHashCaseInsensitive'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:03.663663 [ 9140 ] {496d8d3d-1ac8-4713-ba26-d0c363eb7cf6} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1191424 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: While executing AggregatingInOrderTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56386) (comment: 00173_group_by_use_nulls.sql) (in query: SELECT `CounterID` AS `k`, quantileBFloat16(0.5)(`ResolutionWidth`) FROM `test`.`hits` GROUP BY `k` ORDER BY count() DESC, `CounterID` ASC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c7cfb0f in /usr/bin/clickhouse 10. ./build_docker/./src/Common/Arena.h:0: DB::Aggregator::createStatesAndFillKeyColumnsWithSingleKey(DB::AggregatedDataVariants&, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, unsigned long, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) const @ 0x0000000037de1a72 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingInOrderTransform.cpp:0: DB::AggregatingInOrderTransform::consume(DB::Chunk) @ 0x000000003f03a7a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingInOrderTransform.cpp:0: DB::AggregatingInOrderTransform::work() @ 0x000000003f03f7de in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:03.665494 [ 2247 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_1_78_11}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1048660 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. AllocatorWithMemoryTracking::allocate(unsigned long) @ 0x000000000a81a939 in /usr/bin/clickhouse 9. std::vector>::vector(std::vector> const&) @ 0x000000000a81a581 in /usr/bin/clickhouse 10. auto DB::Field::dispatch(auto&&, DB::Field const&) @ 0x000000000a81b115 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: std::enable_if<__is_cpp17_forward_iterator>::value, void>::type std::vector>::__construct_at_end>(std::__wrap_iter, std::__wrap_iter, unsigned long) @ 0x0000000023dd8558 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1222: DB::ColumnMap::insert(DB::Field const&) @ 0x000000003b120ad7 in /usr/bin/clickhouse 13. ./build_docker/./src/Columns/IColumn.cpp:0: DB::IColumn::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b8b6163 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:33: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeImpl>(DB::SortingQueueImpl&) @ 0x000000003ef506a5 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eecf7d3 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Merges/Algorithms/MergingSortedAlgorithm.cpp:133: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8f8e in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:03.665469 [ 12870 ] {5c16fad9-d989-4771-b1c6-fe8174286d36} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 1703936 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: while executing 'FUNCTION positionCaseInsensitiveUTF8('иголка.ру' :: 0, randomString(modulo(rand(), 2)) :: 2) -> positionCaseInsensitiveUTF8('иголка.ру', randomString(modulo(rand(), 2))) UInt64 : 3'. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 10. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001c7e69b9 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eb883db in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:03.663573 [ 12855 ] {2e88edde-290c-4cf1-bfc6-06294b28dd95} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 1186816 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: While executing AggregatingInOrderTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:47390) (comment: 00173_group_by_use_nulls.sql) (in query: SELECT `CounterID` AS `k`, quantileBFloat16(0.5)(`ResolutionWidth`) FROM `test`.`hits` GROUP BY `k` ORDER BY count() DESC, `CounterID` ASC LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c7cfb0f in /usr/bin/clickhouse 10. ./build_docker/./src/Common/Arena.h:0: DB::Aggregator::createStatesAndFillKeyColumnsWithSingleKey(DB::AggregatedDataVariants&, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, unsigned long, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) const @ 0x0000000037de1a72 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingInOrderTransform.cpp:0: DB::AggregatingInOrderTransform::consume(DB::Chunk) @ 0x000000003f03a7a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingInOrderTransform.cpp:0: DB::AggregatingInOrderTransform::work() @ 0x000000003f03f7de in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:03.747327 [ 5687 ] {e1fe328a-cacb-4e9b-8b29-26c2718498b6} executeQuery: Code: 47. DB::Exception: Missing columns: 'wordShingleSimHashCaseInsensitiveUTF8' while processing query: 'SELECT wordShingleSimHashCaseInsensitiveUTF8', required columns: 'wordShingleSimHashCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT wordShingleSimHashCaseInsensitiveUTF8;) 2026.10.27 19:27:03.765618 [ 5687 ] {e1fe328a-cacb-4e9b-8b29-26c2718498b6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'wordShingleSimHashCaseInsensitiveUTF8' while processing query: 'SELECT wordShingleSimHashCaseInsensitiveUTF8', required columns: 'wordShingleSimHashCaseInsensitiveUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:03.885612 [ 5687 ] {538a9826-4c03-4f3e-8d31-6f41b666a033} executeQuery: Code: 47. DB::Exception: Missing columns: 'wordShingleSimHashUTF8' while processing query: 'SELECT wordShingleSimHashUTF8', required columns: 'wordShingleSimHashUTF8'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT wordShingleSimHashUTF8;) 2026.10.27 19:27:03.904529 [ 5687 ] {538a9826-4c03-4f3e-8d31-6f41b666a033} TCPHandler: Code: 47. DB::Exception: Missing columns: 'wordShingleSimHashUTF8' while processing query: 'SELECT wordShingleSimHashUTF8', required columns: 'wordShingleSimHashUTF8'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:04.023900 [ 5687 ] {b35dc7a5-7b77-419a-b79d-3a3891b26f03} executeQuery: Code: 47. DB::Exception: Missing columns: 'wyHash64' while processing query: 'SELECT wyHash64', required columns: 'wyHash64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT wyHash64;) 2026.10.27 19:27:04.043078 [ 5687 ] {b35dc7a5-7b77-419a-b79d-3a3891b26f03} TCPHandler: Code: 47. DB::Exception: Missing columns: 'wyHash64' while processing query: 'SELECT wyHash64', required columns: 'wyHash64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:04.265432 [ 5687 ] {b49ee53c-5ffe-4373-b9eb-7da06991dc7b} executeQuery: Code: 47. DB::Exception: Missing columns: 'xor' while processing query: 'SELECT xor', required columns: 'xor'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT xor;) 2026.10.27 19:27:04.280832 [ 5687 ] {b49ee53c-5ffe-4373-b9eb-7da06991dc7b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'xor' while processing query: 'SELECT xor', required columns: 'xor'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:04.508188 [ 5687 ] {20ffc646-8c8d-44f4-a691-98e172893e6e} executeQuery: Code: 47. DB::Exception: Missing columns: 'xxHash32' while processing query: 'SELECT xxHash32', required columns: 'xxHash32'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT xxHash32;) 2026.10.27 19:27:04.525239 [ 5687 ] {20ffc646-8c8d-44f4-a691-98e172893e6e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'xxHash32' while processing query: 'SELECT xxHash32', required columns: 'xxHash32'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:04.649313 [ 5687 ] {1166c806-cbec-4785-9eb9-5cf996701bc4} executeQuery: Code: 47. DB::Exception: Missing columns: 'xxHash64' while processing query: 'SELECT xxHash64', required columns: 'xxHash64'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT xxHash64;) 2026.10.27 19:27:04.673439 [ 5687 ] {1166c806-cbec-4785-9eb9-5cf996701bc4} TCPHandler: Code: 47. DB::Exception: Missing columns: 'xxHash64' while processing query: 'SELECT xxHash64', required columns: 'xxHash64'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:04.798903 [ 5687 ] {c245eaa4-3ff6-4ab1-9a3c-70432cf99307} executeQuery: Code: 47. DB::Exception: Missing columns: 'xxh3' while processing query: 'SELECT xxh3', required columns: 'xxh3'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT xxh3;) 2026.10.27 19:27:04.823303 [ 5687 ] {c245eaa4-3ff6-4ab1-9a3c-70432cf99307} TCPHandler: Code: 47. DB::Exception: Missing columns: 'xxh3' while processing query: 'SELECT xxh3', required columns: 'xxh3'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:04.949257 [ 5687 ] {e670f862-0f01-4d82-9d38-56429b67e866} executeQuery: Code: 47. DB::Exception: Missing columns: 'yandexConsistentHash' while processing query: 'SELECT yandexConsistentHash', required columns: 'yandexConsistentHash'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT yandexConsistentHash;) 2026.10.27 19:27:04.959473 [ 5687 ] {e670f862-0f01-4d82-9d38-56429b67e866} TCPHandler: Code: 47. DB::Exception: Missing columns: 'yandexConsistentHash' while processing query: 'SELECT yandexConsistentHash', required columns: 'yandexConsistentHash'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:05.143397 [ 5687 ] {d8c4b71f-04d4-42ef-bf5b-61a4d3113d9c} executeQuery: Code: 47. DB::Exception: Missing columns: 'yearweek' while processing query: 'SELECT yearweek', required columns: 'yearweek'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT yearweek;) 2026.10.27 19:27:05.157566 [ 5687 ] {d8c4b71f-04d4-42ef-bf5b-61a4d3113d9c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'yearweek' while processing query: 'SELECT yearweek', required columns: 'yearweek'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:05.224740 [ 1848 ] {726063e7-023e-48f5-ab65-f69c8b36a031} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 1082549 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: Cache info: Buffer path: test/mhl/waixgkhhspcnjoqefwwmooizdbmfh, hash key: 8427716bd7108e3da4599f9a147c80eb, file_offset_of_buffer_end: 0, read_until_position: 695, internal buffer end: 695, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 726063e7-023e-48f5-ab65-f69c8b36a031:7252, file segment info: File segment: [0, 694], key: 8427716bd7108e3da4599f9a147c80eb, state: DOWNLOADING, downloaded size: 0, reserved size: 695, downloader id: 726063e7-023e-48f5-ab65-f69c8b36a031:7252, current write offset: 0, caller id: 726063e7-023e-48f5-ab65-f69c8b36a031:7252, kind: Regular, unbound: 0: (while reading column event_date): (while reading from part /var/lib/clickhouse/disks/s3/store/29b/29baccac-732e-4d30-9f86-41a1af37e650/202610_52_101_7/ in table system.text_log (29baccac-732e-4d30-9f86-41a1af37e650) located on disk s3 of type s3, from mark 0 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::nextImpl() @ 0x000000003577e386 in /usr/bin/clickhouse 19. ./build_docker/./src/IO/ReadBuffer.h:72: DB::CompressedReadBufferBase::readCompressedDataBlockForAsynchronous(unsigned long&, unsigned long&) @ 0x000000003688ed26 in /usr/bin/clickhouse 20. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:110: DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000036893acb in /usr/bin/clickhouse 21. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000036894c8d in /usr/bin/clickhouse 22. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:160: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f7eaf0 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 2026.10.27 19:27:05.224773 [ 4374 ] {cdf5d144-044a-4428-90e4-b307de971a22} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.43 GiB (attempt to allocate chunk of 1245312 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 136 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:05.224799 [ 1850 ] {d67554f3-4899-40b5-8061-c86147808317} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.40 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: Cache info: Buffer path: common/cpb/taxhljercqdxzyqgmgtijbwjlnvgc, hash key: 195dd6d54e263126fd12142d0e30ead1, file_offset_of_buffer_end: 0, read_until_position: 1717842, internal buffer end: 1048576, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: d67554f3-4899-40b5-8061-c86147808317:7137, file segment info: File segment: [0, 1717841], key: 195dd6d54e263126fd12142d0e30ead1, state: DOWNLOADING, downloaded size: 0, reserved size: 1048576, downloader id: d67554f3-4899-40b5-8061-c86147808317:7137, current write offset: 0, caller id: d67554f3-4899-40b5-8061-c86147808317:7137, kind: Regular, unbound: 0: (while reading column RegionID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 1048449): While executing MergeTreeInOrder. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::nextImpl() @ 0x000000003577e386 in /usr/bin/clickhouse 19. ./build_docker/./src/IO/ReadBuffer.h:72: DB::CompressedReadBufferBase::readCompressedDataBlockForAsynchronous(unsigned long&, unsigned long&) @ 0x000000003688ed26 in /usr/bin/clickhouse 20. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:110: DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000036893acb in /usr/bin/clickhouse 21. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000036894c8d in /usr/bin/clickhouse 22. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:160: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f81013 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 2026.10.27 19:27:05.256888 [ 5687 ] {ba27955a-04ac-4e8e-a89b-2a27d5ec0cc5} executeQuery: Code: 47. DB::Exception: Missing columns: 'yesterday' while processing query: 'SELECT yesterday', required columns: 'yesterday'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT yesterday;) 2026.10.27 19:27:05.279334 [ 5687 ] {ba27955a-04ac-4e8e-a89b-2a27d5ec0cc5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'yesterday' while processing query: 'SELECT yesterday', required columns: 'yesterday'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:05.368878 [ 5687 ] {c9968b1f-c554-4bc4-8a49-d3d55098cc7a} executeQuery: Code: 47. DB::Exception: Missing columns: 'zookeeperSessionUptime' while processing query: 'SELECT zookeeperSessionUptime', required columns: 'zookeeperSessionUptime'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38852) (comment: 00534_functions_bad_arguments1.sh) (in query: SELECT zookeeperSessionUptime;) 2026.10.27 19:27:05.381517 [ 5687 ] {c9968b1f-c554-4bc4-8a49-d3d55098cc7a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'zookeeperSessionUptime' while processing query: 'SELECT zookeeperSessionUptime', required columns: 'zookeeperSessionUptime'. (UNKNOWN_IDENTIFIER) 2026.10.27 19:27:05.701069 [ 4287 ] {} ServerErrorHandler: Code: 99. DB::Exception: Unknown packet 60 from client. (UNKNOWN_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:1475: DB::TCPHandler::receivePacket() @ 0x000000003e0a586b in /usr/bin/clickhouse 4. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08c26e in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:06.061616 [ 12870 ] {5bb17604-6c82-4086-8363-a064110dfb17} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56090) (comment: 01720_country_intersection.sh) (in query: SELECT c, d, polygonsIntersectionSpherical(a, b) FROM (SELECT first.p AS a, second.p AS b, first.name AS c, second.name AS d FROM country_rings AS first CROSS JOIN country_rings AS second LIMIT 100) format TSV), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x0000000037cf406d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x0000000037caaf24 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x0000000037ca0c4c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037cca9cf in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 8. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d70240 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9d19f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e5176d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: 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) @ 0x0000000039b08c41 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 19. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:06.096006 [ 12870 ] {5bb17604-6c82-4086-8363-a064110dfb17} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x0000000037cf406d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x0000000037caaf24 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x0000000037ca0c4c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037cca9cf in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 8. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000039d70240 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000003a9d19f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000039e5176d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: 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) @ 0x0000000039b08c41 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 19. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:06.649753 [ 2240 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.43 GiB (attempt to allocate chunk of 1096285 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (while reading column UserID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_6_6_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 6826): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c526 in /usr/bin/clickhouse 21. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:06.666867 [ 5705 ] {74a235eb-1b52-4f4a-8fd0-40dfc6c58c9d} executeQuery: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58142) (comment: 02521_analyzer_array_join_crash.sql) (in query: SET allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:06.679654 [ 5705 ] {74a235eb-1b52-4f4a-8fd0-40dfc6c58c9d} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:06.827648 [ 2236 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_58_10}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1051829 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x0000000009415a91 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:322: DB::ColumnVector::insertDefault() @ 0x000000003b33a155 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnSparse.cpp:0: DB::ColumnSparse::ColumnSparse(COW::mutable_ptr&&) @ 0x000000003b186f53 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: DB::IDataType::createColumn(DB::ISerialization const&) const @ 0x0000000036dbb55a in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:140: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4597fa in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:06.907580 [ 12860 ] {f23f4ef3-f27d-47fb-b746-17a00257e90d} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.43 GiB (attempt to allocate chunk of 1312616 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnFixedString.cpp:339: COW::immutable_ptr DB::ColumnFixedString::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0adfba in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnFixedString.cpp:314: DB::ColumnFixedString::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0720bc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa24844 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:07.391481 [ 2671 ] {145a3b7c-7a56-4c32-b388-32f2b32f3326} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 1134188 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::(anonymous namespace)::getBlockSortPermutationImpl(DB::Block const&, DB::SortDescription const&, DB::IColumn::PermutationSortStability, unsigned long, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa25639 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa2460c in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:08.462034 [ 12855 ] {2e88edde-290c-4cf1-bfc6-06294b28dd95} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 1186816 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: While executing AggregatingInOrderTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c7cfb0f in /usr/bin/clickhouse 10. ./build_docker/./src/Common/Arena.h:0: DB::Aggregator::createStatesAndFillKeyColumnsWithSingleKey(DB::AggregatedDataVariants&, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, unsigned long, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) const @ 0x0000000037de1a72 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingInOrderTransform.cpp:0: DB::AggregatingInOrderTransform::consume(DB::Chunk) @ 0x000000003f03a7a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingInOrderTransform.cpp:0: DB::AggregatingInOrderTransform::work() @ 0x000000003f03f7de in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:08.462133 [ 1850 ] {8dd82792-3296-4050-8594-ecdd747fb814} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 78.40 MiB (attempt to allocate chunk of 1712051 bytes), maximum: 9.31 GiB: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_8_16_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 272 with max_rows_to_read = 40960): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56078) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactStringsEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 9. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 18. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c526 in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 2026.10.27 19:27:08.462113 [ 9140 ] {496d8d3d-1ac8-4713-ba26-d0c363eb7cf6} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1191424 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: While executing AggregatingInOrderTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c7cfb0f in /usr/bin/clickhouse 10. ./build_docker/./src/Common/Arena.h:0: DB::Aggregator::createStatesAndFillKeyColumnsWithSingleKey(DB::AggregatedDataVariants&, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, unsigned long, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) const @ 0x0000000037de1a72 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingInOrderTransform.cpp:0: DB::AggregatingInOrderTransform::consume(DB::Chunk) @ 0x000000003f03a7a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingInOrderTransform.cpp:0: DB::AggregatingInOrderTransform::work() @ 0x000000003f03f7de in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:08.462563 [ 2233 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {87d63275-efc8-41cf-b773-50c08a335cb1::202610_1_61_13}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1105995 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (while reading column address): (while reading from part /var/lib/clickhouse/disks/s3/store/87d/87d63275-efc8-41cf-b773-50c08a335cb1/202610_1_58_12/ in table system.zookeeper_log (87d63275-efc8-41cf-b773-50c08a335cb1) located on disk s3 of type s3, from mark 1 with max_rows_to_read = 8192): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<16ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000942b4a8 in /usr/bin/clickhouse 10. DB::SerializationIP::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000009ea8ce7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:08.629841 [ 9286 ] {9d78d437-c060-47b2-a11b-a86a97e3f60b} executeQuery: Code: 241. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1191424 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: While executing AggregatingInOrderTransform. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c7cfb0f in /usr/bin/clickhouse 10. ./build_docker/./src/Common/Arena.h:0: DB::Aggregator::createStatesAndFillKeyColumnsWithSingleKey(DB::AggregatedDataVariants&, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, unsigned long, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) const @ 0x0000000037de1a72 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingInOrderTransform.cpp:0: DB::AggregatingInOrderTransform::consume(DB::Chunk) @ 0x000000003f03a7a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingInOrderTransform.cpp:0: DB::AggregatingInOrderTransform::work() @ 0x000000003f03f7de in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? : While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56386) (comment: 00173_group_by_use_nulls.sql) (in query: SELECT CounterID AS k, quantileBFloat16(0.5)(ResolutionWidth) FROM remote('127.0.0.{1,2}', test, hits) GROUP BY k ORDER BY count() DESC, CounterID ASC LIMIT 10 SETTINGS group_by_use_nulls = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a79c9a8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000002099cb18 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd5bd3f in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd76bb8 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de3c566 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036aa4c1c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036aa43c2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036aa3bd6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036aa1852 in /usr/bin/clickhouse 2026.10.27 19:27:08.734550 [ 9286 ] {9d78d437-c060-47b2-a11b-a86a97e3f60b} TCPHandler: Code: 241. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: Memory limit (total) exceeded: would use 15.36 GiB (attempt to allocate chunk of 1191424 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: While executing AggregatingInOrderTransform. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c7cfb0f in /usr/bin/clickhouse 10. ./build_docker/./src/Common/Arena.h:0: DB::Aggregator::createStatesAndFillKeyColumnsWithSingleKey(DB::AggregatedDataVariants&, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, unsigned long, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) const @ 0x0000000037de1a72 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingInOrderTransform.cpp:0: DB::AggregatingInOrderTransform::consume(DB::Chunk) @ 0x000000003f03a7a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingInOrderTransform.cpp:0: DB::AggregatingInOrderTransform::work() @ 0x000000003f03f7de in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? : While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a79c9a8 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromVector.h:65: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000002099cb18 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000003dd5bd3f in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000003dd76bb8 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/PacketReceiver.cpp:0: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000003de3c566 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000036aa4c1c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x0000000036aa43c2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_capture_record>::run() @ 0x0000000036aa3bd6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x0000000036aa1852 in /usr/bin/clickhouse 2026.10.27 19:27:09.118607 [ 5687 ] {246a98b3-1111-4cfb-9354-ff7688eefb1b} executeQuery: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58204) (comment: 02564_analyzer_cross_to_inner.sql) (in query: SET allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:09.123744 [ 5687 ] {246a98b3-1111-4cfb-9354-ff7688eefb1b} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:09.835071 [ 1848 ] {6b734bb0-c4c1-4703-a017-8515bbd746ef} executeQuery: Code: 36. DB::Exception: Cannot DROP or CLEAR all columns. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56106) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000941e257 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1387: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b913610 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e02c5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:09.848378 [ 1848 ] {6b734bb0-c4c1-4703-a017-8515bbd746ef} TCPHandler: Code: 36. DB::Exception: Cannot DROP or CLEAR all columns. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000941e257 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1387: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000003b913610 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e02c5 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:10.469141 [ 1850 ] {8dd82792-3296-4050-8594-ecdd747fb814} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 78.40 MiB (attempt to allocate chunk of 1712051 bytes), maximum: 9.31 GiB: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_8_16_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 272 with max_rows_to_read = 40960): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 9. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 18. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c526 in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 2026.10.27 19:27:13.801601 [ 2296 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::QueryLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 5154000 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:281: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d6516b7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a414433 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:13.802110 [ 2235 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 2001731 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (while reading column VisitID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_4_4_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 6214): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c526 in /usr/bin/clickhouse 21. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:13.804870 [ 2234 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {87d63275-efc8-41cf-b773-50c08a335cb1::202610_1_61_13}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1054909 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d125558 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:13.806180 [ 2289 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::MetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 4198589 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:14.765770 [ 7093 ] {} ExternalDictionariesLoader: Could not load external dictionary 'test_5.dict', next update is scheduled at 2026-10-27 19:27:25: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 33554432 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 7. HashTable, HashTableNoState>, DefaultHash, DB::HashedDictionaryImpl::HashTableGrowerWithPrecalculationAndMaxLoadFactor<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000002bb33dfe in /usr/bin/clickhouse 8. void detail::static_for::getAttributeContainers::resize(unsigned long)::'lambda'(auto&)>(unsigned long, auto&&)::'lambda'(auto const&)&>(DB::AttributeUnderlyingType, auto&&)::'lambda'(auto), 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul, 8ul, 9ul, 10ul, 11ul, 12ul, 13ul, 14ul, 15ul, 16ul, 17ul, 18ul, 19ul, 20ul, 21ul, 22ul, 23ul>(void DB::callOnDictionaryAttributeType::getAttributeContainers::resize(unsigned long)::'lambda'(auto&)>(unsigned long, auto&&)::'lambda'(auto const&)&>(DB::AttributeUnderlyingType, auto&&)::'lambda'(auto)&&, std::integer_sequence) @ 0x000000002bbdbcac in /usr/bin/clickhouse 9. DB::HashedDictionary<(DB::DictionaryKeyType)0, true, false>::loadData() @ 0x000000002b3e4799 in /usr/bin/clickhouse 10. DB::HashedDictionary<(DB::DictionaryKeyType)0, true, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x000000002b3e3401 in /usr/bin/clickhouse 11. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000002b3b8356 in /usr/bin/clickhouse 12. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b3ba3d7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000035256311 in /usr/bin/clickhouse 14. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000035252fb7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038c9ac44 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038ca6a60 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cc3485 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cba4b5 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ccec9a in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038cce77f in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:14.766069 [ 2232 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_1_78_11}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1054909 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d125558 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/SerializationLowCardinality.cpp:0: DB::SerializationLowCardinality::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036f2c982 in /usr/bin/clickhouse 25. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 26. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:15.915854 [ 2246 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1114301 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:16.244590 [ 2234 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} TemporaryFileOnDisk: Temporary path 'tmp27f80d3d-0581-44c7-abbf-d862c0d746ef' does not exist in '/var/lib/clickhouse/tmp/' 2026.10.27 19:27:18.428851 [ 2241 ] {2e31cb3f-1cb8-4039-967c-3dd5975659b7::all_1_1_0_2} virtual void DB::MetadataStorageFromDiskTransaction::commit(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.47 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x00000000372484a3 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/DiskLocal.cpp:0: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x00000000372315bb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/MetadataStorageFromDiskTransactionOperations.cpp:0: DB::WriteFileOperation::execute(std::unique_lock&) @ 0x00000000372e528a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/MetadataStorageFromDiskTransactionOperations.cpp:0: DB::CreateHardlinkOperation::execute(std::unique_lock&) @ 0x00000000372e4b36 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::MetadataStorageFromDiskTransaction::commit() @ 0x00000000372c9c47 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:0: DB::DiskObjectStorageTransaction::commit() @ 0x000000003735d02b in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:271: DB::DiskObjectStorage::createHardLink(String const&, String const&, bool) @ 0x00000000372f4b35 in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:279: DB::DiskObjectStorage::createHardLink(String const&, String const&) @ 0x00000000372f4f18 in /usr/bin/clickhouse 21. ./build_docker/./src/Disks/FakeDiskTransaction.h:135: DB::FakeDiskTransaction::createHardLink(String const&, String const&) @ 0x0000000037270eb1 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::DataPartStorageOnDiskFull::createHardLinkFrom(DB::IDataPartStorage const&, String const&, String const&) @ 0x000000003cbb1ee8 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateSomePartColumnsTask::prepare() @ 0x000000003d6e3995 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:1501: DB::MutateSomePartColumnsTask::executeStep() @ 0x000000003d6e2035 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:1754: DB::MutateTask::execute() @ 0x000000003d6852d2 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MutatePlainMergeTreeTask.cpp:0: DB::MutatePlainMergeTreeTask::executeStep() @ 0x000000003dabb8bd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:18.431288 [ 2241 ] {2e31cb3f-1cb8-4039-967c-3dd5975659b7::all_1_1_0_2} MutatePlainMergeTreeTask: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While rolling back operation #0. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:20.462683 [ 9259 ] {5dd119ab-8e81-4aa1-922c-d2be15f3fa1a} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.70 GiB (attempt to allocate chunk of 134217728 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: while executing 'FUNCTION arrayAll(__lambda :: 1, ParsedParams.Key1 : 0) -> arrayAll(lambda(tuple(y), arrayExists(lambda(tuple(x), notEquals(y, x)), ParsedParams.Key1)), ParsedParams.Key1) UInt8 : 2'. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56050) (comment: 00053_replicate_segfault.sql) (in query: SELECT count() > 0 FROM (SELECT ParsedParams.Key1 AS p FROM test.visits WHERE arrayAll(y -> arrayExists(x -> y != x, p), p)) ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/Allocator.h:199: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078662f in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:165: DB::ColumnArray::replicateString(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000003ac922f2 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnArray.cpp:0: DB::ColumnArray::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000003ac903d5 in /usr/bin/clickhouse 12. ./build_docker/./src/Columns/ColumnFunction.cpp:0: DB::ColumnFunction::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000003b0b0e57 in /usr/bin/clickhouse 13. DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001db21960 in /usr/bin/clickhouse 14. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000003eb9657e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000003eb960a4 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 27. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 31. ? @ 0x00007fc6eb378a83 in ? 2026.10.27 19:27:22.092513 [ 2234 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.53 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::WriteBufferFromTemporaryFile::WriteBufferFromTemporaryFile(std::unique_ptr>&&) @ 0x0000000037253f84 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::TemporaryDataOnDisk::createRawStream(unsigned long) @ 0x000000003a63c2f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:296: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cda7825 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:22.092755 [ 2350 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::AsynchronousMetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 4273912 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3b72d3 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3b47b2 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c23847 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:22.092776 [ 1848 ] {e09dbae7-8962-4d1f-b01a-b79c951ac9e7} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_2.txt' with part 'all_1_1_0' reason: 'Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While rolling back operation #0. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build))'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56106) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d3f1fe4 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d3f1895 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000003da1202d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003da089db in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0598 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:22.092810 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 4194814 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a471453 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a46e742 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2ea27 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:22.092891 [ 2243 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_1_79_11}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.49 GiB (attempt to allocate chunk of 1054909 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d125558 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:22.092946 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 4199934 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a483e53 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a481142 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2fca7 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:22.092974 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 4874781 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a4a9253 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a4a6542 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c31ce7 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:22.093070 [ 9259 ] {5dd119ab-8e81-4aa1-922c-d2be15f3fa1a} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.70 GiB (attempt to allocate chunk of 134217728 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: while executing 'FUNCTION arrayAll(__lambda :: 1, ParsedParams.Key1 : 0) -> arrayAll(lambda(tuple(y), arrayExists(lambda(tuple(x), notEquals(y, x)), ParsedParams.Key1)), ParsedParams.Key1) UInt8 : 2'. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/Allocator.h:199: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078662f in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:165: DB::ColumnArray::replicateString(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000003ac922f2 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnArray.cpp:0: DB::ColumnArray::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000003ac903d5 in /usr/bin/clickhouse 12. ./build_docker/./src/Columns/ColumnFunction.cpp:0: DB::ColumnFunction::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000003b0b0e57 in /usr/bin/clickhouse 13. DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001db21960 in /usr/bin/clickhouse 14. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000003eb9657e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000003eb960a4 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 27. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 31. ? @ 0x00007fc6eb378a83 in ? 2026.10.27 19:27:22.092870 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 5130164 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:22.093240 [ 2240 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {87d63275-efc8-41cf-b773-50c08a335cb1::202610_1_61_13}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1114301 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:22.093905 [ 1848 ] {e09dbae7-8962-4d1f-b01a-b79c951ac9e7} TCPHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_2.txt' with part 'all_1_1_0' reason: 'Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While rolling back operation #0. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build))'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d3f1fe4 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d3f1895 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000003da1202d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003da089db in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0598 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:22.942034 [ 9140 ] {8510b169-3f50-42f4-a1fa-fd848e8b7900} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 8388608 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while executing 'FUNCTION materialize(c2 :: 2) -> materialize(c2) String : 1'. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58336) (comment: 01710_projection_vertical_merges.sql) (in query: insert into t (c1, c18) select number, -number from numbers(2000000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::ColumnString::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000003b1a8c27 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:143: DB::ColumnConst::convertToFullColumn() const @ 0x000000003ad7eaa5 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnConst.h:39: DB::ColumnConst::convertToFullColumnIfConst() const @ 0x000000003ad823ce in /usr/bin/clickhouse 12. DB::FunctionMaterialize::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000171b4100 in /usr/bin/clickhouse 13. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:41: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000003eb89746 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1de0ed in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:24.251798 [ 4278 ] {9881fcb0-d7cb-45ae-820a-ebba5d3d7cd8} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 1964800 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (avg_value_size_hint = 118.920166015625, avg_chars_size = 133.10419921874998, limit = 8192): (while reading column URL): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 24 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58138) (comment: 00093_prewhere_array_join.sql) (in query: SELECT arrayJoin([SearchEngineID]) AS search_engine, URL FROM test.hits WHERE SearchEngineID != 0 AND search_engine != 0 FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff78e6 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::continueReadingChain(DB::MergeTreeRangeReader::ReadResult const&, unsigned long&) @ 0x000000003d50c8f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:979: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506ad7 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:24.252204 [ 2241 ] {2e31cb3f-1cb8-4039-967c-3dd5975659b7::all_1_1_0_2} virtual bool DB::MutatePlainMergeTreeTask::executeStep(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While rolling back operation #0. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x00000000372484a3 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/DiskLocal.cpp:0: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x00000000372315bb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/MetadataStorageFromDiskTransactionOperations.cpp:0: DB::WriteFileOperation::undo() @ 0x00000000372e5903 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/MetadataStorageFromDiskTransactionOperations.cpp:194: DB::CreateHardlinkOperation::undo() @ 0x00000000372e5754 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/MetadataStorageFromDisk.cpp:225: DB::MetadataStorageFromDiskTransaction::rollback(unsigned long) @ 0x00000000372ca53d in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/ObjectStorages/MetadataStorageFromDisk.cpp:199: DB::MetadataStorageFromDiskTransaction::commit() @ 0x00000000372ca440 in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:0: DB::DiskObjectStorageTransaction::commit() @ 0x000000003735d02b in /usr/bin/clickhouse 20. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:271: DB::DiskObjectStorage::createHardLink(String const&, String const&, bool) @ 0x00000000372f4b35 in /usr/bin/clickhouse 21. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:279: DB::DiskObjectStorage::createHardLink(String const&, String const&) @ 0x00000000372f4f18 in /usr/bin/clickhouse 22. ./build_docker/./src/Disks/FakeDiskTransaction.h:135: DB::FakeDiskTransaction::createHardLink(String const&, String const&) @ 0x0000000037270eb1 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::DataPartStorageOnDiskFull::createHardLinkFrom(DB::IDataPartStorage const&, String const&, String const&) @ 0x000000003cbb1ee8 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateSomePartColumnsTask::prepare() @ 0x000000003d6e3995 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:1501: DB::MutateSomePartColumnsTask::executeStep() @ 0x000000003d6e2035 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:1754: DB::MutateTask::execute() @ 0x000000003d6852d2 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MutatePlainMergeTreeTask.cpp:0: DB::MutatePlainMergeTreeTask::executeStep() @ 0x000000003dabb8bd in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:24.252295 [ 1850 ] {346fa883-6b33-48d0-bd6a-a94e384755e3} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1507328 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58300) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactEachRowWithNames), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::(anonymous namespace)::getBlockSortPermutationImpl(DB::Block const&, DB::SortDescription const&, DB::IColumn::PermutationSortStability, unsigned long, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa25639 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa2460c in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:24.252294 [ 12870 ] {18da3781-c5b5-4ce1-b1b7-5d10910c7a9f} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1120836 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58174) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactStringsEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::(anonymous namespace)::getBlockSortPermutationImpl(DB::Block const&, DB::SortDescription const&, DB::IColumn::PermutationSortStability, unsigned long, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa25639 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa2460c in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:24.252756 [ 5705 ] {f7c47428-629c-4176-9cb6-26ce574369e1} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1296264 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58166) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactEachRowWithNamesAndTypes), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnFixedString.cpp:339: COW::immutable_ptr DB::ColumnFixedString::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0adfba in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnFixedString.cpp:314: DB::ColumnFixedString::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0720bc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa24844 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:24.475776 [ 9140 ] {8510b169-3f50-42f4-a1fa-fd848e8b7900} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 8388608 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: while executing 'FUNCTION materialize(c2 :: 2) -> materialize(c2) String : 1'. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::ColumnString::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000003b1a8c27 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:143: DB::ColumnConst::convertToFullColumn() const @ 0x000000003ad7eaa5 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnConst.h:39: DB::ColumnConst::convertToFullColumnIfConst() const @ 0x000000003ad823ce in /usr/bin/clickhouse 12. DB::FunctionMaterialize::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000171b4100 in /usr/bin/clickhouse 13. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:41: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000003eb89746 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1de0ed in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:24.475798 [ 6792 ] {1c583eae-cc8a-48df-9a88-2ec432cadd75} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing MergingAggregatedTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56052) (comment: 00171_grouping_aggregated_transform_bug.sql) (in query: SELECT sum(cityHash64(*)) FROM (SELECT CounterID, quantileTiming(0.5)(SendTiming), count() FROM remote('127.0.0.{1,2,3,4,5,6,7,8,9,10}', test.hits) WHERE SendTiming != -1 GROUP BY CounterID) SETTINGS max_block_size = 63169;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:3121: DB::Aggregator::mergeBlocks(std::map>, std::less, std::allocator>>>>, DB::AggregatedDataVariants&, unsigned long) @ 0x0000000037df77ce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/MergingAggregatedTransform.cpp:0: DB::MergingAggregatedTransform::generate() @ 0x000000003f13cf6a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/IAccumulatingTransform.cpp:93: DB::IAccumulatingTransform::work() @ 0x000000003eb48708 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:24.476146 [ 2237 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_59_10}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 1052222 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x0000000009415a91 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:322: DB::ColumnVector::insertDefault() @ 0x000000003b33a155 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnSparse.cpp:0: DB::ColumnSparse::ColumnSparse(COW::mutable_ptr&&) @ 0x000000003b186f53 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: DB::IDataType::createColumn(DB::ISerialization const&) const @ 0x0000000036dbb55a in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:140: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4597fa in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:25.711418 [ 4278 ] {9881fcb0-d7cb-45ae-820a-ebba5d3d7cd8} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 1964800 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (avg_value_size_hint = 118.920166015625, avg_chars_size = 133.10419921874998, limit = 8192): (while reading column URL): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 24 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff78e6 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::continueReadingChain(DB::MergeTreeRangeReader::ReadResult const&, unsigned long&) @ 0x000000003d50c8f3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:979: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506ad7 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:26.516612 [ 6792 ] {1c583eae-cc8a-48df-9a88-2ec432cadd75} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing MergingAggregatedTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:3121: DB::Aggregator::mergeBlocks(std::map>, std::less, std::allocator>>>>, DB::AggregatedDataVariants&, unsigned long) @ 0x0000000037df77ce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/MergingAggregatedTransform.cpp:0: DB::MergingAggregatedTransform::generate() @ 0x000000003f13cf6a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/IAccumulatingTransform.cpp:93: DB::IAccumulatingTransform::work() @ 0x000000003eb48708 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:26.516683 [ 9259 ] {f95e1ddd-7152-4bf3-b79d-717a69f53164} executeQuery: Code: 36. DB::Exception: Cannot sleep infinite or negative amount of time (not implemented). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48932) (comment: 01655_sleep_infinite_float.sql) (in query: SELECT sleep(nan);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001ce62017 in /usr/bin/clickhouse 3. DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x000000001ce61957 in /usr/bin/clickhouse 4. DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ce60994 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374d5b85 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eb86e23 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0b4610 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b5d13a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b3b354 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 26. ? @ 0x00007fc6eb378a83 in ? 27. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:26.517013 [ 1850 ] {346fa883-6b33-48d0-bd6a-a94e384755e3} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1507328 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::(anonymous namespace)::getBlockSortPermutationImpl(DB::Block const&, DB::SortDescription const&, DB::IColumn::PermutationSortStability, unsigned long, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa25639 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa2460c in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:26.517159 [ 2242 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {87d63275-efc8-41cf-b773-50c08a335cb1::202610_1_61_13}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::SerializationNullable::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036f598b3 in /usr/bin/clickhouse 25. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 26. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:26.517902 [ 9259 ] {f95e1ddd-7152-4bf3-b79d-717a69f53164} TCPHandler: Code: 36. DB::Exception: Cannot sleep infinite or negative amount of time (not implemented). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001ce62017 in /usr/bin/clickhouse 3. DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x000000001ce61957 in /usr/bin/clickhouse 4. DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ce60994 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374d5b85 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eb86e23 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0b4610 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b5d13a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b3b354 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 26. ? @ 0x00007fc6eb378a83 in ? 27. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:26.516682 [ 12870 ] {18da3781-c5b5-4ce1-b1b7-5d10910c7a9f} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1120836 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::(anonymous namespace)::getBlockSortPermutationImpl(DB::Block const&, DB::SortDescription const&, DB::IColumn::PermutationSortStability, unsigned long, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa25639 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa2460c in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:26.525026 [ 5705 ] {f7c47428-629c-4176-9cb6-26ce574369e1} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1296264 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnFixedString.cpp:339: COW::immutable_ptr DB::ColumnFixedString::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0adfba in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnFixedString.cpp:314: DB::ColumnFixedString::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0720bc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa24844 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:26.597687 [ 9259 ] {62a747e5-c677-4e4c-b0e4-eb1eb12810af} executeQuery: Code: 36. DB::Exception: Cannot sleep infinite or negative amount of time (not implemented). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48932) (comment: 01655_sleep_infinite_float.sql) (in query: SELECT sleep(inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001ce62017 in /usr/bin/clickhouse 3. DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x000000001ce61957 in /usr/bin/clickhouse 4. DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ce60994 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374d5b85 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eb86e23 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0b4610 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b5d13a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b3b354 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 26. ? @ 0x00007fc6eb378a83 in ? 27. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:26.599044 [ 9259 ] {62a747e5-c677-4e4c-b0e4-eb1eb12810af} TCPHandler: Code: 36. DB::Exception: Cannot sleep infinite or negative amount of time (not implemented). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001ce62017 in /usr/bin/clickhouse 3. DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x000000001ce61957 in /usr/bin/clickhouse 4. DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001ce60994 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374d5b85 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eb86e23 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0b4610 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b5d13a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b3b354 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 26. ? @ 0x00007fc6eb378a83 in ? 27. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:34.001246 [ 2671 ] {5b538865-2f59-480a-a6db-d1f35decef87} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date: While processing makeDate(CAST(1980, 'Date'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54084) (comment: 02242_make_date.sql) (in query: select makeDate(cast(1980 as Date), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:34.007024 [ 2671 ] {5b538865-2f59-480a-a6db-d1f35decef87} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date: While processing makeDate(CAST(1980, 'Date'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:34.162316 [ 2671 ] {61d169ec-2696-4030-a861-09c8c7e20980} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date: While processing makeDate(CAST(-1980, 'Date'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54084) (comment: 02242_make_date.sql) (in query: select makeDate(cast(-1980 as Date), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:34.174301 [ 2671 ] {61d169ec-2696-4030-a861-09c8c7e20980} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date: While processing makeDate(CAST(-1980, 'Date'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:34.291759 [ 2671 ] {bcaf75ca-22dd-4d3a-8f50-d8cc55147eee} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date32: While processing makeDate(CAST(1980, 'Date32'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54084) (comment: 02242_make_date.sql) (in query: select makeDate(cast(1980 as Date32), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:34.406810 [ 2671 ] {bcaf75ca-22dd-4d3a-8f50-d8cc55147eee} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date32: While processing makeDate(CAST(1980, 'Date32'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:34.554985 [ 2671 ] {7a558920-d11d-4670-a98f-6fea402ec026} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date32: While processing makeDate(CAST(-1980, 'Date32'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54084) (comment: 02242_make_date.sql) (in query: select makeDate(cast(-1980 as Date32), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:34.561273 [ 2671 ] {7a558920-d11d-4670-a98f-6fea402ec026} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date32: While processing makeDate(CAST(-1980, 'Date32'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:34.720300 [ 2671 ] {b84e1432-de87-4321-b49f-5fb78c229b90} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime: While processing makeDate(CAST(1980, 'DateTime'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54084) (comment: 02242_make_date.sql) (in query: select makeDate(cast(1980 as DateTime), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:34.729245 [ 2671 ] {b84e1432-de87-4321-b49f-5fb78c229b90} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime: While processing makeDate(CAST(1980, 'DateTime'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:34.869407 [ 2671 ] {8258c9e3-fdd7-46c5-a0ac-17c056722a7e} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime: While processing makeDate(CAST(-1980, 'DateTime'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54084) (comment: 02242_make_date.sql) (in query: select makeDate(cast(-1980 as DateTime), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:34.880509 [ 2671 ] {8258c9e3-fdd7-46c5-a0ac-17c056722a7e} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime: While processing makeDate(CAST(-1980, 'DateTime'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:35.088168 [ 2671 ] {43f5c5d0-3670-4451-a98b-75288f20bde5} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime64(3): While processing makeDate(CAST(1980, 'DateTime64'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54084) (comment: 02242_make_date.sql) (in query: select makeDate(cast(1980 as DateTime64), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:35.200630 [ 2671 ] {43f5c5d0-3670-4451-a98b-75288f20bde5} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime64(3): While processing makeDate(CAST(1980, 'DateTime64'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:35.304971 [ 2671 ] {bb241e61-1c54-47f4-a3b1-c138bf137a8b} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime64(3): While processing makeDate(CAST(-1980, 'DateTime64'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54084) (comment: 02242_make_date.sql) (in query: select makeDate(cast(-1980 as DateTime64), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:35.315459 [ 2671 ] {bb241e61-1c54-47f4-a3b1-c138bf137a8b} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime64(3): While processing makeDate(CAST(-1980, 'DateTime64'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:38.450164 [ 2247 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {87d63275-efc8-41cf-b773-50c08a335cb1::202610_1_61_13}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1114301 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::SerializationNullable::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036f598b3 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:38.455273 [ 2231 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_102_107_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1054909 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:37: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d102291 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:38.458752 [ 6141 ] {7d95a42f-385f-4d81-aa72-f240eabb5186} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1048704 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54010) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactEachRowWithNames), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::PODArray, 4096ul, Allocator, 63ul, 64ul>::PODArray(unsigned long) @ 0x000000003b24587f in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnVector.cpp:0: auto DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const::'lambda'(auto, auto, auto)::operator()::less>(auto, auto, auto) const @ 0x000000003b4b30a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/IColumnImpl.h:0: void DB::IColumn::updatePermutationImpl::less, DB::ColumnVector::equals, DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const::'lambda'(auto, auto, auto), DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const::'lambda'(auto, auto, auto, auto)>(unsigned long, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&, auto, auto, auto, auto) const @ 0x000000003b28d037 in /usr/bin/clickhouse 12. ./build_docker/./src/Columns/ColumnVector.cpp:401: DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const @ 0x000000003b28c95e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/sortBlock.cpp:190: DB::(anonymous namespace)::getBlockSortPermutationImpl(DB::Block const&, DB::SortDescription const&, DB::IColumn::PermutationSortStability, unsigned long, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa25bbb in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa2460c in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 26. ? @ 0x00007fc6eb378a83 in ? 27. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:38.470824 [ 5951 ] {} ExternalDictionariesLoader: Could not load external dictionary 'test_5.dict', next update is scheduled at 2026-10-27 19:27:46: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.40 GiB (attempt to allocate chunk of 67108864 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 7. HashTable, HashTableNoState>, DefaultHash, DB::HashedDictionaryImpl::HashTableGrowerWithPrecalculationAndMaxLoadFactor<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000002bb33dfe in /usr/bin/clickhouse 8. void detail::static_for::getAttributeContainers::resize(unsigned long)::'lambda'(auto&)>(unsigned long, auto&&)::'lambda'(auto const&)&>(DB::AttributeUnderlyingType, auto&&)::'lambda'(auto), 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul, 8ul, 9ul, 10ul, 11ul, 12ul, 13ul, 14ul, 15ul, 16ul, 17ul, 18ul, 19ul, 20ul, 21ul, 22ul, 23ul>(void DB::callOnDictionaryAttributeType::getAttributeContainers::resize(unsigned long)::'lambda'(auto&)>(unsigned long, auto&&)::'lambda'(auto const&)&>(DB::AttributeUnderlyingType, auto&&)::'lambda'(auto)&&, std::integer_sequence) @ 0x000000002bbdbcac in /usr/bin/clickhouse 9. DB::HashedDictionary<(DB::DictionaryKeyType)0, true, false>::loadData() @ 0x000000002b3e4799 in /usr/bin/clickhouse 10. DB::HashedDictionary<(DB::DictionaryKeyType)0, true, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x000000002b3e3401 in /usr/bin/clickhouse 11. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000002b3b8356 in /usr/bin/clickhouse 12. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b3ba3d7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000035256311 in /usr/bin/clickhouse 14. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000035252fb7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038c9ac44 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038ca6a60 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cc3485 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cba4b5 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ccec9a in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038cce77f in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:38.559849 [ 2292 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::PartLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 5226492 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:40.656910 [ 2233 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 2207744 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing CollapsingSortedTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:0: DB::CompressedWriteBuffer::nextImpl() @ 0x0000000036895a50 in /usr/bin/clickhouse 10. DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000941dcac in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Merges/Algorithms/CollapsingSortedAlgorithm.cpp:119: DB::CollapsingSortedAlgorithm::insertRows() @ 0x000000003ee84d60 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Merges/Algorithms/CollapsingSortedAlgorithm.cpp:0: DB::CollapsingSortedAlgorithm::merge() @ 0x000000003ee868dc in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003cdea4e2 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 28. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:40.657523 [ 2243 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_60_10}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1052222 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x0000000009415a91 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:322: DB::ColumnVector::insertDefault() @ 0x000000003b33a155 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnSparse.cpp:0: DB::ColumnSparse::ColumnSparse(COW::mutable_ptr&&) @ 0x000000003b186f53 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: DB::IDataType::createColumn(DB::ISerialization const&) const @ 0x0000000036dbb55a in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:140: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4597fa in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:40.658066 [ 2671 ] {5ee10cdb-33b6-4bc5-90a3-ed2e32c7486a} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got String: While processing makeDate('1980', '10', '20'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54084) (comment: 02242_make_date.sql) (in query: select makeDate('1980', '10', '20');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:40.665525 [ 2671 ] {5ee10cdb-33b6-4bc5-90a3-ed2e32c7486a} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got String: While processing makeDate('1980', '10', '20'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:40.709247 [ 2232 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_55_80_3}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1048704 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:0: DB::PODArray, 63ul, 64ul>::resize_fill(unsigned long) @ 0x00000000208957ba in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnString.cpp:75: DB::ColumnString::cloneResized(unsigned long) const @ 0x000000003b1a4eb4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:140: DB::ColumnUnique::ColumnUnique(DB::IDataType const&) @ 0x0000000036b200f9 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: DB::DataTypeLowCardinality::createColumnUnique(DB::IDataType const&) @ 0x0000000036b16e2b in /usr/bin/clickhouse 13. ./build_docker/./src/DataTypes/Serializations/SerializationLowCardinality.cpp:0: DB::SerializationLowCardinality::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000036f303d2 in /usr/bin/clickhouse 14. ./build_docker/./src/DataTypes/Serializations/SerializationArray.cpp:0: DB::SerializationArray::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000036ec1351 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:147: DB::MergeTreeDataPartWriterCompact::writeDataBlock(DB::Block const&, std::vector> const&) @ 0x000000003d108a37 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:186: DB::MergeTreeDataPartWriterCompact::writeDataBlockPrimaryIndexAndSkipIndices(DB::Block const&, std::vector> const&) @ 0x000000003d106cb0 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::MergeTreeDataPartWriterCompact::fillDataChecksums(DB::MergeTreeDataPartChecksums&) @ 0x000000003d10a475 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:422: DB::MergeTreeDataPartWriterCompact::fillChecksums(DB::MergeTreeDataPartChecksums&) @ 0x000000003d10ccc5 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d649a07 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePart(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d649640 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::MergeTask::MergeProjectionsStage::finalizeProjectionsAndWholeMerge() const @ 0x000000003cdcaadc in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cddedbf in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::MergeProjectionsStage::execute() @ 0x000000003cdcaeae in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 30. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:40.787298 [ 2671 ] {86797322-99b9-4ac5-af05-e7403155f372} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got String: While processing makeDate('-1980', 3, 17). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54084) (comment: 02242_make_date.sql) (in query: select makeDate('-1980', 3, 17);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:40.796249 [ 2671 ] {86797322-99b9-4ac5-af05-e7403155f372} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got String: While processing makeDate('-1980', 3, 17). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:40.884311 [ 2671 ] {77d476d6-b13a-40bb-8c0f-1c8f8dff2087} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got String: While processing makeDate('aa', 3, 24). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54084) (comment: 02242_make_date.sql) (in query: select makeDate('aa', 3, 24);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:40.895071 [ 2671 ] {77d476d6-b13a-40bb-8c0f-1c8f8dff2087} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got String: While processing makeDate('aa', 3, 24). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:41.017469 [ 2671 ] {c6187aa1-5a07-423a-80d9-147a05caa3cd} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'month' of function makeDate, expected Number, got String: While processing makeDate(1994, 'aa', 24). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54084) (comment: 02242_make_date.sql) (in query: select makeDate(1994, 'aa', 24);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:41.027705 [ 2671 ] {c6187aa1-5a07-423a-80d9-147a05caa3cd} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'month' of function makeDate, expected Number, got String: While processing makeDate(1994, 'aa', 24). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:41.159935 [ 2671 ] {037f9d59-e6df-4639-8f83-1d10f1761f9d} executeQuery: Code: 43. DB::Exception: Illegal type of argument #3 'day' of function makeDate, expected Number, got String: While processing makeDate(1984, 3, 'aa'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54084) (comment: 02242_make_date.sql) (in query: select makeDate(1984, 3, 'aa');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:41.175570 [ 2671 ] {037f9d59-e6df-4639-8f83-1d10f1761f9d} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #3 'day' of function makeDate, expected Number, got String: While processing makeDate(1984, 3, 'aa'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b04c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:27:41.764352 [ 6141 ] {7d95a42f-385f-4d81-aa72-f240eabb5186} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1048704 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::PODArray, 4096ul, Allocator, 63ul, 64ul>::PODArray(unsigned long) @ 0x000000003b24587f in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnVector.cpp:0: auto DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const::'lambda'(auto, auto, auto)::operator()::less>(auto, auto, auto) const @ 0x000000003b4b30a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/IColumnImpl.h:0: void DB::IColumn::updatePermutationImpl::less, DB::ColumnVector::equals, DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const::'lambda'(auto, auto, auto), DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const::'lambda'(auto, auto, auto, auto)>(unsigned long, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&, auto, auto, auto, auto) const @ 0x000000003b28d037 in /usr/bin/clickhouse 12. ./build_docker/./src/Columns/ColumnVector.cpp:401: DB::ColumnVector::updatePermutation(DB::IColumn::PermutationSortDirection, DB::IColumn::PermutationSortStability, unsigned long, int, DB::PODArray, 63ul, 64ul>&, std::vector, std::allocator>>&) const @ 0x000000003b28c95e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/sortBlock.cpp:190: DB::(anonymous namespace)::getBlockSortPermutationImpl(DB::Block const&, DB::SortDescription const&, DB::IColumn::PermutationSortStability, unsigned long, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa25bbb in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa2460c in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 26. ? @ 0x00007fc6eb378a83 in ? 27. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:43.485926 [ 2671 ] {daf8b271-6f8e-4a4f-b43d-2137576aa93b} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function makeDate provided 1 (UInt16), expected 2 ('year' : Number, 'dayofyear' : Number): While processing makeDate(1980). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54084) (comment: 02242_make_date.sql) (in query: select makeDate(1980);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x00000000352d7cf8 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352d008c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b6bb in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:27:47.727448 [ 2292 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::PartLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.56 GiB (attempt to allocate chunk of 5158465 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:47.727547 [ 2671 ] {daf8b271-6f8e-4a4f-b43d-2137576aa93b} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function makeDate provided 1 (UInt16), expected 2 ('year' : Number, 'dayofyear' : Number): While processing makeDate(1980). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x00000000352d7cf8 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352d008c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b6bb in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:27:47.727651 [ 2350 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::AsynchronousMetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.56 GiB (attempt to allocate chunk of 4456814 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3b72d3 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3b47b2 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c23847 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:47.727947 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.55 GiB (attempt to allocate chunk of 5093220 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:47.727947 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.55 GiB (attempt to allocate chunk of 5171521 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:47.730453 [ 2235 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_74_81_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1118460 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:47.732283 [ 9259 ] {316466c6-ced1-40b1-80c4-db17e69f6dfa} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1084592 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergeSortingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54024) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactEachRowWithNames), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::ColumnString::reserve(unsigned long) @ 0x000000003b1a9e00 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::Chunk DB::MergeSorter::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003ed113f9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003ec34cf3 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergeSorter::read() @ 0x000000003ec1cfa8 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergeSortingTransform.cpp:236: DB::MergeSortingTransform::generate() @ 0x000000003ebf1521 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:354: DB::SortingTransform::work() @ 0x000000003ec2d564 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:47.732893 [ 2234 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1050750 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:72: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d12504a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 15. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:47.742047 [ 7214 ] {} ExternalDictionariesLoader: Could not load external dictionary 'test_5.dict', next update is scheduled at 2026-10-27 19:28:18: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 4206728 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 7. HashTable, HashTableNoState>, DefaultHash, DB::HashedDictionaryImpl::HashTableGrowerWithPrecalculationAndMaxLoadFactor<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000002bb33dfe in /usr/bin/clickhouse 8. void detail::static_for::getAttributeContainers::resize(unsigned long)::'lambda'(auto&)>(unsigned long, auto&&)::'lambda'(auto const&)&>(DB::AttributeUnderlyingType, auto&&)::'lambda'(auto), 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul, 8ul, 9ul, 10ul, 11ul, 12ul, 13ul, 14ul, 15ul, 16ul, 17ul, 18ul, 19ul, 20ul, 21ul, 22ul, 23ul>(void DB::callOnDictionaryAttributeType::getAttributeContainers::resize(unsigned long)::'lambda'(auto&)>(unsigned long, auto&&)::'lambda'(auto const&)&>(DB::AttributeUnderlyingType, auto&&)::'lambda'(auto)&&, std::integer_sequence) @ 0x000000002bbdbcac in /usr/bin/clickhouse 9. DB::HashedDictionary<(DB::DictionaryKeyType)0, true, false>::loadData() @ 0x000000002b3e4799 in /usr/bin/clickhouse 10. DB::HashedDictionary<(DB::DictionaryKeyType)0, true, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x000000002b3e3401 in /usr/bin/clickhouse 11. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000002b3b8356 in /usr/bin/clickhouse 12. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b3ba3d7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000035256311 in /usr/bin/clickhouse 14. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000035252fb7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038c9ac44 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038ca6a60 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cc3485 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cba4b5 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ccec9a in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038cce77f in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:48.628683 [ 9140 ] {28a1ef1a-2977-47fb-bb7d-e2edf513afaf} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column ClientIP6): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 40960): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44004) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactStringsEachRowWithNames), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:45: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770de9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 19. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c526 in /usr/bin/clickhouse 20. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 2026.10.27 19:27:48.628777 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.51 GiB (attempt to allocate chunk of 4346366 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a483e53 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a481142 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2fca7 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:48.683155 [ 2236 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} TemporaryFileOnDisk: Temporary path 'tmp45853f93-3a8a-45f9-98ac-f9f43695b8a1' does not exist in '/var/lib/clickhouse/tmp/' 2026.10.27 19:27:51.934654 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.50 GiB (attempt to allocate chunk of 4207669 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnString.cpp:0: COW::immutable_ptr DB::ColumnString::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b1c9584 in /usr/bin/clickhouse 9. ./build_docker/./src/Columns/ColumnsCommon.h:0: COW::immutable_ptr DB::selectIndexImpl(DB::ColumnString const&, DB::IColumn const&, unsigned long) @ 0x000000003b1acd57 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnString.cpp:267: DB::ColumnString::index(DB::IColumn const&, unsigned long) const @ 0x000000003b1a7d8e in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnLowCardinality.cpp:0: DB::ColumnLowCardinality::Dictionary::compact(DB::IColumnUnique const&, COW::mutable_ptr&) @ 0x000000003b0e5951 in /usr/bin/clickhouse 12. ./build_docker/./src/Columns/ColumnLowCardinality.cpp:0: DB::ColumnLowCardinality::cutAndCompact(unsigned long, unsigned long) const @ 0x000000003b0e5526 in /usr/bin/clickhouse 13. ./build_docker/./src/DataTypes/Serializations/SerializationLowCardinality.cpp:0: DB::SerializationLowCardinality::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000036f305fe in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:147: DB::MergeTreeDataPartWriterCompact::writeDataBlock(DB::Block const&, std::vector> const&) @ 0x000000003d108a37 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:186: DB::MergeTreeDataPartWriterCompact::writeDataBlockPrimaryIndexAndSkipIndices(DB::Block const&, std::vector> const&) @ 0x000000003d106cb0 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::MergeTreeDataPartWriterCompact::fillDataChecksums(DB::MergeTreeDataPartChecksums&) @ 0x000000003d10a475 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:422: DB::MergeTreeDataPartWriterCompact::fillChecksums(DB::MergeTreeDataPartChecksums&) @ 0x000000003d10ccc5 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d649a07 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a4a9253 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a4a6542 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:51.935178 [ 2289 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::MetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.55 GiB (attempt to allocate chunk of 4198589 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:51.935429 [ 6141 ] {cfcae660-1653-46e1-aade-75e47ba65e95} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column URLDomain): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 49654): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44000) (comment: 00169_contingency.sql) (in query: WITH URLDomain AS a, URLDomain AS b SELECT round(cramersV(a, b), 2), round(cramersVBiasCorrected(a, b), 2), round(theilsU(a, b), 2), round(theilsU(b, a), 2), round(contingency(a, b), 2) FROM test.hits;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:45: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770de9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 19. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c526 in /usr/bin/clickhouse 20. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 2026.10.27 19:27:51.935453 [ 2237 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {87d63275-efc8-41cf-b773-50c08a335cb1::202610_1_61_13}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1054909 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d125558 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:51.935746 [ 1850 ] {f612c148-878f-4385-99d6-ac9f67adf9a9} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1178203 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 68 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43990) (comment: 00159_parallel_formatting_csv_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c Format CSV), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:51.935601 [ 2232 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {1b472cab-7f44-4e61-9d4f-069834646e86::202610_1_69_15}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.38 GiB (attempt to allocate chunk of 2015358 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePart(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d649640 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::MergeTask::MergeProjectionsStage::finalizeProjectionsAndWholeMerge() const @ 0x000000003cdcaadc in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cddedbf in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::MergeProjectionsStage::execute() @ 0x000000003cdcaeae in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:51.935943 [ 4278 ] {e9bf16e6-d6e5-4689-af49-319d3a26bccf} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1078080 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 68 with max_rows_to_read = 20040): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54018) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactEachRowWithNamesAndTypes), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:51.935456 [ 2243 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_102_107_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.38 GiB (attempt to allocate chunk of 1475358 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePart(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d649640 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::MergeTask::MergeProjectionsStage::finalizeProjectionsAndWholeMerge() const @ 0x000000003cdcaadc in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cddedbf in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::MergeProjectionsStage::execute() @ 0x000000003cdcaeae in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:51.936416 [ 4374 ] {6cfff8dd-972f-4b8c-81d3-5c2e5f1c2db8} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1340345 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column URL): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 168 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43992) (comment: 00095_hyperscan_profiler.sql) (in query: SELECT count() FROM test.hits WHERE multiFuzzyMatchAny(URL, 2, ['about/address', 'for_woman', '^https?://lm-company.ruy/$', 'ultimateguitar.com']);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:176: void DB::deserializeBinarySSE2<1>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x0000000036ffe5e3 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:0: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b44 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 27. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 31. ? @ 0x00007fc6eb378a83 in ? 2026.10.27 19:27:52.639185 [ 5708 ] {48c1d28c-462c-4a00-a1c2-f126ede22e17} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1212543 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading from part /var/lib/clickhouse/disks/s3/data/test_5/sample_final/all_1_1_0/ in table test_5.sample_final located on disk s3 of type s3, from mark 12 with max_rows_to_read = 24576): While executing MergeTreeInOrder. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56064) (comment: 01034_sample_final_distributed.sql) (in query: select count() from sample_final final sample 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a849f in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeReaderCompact::readData(DB::NameAndTypePair const&, COW::immutable_ptr&, unsigned long, unsigned long, unsigned long, unsigned long, std::optional>) @ 0x000000003d45c381 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d45a13b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:53.095951 [ 9140 ] {28a1ef1a-2977-47fb-bb7d-e2edf513afaf} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column ClientIP6): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 40960): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:45: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770de9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 19. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c526 in /usr/bin/clickhouse 20. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 2026.10.27 19:27:54.137411 [ 6141 ] {cfcae660-1653-46e1-aade-75e47ba65e95} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column URLDomain): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 49654): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:45: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770de9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 19. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c526 in /usr/bin/clickhouse 20. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 2026.10.27 19:27:54.137539 [ 2671 ] {9a39fedb-83c2-48ed-86c4-6e235beb36d3} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function makeDate provided 4 (UInt16, UInt8, UInt8, UInt8), expected 2 ('year' : Number, 'dayofyear' : Number): While processing makeDate(1980, 1, 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54084) (comment: 02242_make_date.sql) (in query: select makeDate(1980, 1, 1, 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x00000000352d7cf8 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352d008c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b6bb in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:27:54.137595 [ 4287 ] {0ecd7784-bae7-4cda-a97c-e74aa736b987} BackupsWorker: Failed to start backup S3('http://localhost:11111/test/backups/test_9/use_same_s3_credentials_for_base_backup_base_inc_2', 'test', '[HIDDEN]'): Code: 499. DB::Exception: The request signature we calculated does not match the signature you provided. Check your key and signing method. (S3_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::S3Exception::S3Exception(String const&, Aws::S3::S3Errors) @ 0x0000000035647f41 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/BackupIO_S3.cpp:92: DB::(anonymous namespace)::listObjects(DB::S3::Client&, DB::S3::URI const&, String const&) @ 0x00000000361910bb in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::BackupReaderS3::fileExists(String const&) @ 0x0000000036190284 in /usr/bin/clickhouse 5. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::readBackupMetadata() @ 0x000000003614324e in /usr/bin/clickhouse 6. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::open(std::shared_ptr const&) @ 0x000000003613d555 in /usr/bin/clickhouse 7. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::BackupImpl(DB::BackupInfo const&, DB::BackupImpl::ArchiveParams const&, std::optional const&, std::shared_ptr, std::shared_ptr const&, bool) @ 0x000000003613cac0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x00000000361386e5 in /usr/bin/clickhouse 9. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x000000003608ca24 in /usr/bin/clickhouse 10. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::open(std::shared_ptr const&) @ 0x000000003613dc21 in /usr/bin/clickhouse 11. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::BackupImpl(DB::BackupInfo const&, DB::BackupImpl::ArchiveParams const&, std::optional const&, std::shared_ptr, std::shared_ptr const&, bool) @ 0x000000003613cac0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x00000000361386e5 in /usr/bin/clickhouse 13. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x000000003608ca24 in /usr/bin/clickhouse 14. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::open(std::shared_ptr const&) @ 0x000000003613dc21 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupImpl::BackupImpl(DB::BackupInfo const&, DB::BackupImpl::ArchiveParams const&, std::optional const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr const&, std::optional, DB::UUIDTag>> const&, bool, bool) @ 0x000000003613f3f5 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x00000000361383d8 in /usr/bin/clickhouse 17. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x000000003608ca24 in /usr/bin/clickhouse 18. ./build_docker/./src/Backups/BackupsWorker.cpp:392: DB::BackupsWorker::doBackup(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::BackupSettings, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000035f787db in /usr/bin/clickhouse 19. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startMakingBackup(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000035f6e509 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000035f6cb45 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x0000000039a4a098 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 31. ? @ 0x00007fc6eb378a83 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:54.137674 [ 4374 ] {6cfff8dd-972f-4b8c-81d3-5c2e5f1c2db8} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1340345 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column URL): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 168 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:176: void DB::deserializeBinarySSE2<1>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x0000000036ffe5e3 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:0: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b44 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 27. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 31. ? @ 0x00007fc6eb378a83 in ? 2026.10.27 19:27:54.137860 [ 1850 ] {f612c148-878f-4385-99d6-ac9f67adf9a9} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1178203 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 68 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:54.138086 [ 2244 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_61_10}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 1050815 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:54.138715 [ 2671 ] {9a39fedb-83c2-48ed-86c4-6e235beb36d3} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function makeDate provided 4 (UInt16, UInt8, UInt8, UInt8), expected 2 ('year' : Number, 'dayofyear' : Number): While processing makeDate(1980, 1, 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x00000000352d7cf8 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352d008c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000001717b6bb in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:27:54.139155 [ 4287 ] {0ecd7784-bae7-4cda-a97c-e74aa736b987} executeQuery: Code: 499. DB::Exception: The request signature we calculated does not match the signature you provided. Check your key and signing method. (S3_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55514) (comment: 02843_backup_use_same_s3_credentials_for_base_backup.sh) (in query: BACKUP TABLE data TO S3('http://localhost:11111/test/backups/test_9/use_same_s3_credentials_for_base_backup_base_inc_2', 'test', '[HIDDEN]') SETTINGS base_backup = S3('http://localhost:11111/test/backups/test_9/use_same_s3_credentials_for_base_backup_base_inc_1', 'test', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::S3Exception::S3Exception(String const&, Aws::S3::S3Errors) @ 0x0000000035647f41 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/BackupIO_S3.cpp:92: DB::(anonymous namespace)::listObjects(DB::S3::Client&, DB::S3::URI const&, String const&) @ 0x00000000361910bb in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::BackupReaderS3::fileExists(String const&) @ 0x0000000036190284 in /usr/bin/clickhouse 5. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::readBackupMetadata() @ 0x000000003614324e in /usr/bin/clickhouse 6. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::open(std::shared_ptr const&) @ 0x000000003613d555 in /usr/bin/clickhouse 7. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::BackupImpl(DB::BackupInfo const&, DB::BackupImpl::ArchiveParams const&, std::optional const&, std::shared_ptr, std::shared_ptr const&, bool) @ 0x000000003613cac0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x00000000361386e5 in /usr/bin/clickhouse 9. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x000000003608ca24 in /usr/bin/clickhouse 10. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::open(std::shared_ptr const&) @ 0x000000003613dc21 in /usr/bin/clickhouse 11. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::BackupImpl(DB::BackupInfo const&, DB::BackupImpl::ArchiveParams const&, std::optional const&, std::shared_ptr, std::shared_ptr const&, bool) @ 0x000000003613cac0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x00000000361386e5 in /usr/bin/clickhouse 13. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x000000003608ca24 in /usr/bin/clickhouse 14. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::open(std::shared_ptr const&) @ 0x000000003613dc21 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupImpl::BackupImpl(DB::BackupInfo const&, DB::BackupImpl::ArchiveParams const&, std::optional const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr const&, std::optional, DB::UUIDTag>> const&, bool, bool) @ 0x000000003613f3f5 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x00000000361383d8 in /usr/bin/clickhouse 17. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x000000003608ca24 in /usr/bin/clickhouse 18. ./build_docker/./src/Backups/BackupsWorker.cpp:392: DB::BackupsWorker::doBackup(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::BackupSettings, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000035f787db in /usr/bin/clickhouse 19. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startMakingBackup(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000035f6e509 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000035f6cb45 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x0000000039a4a098 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 31. ? @ 0x00007fc6eb378a83 in ? 2026.10.27 19:27:54.137449 [ 9259 ] {316466c6-ced1-40b1-80c4-db17e69f6dfa} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1084592 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergeSortingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::ColumnString::reserve(unsigned long) @ 0x000000003b1a9e00 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::Chunk DB::MergeSorter::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003ed113f9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003ec34cf3 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergeSorter::read() @ 0x000000003ec1cfa8 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergeSortingTransform.cpp:236: DB::MergeSortingTransform::generate() @ 0x000000003ebf1521 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:354: DB::SortingTransform::work() @ 0x000000003ec2d564 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:54.142883 [ 5708 ] {48c1d28c-462c-4a00-a1c2-f126ede22e17} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1212543 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading from part /var/lib/clickhouse/disks/s3/data/test_5/sample_final/all_1_1_0/ in table test_5.sample_final located on disk s3 of type s3, from mark 12 with max_rows_to_read = 24576): While executing MergeTreeInOrder. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a849f in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeReaderCompact::readData(DB::NameAndTypePair const&, COW::immutable_ptr&, unsigned long, unsigned long, unsigned long, unsigned long, std::optional>) @ 0x000000003d45c381 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d45a13b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:54.143091 [ 2231 ] {} 47efcd1d-fb91-4e96-859b-e362373a9342::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:2995: DB::Aggregator::mergeOnBlock(DB::Block, DB::AggregatedDataVariants&, bool&) const @ 0x0000000037df0e86 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb03d0f in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:54.146909 [ 4287 ] {0ecd7784-bae7-4cda-a97c-e74aa736b987} TCPHandler: Code: 499. DB::Exception: The request signature we calculated does not match the signature you provided. Check your key and signing method. (S3_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::S3Exception::S3Exception(String const&, Aws::S3::S3Errors) @ 0x0000000035647f41 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/BackupIO_S3.cpp:92: DB::(anonymous namespace)::listObjects(DB::S3::Client&, DB::S3::URI const&, String const&) @ 0x00000000361910bb in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::BackupReaderS3::fileExists(String const&) @ 0x0000000036190284 in /usr/bin/clickhouse 5. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::readBackupMetadata() @ 0x000000003614324e in /usr/bin/clickhouse 6. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::open(std::shared_ptr const&) @ 0x000000003613d555 in /usr/bin/clickhouse 7. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::BackupImpl(DB::BackupInfo const&, DB::BackupImpl::ArchiveParams const&, std::optional const&, std::shared_ptr, std::shared_ptr const&, bool) @ 0x000000003613cac0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x00000000361386e5 in /usr/bin/clickhouse 9. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x000000003608ca24 in /usr/bin/clickhouse 10. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::open(std::shared_ptr const&) @ 0x000000003613dc21 in /usr/bin/clickhouse 11. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::BackupImpl(DB::BackupInfo const&, DB::BackupImpl::ArchiveParams const&, std::optional const&, std::shared_ptr, std::shared_ptr const&, bool) @ 0x000000003613cac0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x00000000361386e5 in /usr/bin/clickhouse 13. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x000000003608ca24 in /usr/bin/clickhouse 14. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::open(std::shared_ptr const&) @ 0x000000003613dc21 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupImpl::BackupImpl(DB::BackupInfo const&, DB::BackupImpl::ArchiveParams const&, std::optional const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr const&, std::optional, DB::UUIDTag>> const&, bool, bool) @ 0x000000003613f3f5 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x00000000361383d8 in /usr/bin/clickhouse 17. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x000000003608ca24 in /usr/bin/clickhouse 18. ./build_docker/./src/Backups/BackupsWorker.cpp:392: DB::BackupsWorker::doBackup(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::BackupSettings, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000035f787db in /usr/bin/clickhouse 19. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startMakingBackup(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000035f6e509 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000035f6cb45 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x0000000039a4a098 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 31. ? @ 0x00007fc6eb378a83 in ? 2026.10.27 19:27:54.151017 [ 2231 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {47efcd1d-fb91-4e96-859b-e362373a9342::0_0_0_0_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:2995: DB::Aggregator::mergeOnBlock(DB::Block, DB::AggregatedDataVariants&, bool&) const @ 0x0000000037df0e86 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb03d0f in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:54.151490 [ 4278 ] {e9bf16e6-d6e5-4689-af49-319d3a26bccf} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1078080 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 68 with max_rows_to_read = 20040): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:54.151620 [ 2236 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::WriteBufferFromTemporaryFile::WriteBufferFromTemporaryFile(std::unique_ptr>&&) @ 0x0000000037253f84 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::TemporaryDataOnDisk::createRawStream(unsigned long) @ 0x000000003a63c2f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:296: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cda7825 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:27:55.872684 [ 5705 ] {f898347f-7155-4784-8eb8-9e7f5de01f6d} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation '0000000000' with part '0_0_0_0' reason: 'Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build))'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54076) (comment: 01149_zookeeper_mutation_stuck_after_replace_partition.sql) (in query: alter table rmt update s = 's'||toString(n) where 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d3f1fe4 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d3f1895 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bf86df3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c13217e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageReplicatedMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000003c198b88 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395df302 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:55.881952 [ 5705 ] {f898347f-7155-4784-8eb8-9e7f5de01f6d} TCPHandler: Code: 341. DB::Exception: Exception happened during execution of mutation '0000000000' with part '0_0_0_0' reason: 'Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build))'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000003d3f1fe4 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000003d3f1895 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000003bf86df3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000003c13217e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageReplicatedMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000003c198b88 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395df302 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:57.888526 [ 4399 ] {f889c56a-4557-4e05-b155-854ff5613d25} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36400) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc1edc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba0e863 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b51878 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b36ae1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:27:57.904507 [ 4399 ] {f889c56a-4557-4e05-b155-854ff5613d25} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc1edc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba0e863 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b51878 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b36ae1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:01.835611 [ 4309 ] {2c9b8a7e-194d-4415-a7b6-b020324daf54} executeQuery: Code: 499. DB::Exception: The request signature we calculated does not match the signature you provided. Check your key and signing method. (S3_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36454) (comment: 02843_backup_use_same_s3_credentials_for_base_backup.sh) (in query: RESTORE TABLE data FROM S3('http://localhost:11111/test/backups/test_9/use_same_s3_credentials_for_base_backup_base_inc_1', 'test', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::S3Exception::S3Exception(String const&, Aws::S3::S3Errors) @ 0x0000000035647f41 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/BackupIO_S3.cpp:92: DB::(anonymous namespace)::listObjects(DB::S3::Client&, DB::S3::URI const&, String const&) @ 0x00000000361910bb in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::BackupReaderS3::fileExists(String const&) @ 0x0000000036190284 in /usr/bin/clickhouse 5. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::readBackupMetadata() @ 0x000000003614324e in /usr/bin/clickhouse 6. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::open(std::shared_ptr const&) @ 0x000000003613d555 in /usr/bin/clickhouse 7. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::BackupImpl(DB::BackupInfo const&, DB::BackupImpl::ArchiveParams const&, std::optional const&, std::shared_ptr, std::shared_ptr const&, bool) @ 0x000000003613cac0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x00000000361386e5 in /usr/bin/clickhouse 9. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x000000003608ca24 in /usr/bin/clickhouse 10. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::open(std::shared_ptr const&) @ 0x000000003613dc21 in /usr/bin/clickhouse 11. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::BackupImpl(DB::BackupInfo const&, DB::BackupImpl::ArchiveParams const&, std::optional const&, std::shared_ptr, std::shared_ptr const&, bool) @ 0x000000003613cac0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x00000000361386e5 in /usr/bin/clickhouse 13. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x000000003608ca24 in /usr/bin/clickhouse 14. ./build_docker/./src/Backups/BackupsWorker.cpp:700: DB::BackupsWorker::doRestore(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::RestoreSettings, std::shared_ptr, std::shared_ptr, bool) @ 0x0000000035f86189 in /usr/bin/clickhouse 15. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startRestoring(std::shared_ptr const&, std::shared_ptr) @ 0x0000000035f7202b in /usr/bin/clickhouse 16. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000035f6ca75 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x0000000039a4a098 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:01.852913 [ 4309 ] {2c9b8a7e-194d-4415-a7b6-b020324daf54} TCPHandler: Code: 499. DB::Exception: The request signature we calculated does not match the signature you provided. Check your key and signing method. (S3_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::S3Exception::S3Exception(String const&, Aws::S3::S3Errors) @ 0x0000000035647f41 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/BackupIO_S3.cpp:92: DB::(anonymous namespace)::listObjects(DB::S3::Client&, DB::S3::URI const&, String const&) @ 0x00000000361910bb in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::BackupReaderS3::fileExists(String const&) @ 0x0000000036190284 in /usr/bin/clickhouse 5. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::readBackupMetadata() @ 0x000000003614324e in /usr/bin/clickhouse 6. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::open(std::shared_ptr const&) @ 0x000000003613d555 in /usr/bin/clickhouse 7. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::BackupImpl(DB::BackupInfo const&, DB::BackupImpl::ArchiveParams const&, std::optional const&, std::shared_ptr, std::shared_ptr const&, bool) @ 0x000000003613cac0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x00000000361386e5 in /usr/bin/clickhouse 9. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x000000003608ca24 in /usr/bin/clickhouse 10. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::open(std::shared_ptr const&) @ 0x000000003613dc21 in /usr/bin/clickhouse 11. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::BackupImpl(DB::BackupInfo const&, DB::BackupImpl::ArchiveParams const&, std::optional const&, std::shared_ptr, std::shared_ptr const&, bool) @ 0x000000003613cac0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x00000000361386e5 in /usr/bin/clickhouse 13. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x000000003608ca24 in /usr/bin/clickhouse 14. ./build_docker/./src/Backups/BackupsWorker.cpp:700: DB::BackupsWorker::doRestore(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::RestoreSettings, std::shared_ptr, std::shared_ptr, bool) @ 0x0000000035f86189 in /usr/bin/clickhouse 15. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startRestoring(std::shared_ptr const&, std::shared_ptr) @ 0x0000000035f7202b in /usr/bin/clickhouse 16. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000035f6ca75 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x0000000039a4a098 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:02.806825 [ 6792 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:03.097904 [ 2296 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::QueryLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 4214700 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnString.cpp:0: COW::immutable_ptr DB::ColumnString::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b1c8d44 in /usr/bin/clickhouse 9. ./build_docker/./src/Columns/ColumnString.cpp:212: DB::ColumnString::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b1a78a6 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/IMergeTreeDataPartWriter.cpp:0: DB::permuteBlockIfNeeded(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d11b4c2 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:166: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d10410d in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a414433 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a411722 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c28f87 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c28e5f in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:03.137854 [ 2247 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {51542bea-4345-4d36-94eb-7171c1c21706::202610_1_66_13}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1114301 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 14. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 30. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:03.141829 [ 2246 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1123860 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (while reading column UserID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_4_4_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 6214): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c526 in /usr/bin/clickhouse 21. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:03.244713 [ 2236 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {87d63275-efc8-41cf-b773-50c08a335cb1::202610_1_67_13}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1264575 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:87: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13f899 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:03.320996 [ 6141 ] {65c602ef-c963-4c0a-8a8a-f23e23f0e03b} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.50 GiB (attempt to allocate chunk of 1245312 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 136 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55524) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactStringsEachRowWithNames), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:04.419416 [ 2235 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} TemporaryFileOnDisk: Temporary path 'tmpacbf440b-edcd-4c87-af19-2769d6533768' does not exist in '/var/lib/clickhouse/tmp/' 2026.10.27 19:28:05.971569 [ 5687 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.47 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:05.971584 [ 2350 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::AsynchronousMetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.50 GiB (attempt to allocate chunk of 4214162 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IMergeTreeDataPart.cpp:138: DB::IMergeTreeDataPart::MinMaxIndex::store(std::vector> const&, std::vector, std::allocator>> const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003cc2a292 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::IMergeTreeDataPart::MinMaxIndex::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003cc28e2e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64f047 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:05.971927 [ 2231 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_61_10}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.50 GiB (attempt to allocate chunk of 1051649 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x0000000009415a91 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:322: DB::ColumnVector::insertDefault() @ 0x000000003b33a155 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnSparse.cpp:0: DB::ColumnSparse::ColumnSparse(COW::mutable_ptr&&) @ 0x000000003b186f53 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: DB::IDataType::createColumn(DB::ISerialization const&) const @ 0x0000000036dbb55a in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:140: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4597fa in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:05.971900 [ 6141 ] {65c602ef-c963-4c0a-8a8a-f23e23f0e03b} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.50 GiB (attempt to allocate chunk of 1245312 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 136 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:06.029785 [ 2235 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::WriteBufferFromTemporaryFile::WriteBufferFromTemporaryFile(std::unique_ptr>&&) @ 0x0000000037253f84 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::TemporaryDataOnDisk::createRawStream(unsigned long) @ 0x000000003a63c2f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:296: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cda7825 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:06.101727 [ 2242 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {51542bea-4345-4d36-94eb-7171c1c21706::202610_1_66_13}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 1178559 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:06.186252 [ 2244 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {87d63275-efc8-41cf-b773-50c08a335cb1::202610_1_67_13}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.48 GiB (attempt to allocate chunk of 1264575 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:87: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13f899 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:06.226958 [ 2238 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78f638d5-1538-4f74-a202-7a1eb8a2fda0::202610_1_80_16}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.49 GiB (attempt to allocate chunk of 1051774 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (while reading from part /var/lib/clickhouse/disks/s3/store/78f/78f638d5-1538-4f74-a202-7a1eb8a2fda0/202610_78_78_0/ in table system.asynchronous_metric_log (78f638d5-1538-4f74-a202-7a1eb8a2fda0) located on disk s3 of type s3, from mark 0 with max_rows_to_read = 2604): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:0: DB::CompressedReadBufferBase::readCompressedData(unsigned long&, unsigned long&, bool) @ 0x000000003688be8d in /usr/bin/clickhouse 10. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:122: DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000036893b18 in /usr/bin/clickhouse 11. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000036894c8d in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:160: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036fa2d33 in /usr/bin/clickhouse 13. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeReaderCompact::readData(DB::NameAndTypePair const&, COW::immutable_ptr&, unsigned long, unsigned long, unsigned long, unsigned long, std::optional>) @ 0x000000003d45c381 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d45a13b in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:06.263803 [ 12870 ] {d8488a33-28e1-4fa8-aed9-384dec4ee545} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1193368 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55540) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactEachRowWithNames), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnFixedString.cpp:339: COW::immutable_ptr DB::ColumnFixedString::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0adfba in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnFixedString.cpp:314: DB::ColumnFixedString::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0720bc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa24844 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:07.004960 [ 2243 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} TemporaryFileOnDisk: Temporary path 'tmp9dc8af45-b8d6-4759-8c79-ad39ffb1efa2' does not exist in '/var/lib/clickhouse/tmp/' 2026.10.27 19:28:08.134554 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.38 GiB (attempt to allocate chunk of 4222911 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d102e0d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3ef053 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3ec532 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c26a87 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c2695f in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:08.134760 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 5047581 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a4a9253 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a4a6542 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c31ce7 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:08.149813 [ 2235 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78f638d5-1538-4f74-a202-7a1eb8a2fda0::202610_1_80_16}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1051207 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:08.169955 [ 2243 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::WriteBufferFromTemporaryFile::WriteBufferFromTemporaryFile(std::unique_ptr>&&) @ 0x0000000037253f84 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::TemporaryDataOnDisk::createRawStream(unsigned long) @ 0x000000003a63c2f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:296: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cda7825 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:08.400557 [ 2241 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {51542bea-4345-4d36-94eb-7171c1c21706::202610_1_66_13}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 1178559 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:08.407168 [ 2233 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {87d63275-efc8-41cf-b773-50c08a335cb1::202610_1_67_13}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1264575 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:87: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13f899 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:08.419259 [ 2289 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::MetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 4194443 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long const*, unsigned long const*) @ 0x000000002089f6cc in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: COWHelper>::clone() const @ 0x000000003b4083a6 in /usr/bin/clickhouse 9. DB::IColumn::mutate(COW::immutable_ptr) @ 0x000000000a9ad52a in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.cpp:0: DB::Block::mutateColumns() @ 0x000000003627dffd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:169: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d1043eb in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3dc813 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3d9902 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c259e7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c258bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:08.560523 [ 2236 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} TemporaryFileOnDisk: Temporary path 'tmp655ee275-424e-4821-8c3f-7f54eb2c4611' does not exist in '/var/lib/clickhouse/tmp/' 2026.10.27 19:28:08.585187 [ 2236 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.46 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::WriteBufferFromTemporaryFile::WriteBufferFromTemporaryFile(std::unique_ptr>&&) @ 0x0000000037253f84 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::TemporaryDataOnDisk::createRawStream(unsigned long) @ 0x000000003a63c2f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:296: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cda7825 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:08.825531 [ 2240 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78f638d5-1538-4f74-a202-7a1eb8a2fda0::202610_1_80_16}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.46 GiB (attempt to allocate chunk of 1051207 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:08.837877 [ 2234 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} TemporaryFileOnDisk: Temporary path 'tmp57ea7994-51a5-41c2-ab30-1f2cd1faa0e0' does not exist in '/var/lib/clickhouse/tmp/' 2026.10.27 19:28:10.815112 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.47 GiB (attempt to allocate chunk of 4194739 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long const*, unsigned long const*) @ 0x000000002089f6cc in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnString.cpp:32: DB::ColumnString::ColumnString(DB::ColumnString const&) @ 0x000000003b1a440d in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: COWHelper::clone() const @ 0x000000003b1c2342 in /usr/bin/clickhouse 10. DB::IColumn::mutate(COW::immutable_ptr) @ 0x000000000a9ad52a in /usr/bin/clickhouse 11. ./build_docker/./src/Core/Block.cpp:0: DB::Block::mutateColumns() @ 0x000000003627dffd in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:169: DB::MergeTreeDataPartWriterCompact::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d1043eb in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::writeWithPermutation(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d648c72 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:580: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e772 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a483e53 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a481142 in /usr/bin/clickhouse 27. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2fca7 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c2fb7f in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 31. ? @ 0x00007fc6eb378a83 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:10.815409 [ 12870 ] {d8488a33-28e1-4fa8-aed9-384dec4ee545} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1193368 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnFixedString.cpp:339: COW::immutable_ptr DB::ColumnFixedString::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0adfba in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnFixedString.cpp:314: DB::ColumnFixedString::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0720bc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa24844 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:10.815605 [ 2234 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.47 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::WriteBufferFromTemporaryFile::WriteBufferFromTemporaryFile(std::unique_ptr>&&) @ 0x0000000037253f84 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::TemporaryDataOnDisk::createRawStream(unsigned long) @ 0x000000003a63c2f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:296: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cda7825 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:10.815664 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 4195070 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a471453 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a46e742 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2ea27 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:10.815729 [ 2292 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::PartLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 4243198 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a401a53 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3fed42 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c27d07 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:10.816216 [ 9250 ] {193830b8-196a-45cc-b9c4-525a8f70378b} executeQuery: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49366) (comment: 02676_distinct_reading_in_order_analyzer.sql) (in query: set allow_experimental_analyzer=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:10.821518 [ 9250 ] {193830b8-196a-45cc-b9c4-525a8f70378b} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:10.840450 [ 2235 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78f638d5-1538-4f74-a202-7a1eb8a2fda0::202610_1_80_16}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 1051207 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:10.843416 [ 2244 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {51542bea-4345-4d36-94eb-7171c1c21706::202610_1_66_13}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 1178559 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:10.909501 [ 9255 ] {98b2e844-fa48-4984-82ab-28b273be04d9} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.41 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55564) (comment: 00036_aggregate_hashed.sql) (in query: SELECT SearchEngineID AS k1, SearchPhrase AS k2, count() AS c FROM test.hits GROUP BY k1, k2 ORDER BY c DESC, k1, k2 LIMIT 10 ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:11.758971 [ 2247 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} TemporaryFileOnDisk: Temporary path 'tmp228b3b3f-0c46-4e9f-b436-ff469bcfe5a4' does not exist in '/var/lib/clickhouse/tmp/' 2026.10.27 19:28:13.023535 [ 12858 ] {dac6111f-cda2-4a5d-86f0-f693e190e212} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.41 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36430) (comment: 01685_ssd_cache_dictionary_complex_key.sh) (in query: INSERT INTO 01685_database_for_cache_dictionary.complex_key_complex_attributes_source_table VALUES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageLog.cpp:0: DB::LogSink::Stream::Stream(std::shared_ptr const&, String const&, unsigned long, std::shared_ptr, unsigned long) @ 0x000000003c5bd02d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:259: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>(std::piecewise_construct_t, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>) @ 0x000000003c5bc850 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:2134: std::pair, std::__tree_node, void*>*, long>, bool> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__emplace_unique_key_args, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(String const&, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000003c5bbde4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003c5aad5d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 16. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&) @ 0x000000003c58bf46 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/StorageLog.cpp:375: DB::LogSink::consume(DB::Chunk) @ 0x000000003c58b621 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 2026.10.27 19:28:13.026760 [ 12858 ] {dac6111f-cda2-4a5d-86f0-f693e190e212} FileChecker: Will truncate file store/d73/d739500b-3907-422c-8d0a-d9eceaade168/id.bin that has size 68 to size 34 2026.10.27 19:28:13.027174 [ 12858 ] {dac6111f-cda2-4a5d-86f0-f693e190e212} FileChecker: Will truncate file store/d73/d739500b-3907-422c-8d0a-d9eceaade168/id_key.bin that has size 70 to size 35 2026.10.27 19:28:14.113708 [ 12855 ] {93915803-93f7-40e0-b834-f70cc254c2e0} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.50 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: (while reading column GeneralInterests): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 40960): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48862) (comment: 00078_group_by_arrays.sql) (in query: SELECT ParsedParams.Key1 AS k1, GeneralInterests AS k2, count() AS c FROM test.hits WHERE notEmpty(k1) AND notEmpty(k2) GROUP BY k1, k2 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:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:59: DB::ReadBufferFromRemoteFSGather::ReadBufferFromRemoteFSGather(std::function> (String const&, unsigned long)>&&, std::vector> const&, DB::ReadSettings const&, std::shared_ptr, bool) @ 0x000000003577a27d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]> const&, DB::ReadSettings const&, std::optional, std::optional) const::$_0, std::vector> const&, DB::ReadSettings&, std::shared_ptr, bool>(DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const::$_0&&, std::vector> const&, DB::ReadSettings&, std::shared_ptr&&, bool&&) @ 0x000000003729da77 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729ca91 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::SerializationArray::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036ec2447 in /usr/bin/clickhouse 22. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 2026.10.27 19:28:14.113977 [ 9255 ] {98b2e844-fa48-4984-82ab-28b273be04d9} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.41 GiB (attempt to allocate chunk of 0 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:14.114130 [ 9140 ] {cd98f677-778e-41f0-8fcb-f7f627536431} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 1048704 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: (while reading column MobilePhoneModel): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 136 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55528) (comment: 00159_parallel_formatting_csv_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c Format CSV), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b72 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:14.114144 [ 4287 ] {4923b797-918b-4f29-aac3-08ebe4ec05aa} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1078080 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 68 with max_rows_to_read = 20040): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55534) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactStringsEachRowWithNamesAndTypes), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:14.114247 [ 2243 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {87d63275-efc8-41cf-b773-50c08a335cb1::202610_1_67_13}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1264575 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:87: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13f899 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:14.114366 [ 4399 ] {b712c8b1-ad26-40d7-b63d-5dcf58931155} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.43 GiB (attempt to allocate chunk of 1196000 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: (while reading column MobilePhoneModel): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49302) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactEachRowWithNamesAndTypes), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b72 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:15.168113 [ 12855 ] {93915803-93f7-40e0-b834-f70cc254c2e0} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.50 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: (while reading column GeneralInterests): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 40960): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:59: DB::ReadBufferFromRemoteFSGather::ReadBufferFromRemoteFSGather(std::function> (String const&, unsigned long)>&&, std::vector> const&, DB::ReadSettings const&, std::shared_ptr, bool) @ 0x000000003577a27d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]> const&, DB::ReadSettings const&, std::optional, std::optional) const::$_0, std::vector> const&, DB::ReadSettings&, std::shared_ptr, bool>(DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const::$_0&&, std::vector> const&, DB::ReadSettings&, std::shared_ptr&&, bool&&) @ 0x000000003729da77 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729ca91 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::SerializationArray::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036ec2447 in /usr/bin/clickhouse 22. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 2026.10.27 19:28:15.168199 [ 6141 ] {2af6671b-80fa-4e36-87b0-183d46e8de66} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.49 GiB (attempt to allocate chunk of 1049677 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: Cache info: Buffer path: common/glp/kyyakxptdwmnfgciuxqwzrzhxnosb, hash key: 9c119725b207c5c416d85e073dbb1753, file_offset_of_buffer_end: 0, read_until_position: 128, internal buffer end: 128, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2af6671b-80fa-4e36-87b0-183d46e8de66:2599, file segment info: File segment: [0, 127], key: 9c119725b207c5c416d85e073dbb1753, state: DOWNLOADING, downloaded size: 0, reserved size: 128, downloader id: 2af6671b-80fa-4e36-87b0-183d46e8de66:2599, current write offset: 0, caller id: 2af6671b-80fa-4e36-87b0-183d46e8de66:2599, kind: Regular, unbound: 0: (while reading column StartDate): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_8_8_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 49500): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49282) (comment: 00085_monotonic_evaluation_segfault.sql) (in query: SELECT any(0) FROM test.visits WHERE (toInt32(toDateTime(StartDate))) > 1000000000;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/tuple:533: DB::AsynchronousBoundedReadBuffer::nextImpl() @ 0x00000000357757b0 in /usr/bin/clickhouse 20. ./build_docker/./src/IO/ReadBuffer.h:72: DB::CompressedReadBufferBase::readCompressedData(unsigned long&, unsigned long&, bool) @ 0x000000003688b8a5 in /usr/bin/clickhouse 21. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:22: DB::CompressedReadBufferFromFile::nextImpl() @ 0x0000000036892717 in /usr/bin/clickhouse 22. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::nextImpl() @ 0x0000000036892cad in /usr/bin/clickhouse 23. ./build_docker/./src/IO/ReadBuffer.h:0: DB::MergeTreeMarksLoader::loadMarksImpl() @ 0x000000003d3dd464 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeMarksLoader.cpp:0: DB::MergeTreeMarksLoader::loadMarks() @ 0x000000003d3da8ed in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/threadPoolCallbackRunner.h:0: std::__packaged_task_func> (DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)> DB::threadPoolCallbackRunner, DB::MergeTreeMarksLoader::loadMarksAsync()::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::operator()(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::'lambda'(), std::allocator> (DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)> DB::threadPoolCallbackRunner, DB::MergeTreeMarksLoader::loadMarksAsync()::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::operator()(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::'lambda'()>, std::shared_ptr ()>::operator()() @ 0x000000003d3e1a62 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task ()>::operator()() @ 0x000000003d3e8f01 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl> (DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)> DB::threadPoolCallbackRunner, DB::MergeTreeMarksLoader::loadMarksAsync()::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::operator()(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003d3e1d8e in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 29. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 2026.10.27 19:28:15.173417 [ 12858 ] {dac6111f-cda2-4a5d-86f0-f693e190e212} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.41 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageLog.cpp:0: DB::LogSink::Stream::Stream(std::shared_ptr const&, String const&, unsigned long, std::shared_ptr, unsigned long) @ 0x000000003c5bd02d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:259: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>(std::piecewise_construct_t, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>) @ 0x000000003c5bc850 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:2134: std::pair, std::__tree_node, void*>*, long>, bool> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__emplace_unique_key_args, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(String const&, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000003c5bbde4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003c5aad5d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 16. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&) @ 0x000000003c58bf46 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/StorageLog.cpp:375: DB::LogSink::consume(DB::Chunk) @ 0x000000003c58b621 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:867: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7ebe in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 2026.10.27 19:28:15.184754 [ 2247 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::WriteBufferFromTemporaryFile::WriteBufferFromTemporaryFile(std::unique_ptr>&&) @ 0x0000000037253f84 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::TemporaryDataOnDisk::createRawStream(unsigned long) @ 0x000000003a63c2f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:296: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cda7825 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:15.204583 [ 6141 ] {2af6671b-80fa-4e36-87b0-183d46e8de66} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.49 GiB (attempt to allocate chunk of 1049677 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: Cache info: Buffer path: common/glp/kyyakxptdwmnfgciuxqwzrzhxnosb, hash key: 9c119725b207c5c416d85e073dbb1753, file_offset_of_buffer_end: 0, read_until_position: 128, internal buffer end: 128, read_type: REMOTE_FS_READ_AND_PUT_IN_CACHE, last caller: 2af6671b-80fa-4e36-87b0-183d46e8de66:2599, file segment info: File segment: [0, 127], key: 9c119725b207c5c416d85e073dbb1753, state: DOWNLOADING, downloaded size: 0, reserved size: 128, downloader id: 2af6671b-80fa-4e36-87b0-183d46e8de66:2599, current write offset: 0, caller id: 2af6671b-80fa-4e36-87b0-183d46e8de66:2599, kind: Regular, unbound: 0: (while reading column StartDate): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_8_8_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 49500): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:296: DB::FileSegment::write(char const*, unsigned long, unsigned long) @ 0x000000003aa89e98 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/Stopwatch.h:26: DB::CachedOnDiskReadBufferFromFile::writeCache(char*, unsigned long, unsigned long, DB::FileSegment&) @ 0x000000003579cafb in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:964: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x00000000357a2f4a in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x000000003579e593 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000035780012 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x000000003577e17a in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/tuple:533: DB::AsynchronousBoundedReadBuffer::nextImpl() @ 0x00000000357757b0 in /usr/bin/clickhouse 20. ./build_docker/./src/IO/ReadBuffer.h:72: DB::CompressedReadBufferBase::readCompressedData(unsigned long&, unsigned long&, bool) @ 0x000000003688b8a5 in /usr/bin/clickhouse 21. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:22: DB::CompressedReadBufferFromFile::nextImpl() @ 0x0000000036892717 in /usr/bin/clickhouse 22. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::nextImpl() @ 0x0000000036892cad in /usr/bin/clickhouse 23. ./build_docker/./src/IO/ReadBuffer.h:0: DB::MergeTreeMarksLoader::loadMarksImpl() @ 0x000000003d3dd464 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeMarksLoader.cpp:0: DB::MergeTreeMarksLoader::loadMarks() @ 0x000000003d3da8ed in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/threadPoolCallbackRunner.h:0: std::__packaged_task_func> (DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)> DB::threadPoolCallbackRunner, DB::MergeTreeMarksLoader::loadMarksAsync()::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::operator()(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::'lambda'(), std::allocator> (DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)> DB::threadPoolCallbackRunner, DB::MergeTreeMarksLoader::loadMarksAsync()::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::operator()(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::'lambda'()>, std::shared_ptr ()>::operator()() @ 0x000000003d3e1a62 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/future:0: std::packaged_task ()>::operator()() @ 0x000000003d3e8f01 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl> (DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)> DB::threadPoolCallbackRunner, DB::MergeTreeMarksLoader::loadMarksAsync()::$_0>(ThreadPoolImpl>&, String const&)::'lambda'(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::operator()(DB::MergeTreeMarksLoader::loadMarksAsync()::$_0&&, Priority)::'lambda0'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003d3e1d8e in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 29. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 2026.10.27 19:28:15.268387 [ 2296 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::QueryLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 5180680 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:281: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d6516b7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a414433 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:15.548486 [ 4399 ] {b712c8b1-ad26-40d7-b63d-5dcf58931155} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.43 GiB (attempt to allocate chunk of 1196000 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: (while reading column MobilePhoneModel): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b72 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:16.559204 [ 9140 ] {cd98f677-778e-41f0-8fcb-f7f627536431} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 1048704 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: (while reading column MobilePhoneModel): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 136 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b72 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:20.624006 [ 1850 ] {1797df5b-f10a-46ba-b9e7-87c081a098e7} executeQuery: Code: 164. DB::Exception: Cannot modify 'output_format_json_quote_64bit_integers' setting in readonly mode. (READONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44614) (comment: 00474_readonly_settings.sh) (in query: set output_format_json_quote_64bit_integers=0 ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a79c9a8 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:307: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dffd67 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:21.791352 [ 6141 ] {6ce6f6f2-6a57-4b8f-bc2e-e3d21471f75f} BackupsWorker: Failed to start backup S3('http://localhost:11111/test/backups/test_9/use_same_s3_credentials_for_base_backup_base_inc_5_bad', 'test', '[HIDDEN]', 'foo'): Code: 42. DB::Exception: Backup S3 requires 1 or 3 arguments: url, [access_key_id, secret_access_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x000000000ade9017 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/registerBackupEngineS3.cpp:79: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x000000003613971d in /usr/bin/clickhouse 4. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x000000003608ca24 in /usr/bin/clickhouse 5. ./build_docker/./src/Backups/BackupsWorker.cpp:392: DB::BackupsWorker::doBackup(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::BackupSettings, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000035f787db in /usr/bin/clickhouse 6. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startMakingBackup(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000035f6e509 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000035f6cb45 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x0000000039a4a098 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:21.791411 [ 4287 ] {4923b797-918b-4f29-aac3-08ebe4ec05aa} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.44 GiB (attempt to allocate chunk of 1078080 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit has freed not enough memory.: (while reading column ClientEventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_17_24_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 68 with max_rows_to_read = 20040): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:21.791402 [ 1850 ] {1797df5b-f10a-46ba-b9e7-87c081a098e7} TCPHandler: Code: 164. DB::Exception: Cannot modify 'output_format_json_quote_64bit_integers' setting in readonly mode. (READONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a79c9a8 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:307: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dffd67 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:21.795828 [ 4399 ] {431cf6b0-bc70-4c55-8c2b-b60d7393c0e5} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49418) (comment: 02771_semi_join_use_nulls.gen.sql) (in query: SELECT id > 1, d.id FROM (SELECT (toLowCardinality(0)) AS id, 1 AS value) AS a ANTI LEFT JOIN (SELECT (toLowCardinality(0)) AS id) AS d USING (id) ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x0000000037cf406d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x0000000037caaf24 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x0000000037ca0c4c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037cca9cf in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 8. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 12. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:21.916967 [ 4399 ] {431cf6b0-bc70-4c55-8c2b-b60d7393c0e5} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x0000000037cf406d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x0000000037caaf24 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x0000000037ca0c4c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037cca9cf in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 8. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 12. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:21.932709 [ 6141 ] {6ce6f6f2-6a57-4b8f-bc2e-e3d21471f75f} executeQuery: Code: 42. DB::Exception: Backup S3 requires 1 or 3 arguments: url, [access_key_id, secret_access_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44620) (comment: 02843_backup_use_same_s3_credentials_for_base_backup.sh) (in query: BACKUP TABLE data TO S3('http://localhost:11111/test/backups/test_9/use_same_s3_credentials_for_base_backup_base_inc_5_bad', 'test', '[HIDDEN]', 'foo') SETTINGS base_backup = S3('http://localhost:11111/test/backups/test_9/use_same_s3_credentials_for_base_backup_base_inc_1', 'test', '[HIDDEN]'), use_same_s3_credentials_for_base_backup = 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x000000000ade9017 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/registerBackupEngineS3.cpp:79: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x000000003613971d in /usr/bin/clickhouse 4. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x000000003608ca24 in /usr/bin/clickhouse 5. ./build_docker/./src/Backups/BackupsWorker.cpp:392: DB::BackupsWorker::doBackup(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::BackupSettings, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000035f787db in /usr/bin/clickhouse 6. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startMakingBackup(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000035f6e509 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000035f6cb45 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x0000000039a4a098 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:21.955648 [ 6141 ] {6ce6f6f2-6a57-4b8f-bc2e-e3d21471f75f} TCPHandler: Code: 42. DB::Exception: Backup S3 requires 1 or 3 arguments: url, [access_key_id, secret_access_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x000000000ade9017 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/registerBackupEngineS3.cpp:79: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x000000003613971d in /usr/bin/clickhouse 4. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x000000003608ca24 in /usr/bin/clickhouse 5. ./build_docker/./src/Backups/BackupsWorker.cpp:392: DB::BackupsWorker::doBackup(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::BackupSettings, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000035f787db in /usr/bin/clickhouse 6. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startMakingBackup(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000035f6e509 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000035f6cb45 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x0000000039a4a098 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:23.180327 [ 9250 ] {a6ec246c-021e-4175-9615-14da9ba8cd39} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1193032 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49368) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactStringsEachRowWithNames), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnFixedString.cpp:339: COW::immutable_ptr DB::ColumnFixedString::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0adfba in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnFixedString.cpp:314: DB::ColumnFixedString::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0720bc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa24844 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:23.312557 [ 6141 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:23.552826 [ 2236 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1220830 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (while reading column UserID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_5_5_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 6656): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::AsynchronousBoundedReadBuffer(std::unique_ptr>, DB::IAsynchronousReader&, DB::ReadSettings const&, std::shared_ptr, std::shared_ptr) @ 0x0000000035770a73 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::S3ObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003729c8c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:77: DB::CachedObjectStorage::readObjects(std::vector> const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003583e03e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:496: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fee81 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c526 in /usr/bin/clickhouse 21. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:24.009374 [ 2234 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {87d63275-efc8-41cf-b773-50c08a335cb1::202610_1_67_13}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 1114301 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::SerializationNullable::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036f598b3 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:24.596693 [ 2239 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_62_10}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1050647 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x0000000009415a91 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:322: DB::ColumnVector::insertDefault() @ 0x000000003b2a1fd5 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnSparse.cpp:0: DB::ColumnSparse::ColumnSparse(COW::mutable_ptr&&) @ 0x000000003b186f53 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: DB::IDataType::createColumn(DB::ISerialization const&) const @ 0x0000000036dbb55a in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:140: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4597fa in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:25.892876 [ 9140 ] {a8b6018b-5a26-4595-a112-e0594c4ace18} BackupsWorker: Failed to start backup Disk('default', 'test_9/backup_2'): Code: 36. DB::Exception: use_same_s3_credentials_for_base_backup supported only for S3, got Disk('default', 'test_9/backup_2'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/BackupInfo.cpp:108: DB::BackupInfo::copyS3CredentialsTo(DB::BackupInfo&) const @ 0x0000000035f6451e in /usr/bin/clickhouse 4. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::open(std::shared_ptr const&) @ 0x000000003613d5dc in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupImpl::BackupImpl(DB::BackupInfo const&, DB::BackupImpl::ArchiveParams const&, std::optional const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr const&, std::optional, DB::UUIDTag>> const&, bool, bool) @ 0x000000003613f3f5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerBackupEnginesFileAndDisk(DB::BackupFactory&)::$_0&, DB::BackupFactory::CreateParams const&) @ 0x0000000036239971 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x000000003623482b in /usr/bin/clickhouse 8. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x000000003608ca24 in /usr/bin/clickhouse 9. ./build_docker/./src/Backups/BackupsWorker.cpp:392: DB::BackupsWorker::doBackup(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::BackupSettings, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000035f787db in /usr/bin/clickhouse 10. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startMakingBackup(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000035f6e509 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000035f6cb45 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x0000000039a4a098 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:28.718423 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 4198715 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:281: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d6516b7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a471453 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:31.760424 [ 2350 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::AsynchronousMetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 5168296 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:281: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d6516b7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3b72d3 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:31.768308 [ 9140 ] {a8b6018b-5a26-4595-a112-e0594c4ace18} executeQuery: Code: 36. DB::Exception: use_same_s3_credentials_for_base_backup supported only for S3, got Disk('default', 'test_9/backup_2'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44728) (comment: 02843_backup_use_same_s3_credentials_for_base_backup.sh) (in query: BACKUP TABLE data TO Disk('default', 'test_9/backup_2') SETTINGS use_same_s3_credentials_for_base_backup=1, base_backup=Disk('default', 'test_9/backup_1')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/BackupInfo.cpp:108: DB::BackupInfo::copyS3CredentialsTo(DB::BackupInfo&) const @ 0x0000000035f6451e in /usr/bin/clickhouse 4. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::open(std::shared_ptr const&) @ 0x000000003613d5dc in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupImpl::BackupImpl(DB::BackupInfo const&, DB::BackupImpl::ArchiveParams const&, std::optional const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr const&, std::optional, DB::UUIDTag>> const&, bool, bool) @ 0x000000003613f3f5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerBackupEnginesFileAndDisk(DB::BackupFactory&)::$_0&, DB::BackupFactory::CreateParams const&) @ 0x0000000036239971 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x000000003623482b in /usr/bin/clickhouse 8. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x000000003608ca24 in /usr/bin/clickhouse 9. ./build_docker/./src/Backups/BackupsWorker.cpp:392: DB::BackupsWorker::doBackup(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::BackupSettings, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000035f787db in /usr/bin/clickhouse 10. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startMakingBackup(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000035f6e509 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000035f6cb45 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x0000000039a4a098 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:32.077855 [ 2237 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cda7a6d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:33.946189 [ 4521 ] {} ExternalDictionariesLoader: Could not load external dictionary 'test_5.dict', next update is scheduled at 2026-10-27 19:29:27: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 12582912 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 7. HashTable, HashTableNoState>, DefaultHash, DB::HashedDictionaryImpl::HashTableGrowerWithPrecalculationAndMaxLoadFactor<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000002bb33dfe in /usr/bin/clickhouse 8. void detail::static_for::getAttributeContainers::resize(unsigned long)::'lambda'(auto&)>(unsigned long, auto&&)::'lambda'(auto const&)&>(DB::AttributeUnderlyingType, auto&&)::'lambda'(auto), 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul, 8ul, 9ul, 10ul, 11ul, 12ul, 13ul, 14ul, 15ul, 16ul, 17ul, 18ul, 19ul, 20ul, 21ul, 22ul, 23ul>(void DB::callOnDictionaryAttributeType::getAttributeContainers::resize(unsigned long)::'lambda'(auto&)>(unsigned long, auto&&)::'lambda'(auto const&)&>(DB::AttributeUnderlyingType, auto&&)::'lambda'(auto)&&, std::integer_sequence) @ 0x000000002bbdbcac in /usr/bin/clickhouse 9. DB::HashedDictionary<(DB::DictionaryKeyType)0, true, false>::loadData() @ 0x000000002b3e4799 in /usr/bin/clickhouse 10. DB::HashedDictionary<(DB::DictionaryKeyType)0, true, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x000000002b3e3401 in /usr/bin/clickhouse 11. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000002b3b8356 in /usr/bin/clickhouse 12. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000002b3ba3d7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000035256311 in /usr/bin/clickhouse 14. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000035252fb7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000038c9ac44 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x0000000038ca6a60 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x0000000038cc3485 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/pair.h:520: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x0000000038cba4b5 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000038ccec9a in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000038cce77f in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:34.012850 [ 9140 ] {a8b6018b-5a26-4595-a112-e0594c4ace18} TCPHandler: Code: 36. DB::Exception: use_same_s3_credentials_for_base_backup supported only for S3, got Disk('default', 'test_9/backup_2'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/BackupInfo.cpp:108: DB::BackupInfo::copyS3CredentialsTo(DB::BackupInfo&) const @ 0x0000000035f6451e in /usr/bin/clickhouse 4. ./build_docker/./src/Backups/BackupImpl.cpp:0: DB::BackupImpl::open(std::shared_ptr const&) @ 0x000000003613d5dc in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupImpl::BackupImpl(DB::BackupInfo const&, DB::BackupImpl::ArchiveParams const&, std::optional const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr const&, std::optional, DB::UUIDTag>> const&, bool, bool) @ 0x000000003613f3f5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerBackupEnginesFileAndDisk(DB::BackupFactory&)::$_0&, DB::BackupFactory::CreateParams const&) @ 0x0000000036239971 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x000000003623482b in /usr/bin/clickhouse 8. ./build_docker/./src/Backups/BackupFactory.cpp:25: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x000000003608ca24 in /usr/bin/clickhouse 9. ./build_docker/./src/Backups/BackupsWorker.cpp:392: DB::BackupsWorker::doBackup(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::BackupSettings, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000035f787db in /usr/bin/clickhouse 10. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startMakingBackup(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000035f6e509 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000035f6cb45 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x0000000039a4a098 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:34.161246 [ 2296 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::QueryLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 4354388 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:36.287475 [ 2244 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {87d63275-efc8-41cf-b773-50c08a335cb1::202610_1_68_13}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1295423 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:87: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13f899 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:40.439571 [ 2366 ] {39f7a85e-05d8-4876-950c-6d33971cf386} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000002 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:40.482177 [ 2366 ] {39f7a85e-05d8-4876-950c-6d33971cf386} DDLWorker: Query /* ddl_entry=query-0000000002 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:40.999807 [ 15479 ] {56d06d0a-03d6-40f4-a4a7-91a6b548e2dd} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42072) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_9.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:41.018922 [ 15479 ] {56d06d0a-03d6-40f4-a4a7-91a6b548e2dd} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:41.810193 [ 2366 ] {a37374cd-441a-4e6c-9c46-0c25f02d3196} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000003 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:41.833138 [ 2366 ] {a37374cd-441a-4e6c-9c46-0c25f02d3196} DDLWorker: Query /* ddl_entry=query-0000000003 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:41.961279 [ 9286 ] {0728d1d5-1c7d-439b-a084-a644bd967c59} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42118) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_9.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:41.969999 [ 9286 ] {0728d1d5-1c7d-439b-a084-a644bd967c59} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:42.994664 [ 15277 ] {e75d73e3-d956-4d7a-aa71-df3710becc80} executeQuery: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/store/24c/24c69f37-597b-48fa-ae25-50dea770e208/table_for_concurrent_alter.sql, errno: 2, strerror: No such file or directory. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35596) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 125, parts_to_delay_insert = 125, min_merge_bytes_to_use_direct_io = 125), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x00000000208412fc in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:224: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x0000000020832d22 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFile.cpp:0: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x0000000020983438 in /usr/bin/clickhouse 5. ./build_docker/./src/Databases/DatabaseOrdinary.cpp:0: DB::DatabaseOrdinary::alterTable(std::shared_ptr, DB::StorageID const&, DB::StorageInMemoryMetadata const&) @ 0x00000000370d5e55 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003da07204 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0598 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.171892 [ 15325 ] {641be78f-968d-42f7-8f88-7fdbb8624a0f} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36008) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 113, parts_to_delay_insert = 113, min_merge_bytes_to_use_direct_io = 113), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.172146 [ 12860 ] {9ba1e91d-b8e5-477e-9320-7b6c18483892} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35476) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 127, parts_to_delay_insert = 127, min_merge_bytes_to_use_direct_io = 127), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.175180 [ 15300 ] {e4de73e1-1f8d-4458-a8fb-5f0ff096e521} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35794) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 145, parts_to_delay_insert = 145, min_merge_bytes_to_use_direct_io = 145), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.182885 [ 6121 ] {f07c2d6b-73bc-479f-a7ff-740503929f42} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35490) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 124, parts_to_delay_insert = 124, min_merge_bytes_to_use_direct_io = 124), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.191888 [ 15329 ] {096ce796-2837-4643-a1a9-9371b875c626} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36042) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 138, parts_to_delay_insert = 138, min_merge_bytes_to_use_direct_io = 138), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.198600 [ 15336 ] {83fbbb42-0024-4fc2-a530-1a8bb998fce3} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36114) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 140, parts_to_delay_insert = 140, min_merge_bytes_to_use_direct_io = 140), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.198775 [ 15349 ] {95c90c1e-c01a-448a-b7d2-7f89dbd5f0d4} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36176) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 131, parts_to_delay_insert = 131, min_merge_bytes_to_use_direct_io = 131), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.198896 [ 15337 ] {803baf10-9155-4593-b700-ceef7c9aaa07} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36130) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 141, parts_to_delay_insert = 141, min_merge_bytes_to_use_direct_io = 141), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.202148 [ 2671 ] {e7d920ed-9858-4544-afb7-83caf39632b7} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35512) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 120, parts_to_delay_insert = 120, min_merge_bytes_to_use_direct_io = 120), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.220147 [ 15362 ] {f19927d7-f6a9-438d-ba04-e29f729f260e} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36228) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 126, parts_to_delay_insert = 126, min_merge_bytes_to_use_direct_io = 126), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.221307 [ 15367 ] {532161f8-9d74-459e-b9ab-b6f9da68a52e} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36258) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 107, parts_to_delay_insert = 107, min_merge_bytes_to_use_direct_io = 107), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.221491 [ 15407 ] {d0c47988-fd00-4421-9cec-8420f9b9dec6} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36434) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 111, parts_to_delay_insert = 111, min_merge_bytes_to_use_direct_io = 111), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.229401 [ 15280 ] {13fcf162-17d4-4787-a57f-fc4440171416} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35624) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 135, parts_to_delay_insert = 135, min_merge_bytes_to_use_direct_io = 135), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.229295 [ 15297 ] {25e11a28-744a-4d13-a2ee-6d04dd06c65b} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35768) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 102, parts_to_delay_insert = 102, min_merge_bytes_to_use_direct_io = 102), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.245471 [ 15276 ] {1feec600-7a45-4ea4-9eb1-79d8d5cf379c} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35586) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 110, parts_to_delay_insert = 110, min_merge_bytes_to_use_direct_io = 110), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.273231 [ 15289 ] {a603dc07-ca3e-4d14-86e7-7f896ec365c4} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35698) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 123, parts_to_delay_insert = 123, min_merge_bytes_to_use_direct_io = 123), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.268316 [ 15274 ] {1431a5e3-4bd0-4ee6-a59c-4c94dbcd19a0} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35574) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 118, parts_to_delay_insert = 118, min_merge_bytes_to_use_direct_io = 118), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.273221 [ 15323 ] {7ed57ca1-6347-4f59-a443-45452b5c6967} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35988) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 106, parts_to_delay_insert = 106, min_merge_bytes_to_use_direct_io = 106), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.277807 [ 15408 ] {7c5999aa-cfaf-4803-8d8e-9bcb477a1703} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36444) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 116, parts_to_delay_insert = 116, min_merge_bytes_to_use_direct_io = 116), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.281253 [ 15387 ] {d61fab40-70aa-4596-8228-36889700bc22} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36372) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 101, parts_to_delay_insert = 101, min_merge_bytes_to_use_direct_io = 101), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.276081 [ 15384 ] {914b30d8-6853-46c6-8c57-dd296bccbb65} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36366) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 119, parts_to_delay_insert = 119, min_merge_bytes_to_use_direct_io = 119), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.289178 [ 15335 ] {04b09793-ee38-43ac-b01f-34268555a61c} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36104) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 134, parts_to_delay_insert = 134, min_merge_bytes_to_use_direct_io = 134), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.311491 [ 15399 ] {562d519e-adb2-43e8-a98b-5fff3b9a5d09} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36418) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 114, parts_to_delay_insert = 114, min_merge_bytes_to_use_direct_io = 114), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.332235 [ 15424 ] {ee4e6564-e10f-44f3-9e04-830dfc951d92} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36580) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 139, parts_to_delay_insert = 139, min_merge_bytes_to_use_direct_io = 139), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.339014 [ 15442 ] {6f3c749a-1434-41ef-be60-7867c3c9aa9e} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36684) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 148, parts_to_delay_insert = 148, min_merge_bytes_to_use_direct_io = 148), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.341080 [ 15279 ] {75e1c205-d7b6-484d-ae92-18d4d6df2d56} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36710) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 117, parts_to_delay_insert = 117, min_merge_bytes_to_use_direct_io = 117), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.335907 [ 15368 ] {3e7c2868-c71d-4b81-a336-2a1f6874305e} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36268) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 136, parts_to_delay_insert = 136, min_merge_bytes_to_use_direct_io = 136), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.348095 [ 15333 ] {f001e4c8-04b5-48e1-aceb-a59325cc9828} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36724) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 142, parts_to_delay_insert = 142, min_merge_bytes_to_use_direct_io = 142), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.348619 [ 15409 ] {d36cb49f-a15b-449e-9d53-4f89ab3d3932} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36454) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 128, parts_to_delay_insert = 128, min_merge_bytes_to_use_direct_io = 128), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.380673 [ 6121 ] {f07c2d6b-73bc-479f-a7ff-740503929f42} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.382428 [ 15387 ] {d61fab40-70aa-4596-8228-36889700bc22} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.382487 [ 15274 ] {1431a5e3-4bd0-4ee6-a59c-4c94dbcd19a0} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.383122 [ 15289 ] {a603dc07-ca3e-4d14-86e7-7f896ec365c4} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.383224 [ 15408 ] {7c5999aa-cfaf-4803-8d8e-9bcb477a1703} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.384126 [ 15442 ] {6f3c749a-1434-41ef-be60-7867c3c9aa9e} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.384178 [ 2366 ] {59ee4988-e3d5-4344-8ce4-d35d82dd6db9} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000004 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.384188 [ 15277 ] {e75d73e3-d956-4d7a-aa71-df3710becc80} TCPHandler: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/store/24c/24c69f37-597b-48fa-ae25-50dea770e208/table_for_concurrent_alter.sql, errno: 2, strerror: No such file or directory. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x00000000208412fc in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:224: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x0000000020832d22 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFile.cpp:0: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x0000000020983438 in /usr/bin/clickhouse 5. ./build_docker/./src/Databases/DatabaseOrdinary.cpp:0: DB::DatabaseOrdinary::alterTable(std::shared_ptr, DB::StorageID const&, DB::StorageInMemoryMetadata const&) @ 0x00000000370d5e55 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000003da07204 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0598 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.384277 [ 2671 ] {e7d920ed-9858-4544-afb7-83caf39632b7} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.384255 [ 15428 ] {b8b2be69-6209-44ec-b97c-2e4804c8773d} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36606) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 130, parts_to_delay_insert = 130, min_merge_bytes_to_use_direct_io = 130), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.384195 [ 15279 ] {75e1c205-d7b6-484d-ae92-18d4d6df2d56} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.385833 [ 15329 ] {096ce796-2837-4643-a1a9-9371b875c626} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.385913 [ 15336 ] {83fbbb42-0024-4fc2-a530-1a8bb998fce3} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.373019 [ 15377 ] {8f9c6635-6231-4d80-8542-6d0085ad6602} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36340) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 143, parts_to_delay_insert = 143, min_merge_bytes_to_use_direct_io = 143), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.386181 [ 15337 ] {803baf10-9155-4593-b700-ceef7c9aaa07} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.386299 [ 15362 ] {f19927d7-f6a9-438d-ba04-e29f729f260e} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.386377 [ 15325 ] {641be78f-968d-42f7-8f88-7fdbb8624a0f} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.386391 [ 15367 ] {532161f8-9d74-459e-b9ab-b6f9da68a52e} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.384188 [ 15280 ] {13fcf162-17d4-4787-a57f-fc4440171416} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.384294 [ 15384 ] {914b30d8-6853-46c6-8c57-dd296bccbb65} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.384066 [ 15467 ] {11744ef4-b523-47a3-bf3e-a76118129055} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36756) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 115, parts_to_delay_insert = 115, min_merge_bytes_to_use_direct_io = 115), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.388345 [ 15407 ] {d0c47988-fd00-4421-9cec-8420f9b9dec6} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.388995 [ 15368 ] {3e7c2868-c71d-4b81-a336-2a1f6874305e} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.389652 [ 15323 ] {7ed57ca1-6347-4f59-a443-45452b5c6967} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.390759 [ 15349 ] {95c90c1e-c01a-448a-b7d2-7f89dbd5f0d4} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.390792 [ 12860 ] {9ba1e91d-b8e5-477e-9320-7b6c18483892} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.391032 [ 15300 ] {e4de73e1-1f8d-4458-a8fb-5f0ff096e521} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.392454 [ 15297 ] {25e11a28-744a-4d13-a2ee-6d04dd06c65b} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.397905 [ 15409 ] {d36cb49f-a15b-449e-9d53-4f89ab3d3932} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.403466 [ 15335 ] {04b09793-ee38-43ac-b01f-34268555a61c} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.414242 [ 2366 ] {59ee4988-e3d5-4344-8ce4-d35d82dd6db9} DDLWorker: Query /* ddl_entry=query-0000000004 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:44.422479 [ 15467 ] {11744ef4-b523-47a3-bf3e-a76118129055} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.412344 [ 15332 ] {bd6c1253-66c7-407c-8a06-67d791058f74} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36788) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 137, parts_to_delay_insert = 137, min_merge_bytes_to_use_direct_io = 137), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.434023 [ 15276 ] {1feec600-7a45-4ea4-9eb1-79d8d5cf379c} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.446127 [ 15428 ] {b8b2be69-6209-44ec-b97c-2e4804c8773d} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.447379 [ 15424 ] {ee4e6564-e10f-44f3-9e04-830dfc951d92} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.414015 [ 12855 ] {47da2845-af94-4e19-a895-92d16fae5843} executeQuery: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36670) (comment: 00980_alter_settings_race.sh) (in query: ALTER TABLE table_for_concurrent_alter MODIFY SETTING parts_to_throw_insert = 104, parts_to_delay_insert = 104, min_merge_bytes_to_use_direct_io = 104), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.450965 [ 15399 ] {562d519e-adb2-43e8-a98b-5fff3b9a5d09} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.466780 [ 15332 ] {bd6c1253-66c7-407c-8a06-67d791058f74} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.500281 [ 15333 ] {f001e4c8-04b5-48e1-aceb-a59325cc9828} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.506974 [ 15377 ] {8f9c6635-6231-4d80-8542-6d0085ad6602} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.522681 [ 12855 ] {47da2845-af94-4e19-a895-92d16fae5843} TCPHandler: Code: 218. DB::Exception: Table test_3.table_for_concurrent_alter (60e9a9fe-6565-4c24-b5a6-d8ec35804f9f) is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID&&) @ 0x000000003ba1772d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:82: DB::IStorage::tryLockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d100 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::IStorage::lockForAlter(std::chrono::duration> const&) @ 0x000000003ba0d2d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.758711 [ 4278 ] {2d90f5bd-15a4-4994-8f1c-d11f8038277f} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42142) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_9.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:44.769938 [ 4278 ] {2d90f5bd-15a4-4994-8f1c-d11f8038277f} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:45.286588 [ 2366 ] {85088724-03d8-4335-9382-a89096817262} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000005 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:45.298148 [ 2366 ] {85088724-03d8-4335-9382-a89096817262} DDLWorker: Query /* ddl_entry=query-0000000005 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:45.434267 [ 12860 ] {512122ea-bcaa-4a20-baf6-dc083d8a3a42} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42156) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_9.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:45.453210 [ 12860 ] {512122ea-bcaa-4a20-baf6-dc083d8a3a42} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:46.774852 [ 2366 ] {5a2a741e-ba2d-4e02-9af1-30a07d2084b9} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000006 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:46.792500 [ 2366 ] {5a2a741e-ba2d-4e02-9af1-30a07d2084b9} DDLWorker: Query /* ddl_entry=query-0000000006 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:46.876334 [ 12860 ] {2cdb0c66-5152-47ee-ba8a-22d3f94fe8ea} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59468) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_9.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:46.887909 [ 12860 ] {2cdb0c66-5152-47ee-ba8a-22d3f94fe8ea} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:47.453962 [ 2366 ] {cf289bc8-8523-4626-b0a8-d8d5efb7ffba} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000007 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:47.456962 [ 2366 ] {cf289bc8-8523-4626-b0a8-d8d5efb7ffba} DDLWorker: Query /* ddl_entry=query-0000000007 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:47.560441 [ 12860 ] {ca64a6a1-fd40-47ff-8b3a-a8f1c521a00e} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59470) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_9.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:47.563382 [ 12860 ] {ca64a6a1-fd40-47ff-8b3a-a8f1c521a00e} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:48.136292 [ 2366 ] {80ad66b6-7e0b-48a7-947c-f065490ab7b0} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000008 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:48.139945 [ 2366 ] {80ad66b6-7e0b-48a7-947c-f065490ab7b0} DDLWorker: Query /* ddl_entry=query-0000000008 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:48.301249 [ 12860 ] {1c5b2c28-b829-400b-9c88-416bac54a300} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59484) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_9.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:48.303037 [ 12860 ] {1c5b2c28-b829-400b-9c88-416bac54a300} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:49.036765 [ 2366 ] {96e3f5b8-75b4-4ebb-a92c-e677b192620d} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000009 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:49.173811 [ 2366 ] {96e3f5b8-75b4-4ebb-a92c-e677b192620d} DDLWorker: Query /* ddl_entry=query-0000000009 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:49.306582 [ 12860 ] {a08971b2-1982-469b-aee1-59db01fe3804} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59500) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_9.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:49.318662 [ 12860 ] {a08971b2-1982-469b-aee1-59db01fe3804} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:49.791313 [ 2366 ] {2a12d68e-5d45-4d9f-b28d-b8fb046ee600} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000010 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:49.840727 [ 2366 ] {2a12d68e-5d45-4d9f-b28d-b8fb046ee600} DDLWorker: Query /* ddl_entry=query-0000000010 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:50.003160 [ 12860 ] {c3aa09e1-200b-40ac-b828-bb6b0480da51} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59508) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_9.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:50.008354 [ 12860 ] {c3aa09e1-200b-40ac-b828-bb6b0480da51} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:50.562061 [ 2366 ] {ce37a95e-fa63-45d1-affc-57e2353c300e} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000011 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:50.579933 [ 2366 ] {ce37a95e-fa63-45d1-affc-57e2353c300e} DDLWorker: Query /* ddl_entry=query-0000000011 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:50.717060 [ 12860 ] {fe741bb8-fabf-4ffd-97dc-4b2452aaff48} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59520) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_9.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:50.724674 [ 12860 ] {fe741bb8-fabf-4ffd-97dc-4b2452aaff48} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:51.242249 [ 2366 ] {2c693d26-d1e8-4c83-98dd-350e841b343e} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000012 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:51.248569 [ 2366 ] {2c693d26-d1e8-4c83-98dd-350e841b343e} DDLWorker: Query /* ddl_entry=query-0000000012 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:51.460890 [ 12860 ] {769a1163-c60e-433f-9bcf-3aca2e49d323} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59528) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_9.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:51.475677 [ 12860 ] {769a1163-c60e-433f-9bcf-3aca2e49d323} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:51.968020 [ 2366 ] {3213b4f0-d83e-480c-8abc-74925fa5a80c} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000013 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:51.995390 [ 2366 ] {3213b4f0-d83e-480c-8abc-74925fa5a80c} DDLWorker: Query /* ddl_entry=query-0000000013 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:52.503037 [ 12860 ] {90ef4521-2a13-4dd3-bee9-55f1e1cb837b} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59534) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_9.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:52.511322 [ 12860 ] {90ef4521-2a13-4dd3-bee9-55f1e1cb837b} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:53.126699 [ 2366 ] {61dc3419-95a4-4715-a38e-ff8c87646a31} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000014 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:53.134416 [ 2366 ] {61dc3419-95a4-4715-a38e-ff8c87646a31} DDLWorker: Query /* ddl_entry=query-0000000014 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:53.260076 [ 12860 ] {28c28d17-6cd8-49e5-9bcd-199d55f90f9b} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59538) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_9.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:53.273580 [ 12860 ] {28c28d17-6cd8-49e5-9bcd-199d55f90f9b} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:53.868416 [ 2366 ] {31672093-63b5-475b-b7ab-4e40e28604f5} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000015 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:53.921444 [ 2366 ] {31672093-63b5-475b-b7ab-4e40e28604f5} DDLWorker: Query /* ddl_entry=query-0000000015 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:54.000397 [ 9286 ] {b83c47da-e288-45ab-a1cb-1dc9e15b0e17} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59558) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_9.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:54.007930 [ 9286 ] {b83c47da-e288-45ab-a1cb-1dc9e15b0e17} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:54.493701 [ 2366 ] {e6302668-3950-4245-99ea-b25159f6e846} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000016 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:54.517661 [ 2366 ] {e6302668-3950-4245-99ea-b25159f6e846} DDLWorker: Query /* ddl_entry=query-0000000016 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:54.601652 [ 2671 ] {5d0e7abf-2138-484e-b1eb-b1e78623e6f2} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59566) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_9.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:54.608935 [ 2671 ] {5d0e7abf-2138-484e-b1eb-b1e78623e6f2} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:55.220370 [ 2366 ] {cd31876a-4220-4b65-8628-701452cdc818} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000017 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:55.242717 [ 2366 ] {cd31876a-4220-4b65-8628-701452cdc818} DDLWorker: Query /* ddl_entry=query-0000000017 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:55.348739 [ 12860 ] {76bc222e-cfff-4fe5-bd55-5a572d98eb67} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59574) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_9.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:55.351861 [ 12860 ] {76bc222e-cfff-4fe5-bd55-5a572d98eb67} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:55.353004 [ 9250 ] {a6ec246c-021e-4175-9615-14da9ba8cd39} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1193032 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnFixedString.cpp:339: COW::immutable_ptr DB::ColumnFixedString::indexImpl(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0adfba in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnFixedString.cpp:314: DB::ColumnFixedString::permute(DB::PODArray, 63ul, 64ul> const&, unsigned long) const @ 0x000000003b0720bc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa24844 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:55.821651 [ 2366 ] {f2af3cca-c065-462d-bf56-ecfa72c13aea} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000018 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:55.823428 [ 2366 ] {f2af3cca-c065-462d-bf56-ecfa72c13aea} DDLWorker: Query /* ddl_entry=query-0000000018 */ ALTER TABLE test_9.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a738e75 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e2fc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7e3d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x0000000037a7842e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x0000000037a70ad6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x0000000037a5fe69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x0000000037aa3a27 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000037aa387f in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:28:55.927759 [ 2671 ] {4984b3bc-b091-4367-994a-47e57aaf5550} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43552) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_9.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:28:56.037376 [ 2671 ] {4984b3bc-b091-4367-994a-47e57aaf5550} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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>, String&, unsigned short&, String&) @ 0x000000003a95934a in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x000000003a946588 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 13. ? @ 0x00007fc6eb378a83 in ? 14. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:04.666303 [ 12858 ] {3346ad8c-bb44-4ee2-954e-f9cc520f278c} executeQuery: Code: 128. DB::Exception: Too large array size (maximum: 1073741824): While executing BinaryRowInputFormat. (TOO_LARGE_ARRAY_SIZE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43680) (comment: 02682_quantiles_too_large_size.sql) (in query: -- This query throw high-level exception instead of low-level "too large size passed to allocator": SELECT * FROM format(RowBinary, 'ik2 String, Sum AggregateFunction(sum, UInt16), A$g AggregateFunction(quantiles(0.4, 0.9), UInt64), GroupArray AggregateFunction(groupArray, String)', '295TMi44400000005942762421546108502 ö z *  ParalcelParsingInputFormat   te Date, I � ! STRING  d Tuple(UInt8) vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvTabSeparatedWithNamesAndTypes d Date, a S)ring, x UInt32, y UInt64, z Float32 29TabSeparatevvvvvvvdRawWithNames a UInt32 26TabSeparatedR,éb UInt32 26TabSeparatedRawWithNthNames vvvvv 1 key U7878 ');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x000000000a7850b8 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/ReservoirSampler.h:216: ReservoirSampler>::read(DB::ReadBuffer&) @ 0x0000000022a2f273 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionQuantile.h:193: DB::AggregateFunctionQuantile, DB::NameQuantiles, false, double, true>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000022bc296f in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationAggregateFunction.cpp:0: DB::SerializationAggregateFunction::deserializeBinary(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000036eb26ec in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/Impl/BinaryRowInputFormat.cpp:78: DB::BinaryFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000003e46a474 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e4781a3 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3aa92c in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 16. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x0000000034aebab9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/ColumnsDescription.h:101: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034aed584 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000352fa831 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x0000000037894bfd in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e50466 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) @ 0x0000000039b09f73 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 2026.10.27 19:29:05.631431 [ 12858 ] {3346ad8c-bb44-4ee2-954e-f9cc520f278c} TCPHandler: Code: 128. DB::Exception: Too large array size (maximum: 1073741824): While executing BinaryRowInputFormat. (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x000000000a7850b8 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/ReservoirSampler.h:216: ReservoirSampler>::read(DB::ReadBuffer&) @ 0x0000000022a2f273 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionQuantile.h:193: DB::AggregateFunctionQuantile, DB::NameQuantiles, false, double, true>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000022bc296f in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationAggregateFunction.cpp:0: DB::SerializationAggregateFunction::deserializeBinary(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000036eb26ec in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/Impl/BinaryRowInputFormat.cpp:78: DB::BinaryFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000003e46a474 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000003e4781a3 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000003e3aa92c in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 16. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x0000000034aebab9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/ColumnsDescription.h:101: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000034aed584 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000352fa831 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x0000000037894bfd in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e50466 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) @ 0x0000000039b09f73 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&) @ 0x0000000039b05807 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&) @ 0x0000000039d6d3b9 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&) @ 0x0000000039d67eee 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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 2026.10.27 19:29:05.632419 [ 12870 ] {0f8b8e38-9fa6-49d6-b446-e510dbcb4bf6} executeQuery: Code: 42. DB::Exception: Number of arguments for function generateRandomStructure doesn't match: passed 3, expected from 0 to 2: While processing generateRandomStructure(5, 42, 42). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43682) (comment: 02586_generate_random_structure.sql) (in query: select generateRandomStructure(5, 42, 42);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000944922d in /usr/bin/clickhouse 3. DB::FunctionGenerateRandomStructure::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a704da7 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:29:05.657432 [ 12870 ] {0f8b8e38-9fa6-49d6-b446-e510dbcb4bf6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function generateRandomStructure doesn't match: passed 3, expected from 0 to 2: While processing generateRandomStructure(5, 42, 42). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000944922d in /usr/bin/clickhouse 3. DB::FunctionGenerateRandomStructure::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a704da7 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:29:06.963661 [ 12870 ] {fefb97ce-f02d-427a-bca6-a9005b8ef4b3} executeQuery: Code: 43. DB::Exception: Illegal type String of the 1 argument of function generateRandomStructure, expected unsigned integer or Null: While processing generateRandomStructure('5'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43682) (comment: 02586_generate_random_structure.sql) (in query: select generateRandomStructure('5');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a71653d in /usr/bin/clickhouse 3. DB::FunctionGenerateRandomStructure::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a704b38 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:29:06.963841 [ 15271 ] {9dcdc41b-34e2-476f-9c3e-74297434d73c} executeQuery: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59694) (comment: 02677_analyzer_compound_expressions.sql) (in query: SET allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:06.966294 [ 15271 ] {9dcdc41b-34e2-476f-9c3e-74297434d73c} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:06.966297 [ 12870 ] {fefb97ce-f02d-427a-bca6-a9005b8ef4b3} TCPHandler: Code: 43. DB::Exception: Illegal type String of the 1 argument of function generateRandomStructure, expected unsigned integer or Null: While processing generateRandomStructure('5'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a71653d in /usr/bin/clickhouse 3. DB::FunctionGenerateRandomStructure::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a704b38 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:29:06.980982 [ 12870 ] {f75dbbbc-eb50-4f7b-95f7-b9204f17faf0} executeQuery: Code: 43. DB::Exception: Illegal type String of the 2 argument of function generateRandomStructure, expected unsigned integer or Null: While processing generateRandomStructure(5, '42'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43682) (comment: 02586_generate_random_structure.sql) (in query: select generateRandomStructure(5, '42');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a71653d in /usr/bin/clickhouse 3. DB::FunctionGenerateRandomStructure::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a704b38 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:29:06.982218 [ 12870 ] {f75dbbbc-eb50-4f7b-95f7-b9204f17faf0} TCPHandler: Code: 43. DB::Exception: Illegal type String of the 2 argument of function generateRandomStructure, expected unsigned integer or Null: While processing generateRandomStructure(5, '42'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a71653d in /usr/bin/clickhouse 3. DB::FunctionGenerateRandomStructure::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a704b38 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a7836 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 22. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 26. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 2026.10.27 19:29:07.667809 [ 12870 ] {1acb1baa-7552-4335-b45f-978fd4e7a332} executeQuery: Code: 44. DB::Exception: Argument at index 0 for function generateRandomStructure must be constant. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43682) (comment: 02586_generate_random_structure.sql) (in query: select generateRandomStructure(materialize(5), 42);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x0000000009e3f739 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a2b29 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374d5b85 in /usr/bin/clickhouse 8. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eb86e23 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0b4610 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b5d13a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b3b354 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:07.667879 [ 12855 ] {3105ae7f-3c62-4842-abde-8fbc39e1e512} executeQuery: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59720) (comment: 01000_subquery_requires_alias.sql) (in query: SET allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:07.669944 [ 12855 ] {3105ae7f-3c62-4842-abde-8fbc39e1e512} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:07.673287 [ 12870 ] {1acb1baa-7552-4335-b45f-978fd4e7a332} TCPHandler: Code: 44. DB::Exception: Argument at index 0 for function generateRandomStructure must be constant. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x0000000009e3f739 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a2b29 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374d5b85 in /usr/bin/clickhouse 8. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eb86e23 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0b4610 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b5d13a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b3b354 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:07.703347 [ 12870 ] {b6c70038-d4a5-4253-8ff8-af319b6e7563} executeQuery: Code: 44. DB::Exception: Argument at index 1 for function generateRandomStructure must be constant. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43682) (comment: 02586_generate_random_structure.sql) (in query: select generateRandomStructure(5, materialize(42));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x0000000009e3f739 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a2b29 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374d5b85 in /usr/bin/clickhouse 8. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eb86e23 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0b4610 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b5d13a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b3b354 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:07.708899 [ 12870 ] {b6c70038-d4a5-4253-8ff8-af319b6e7563} TCPHandler: Code: 44. DB::Exception: Argument at index 1 for function generateRandomStructure must be constant. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x0000000009e3f739 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a2b29 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000374d5b85 in /usr/bin/clickhouse 8. ./build_docker/./src/Core/Block.h:35: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000003eb86e23 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:0: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000003f0b4610 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x0000000039b5d13a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b3b354 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:09.135590 [ 12870 ] {88d67267-c551-401a-8804-9bf488b8a2a3} executeQuery: Code: 42. DB::Exception: Table function 'generateRandom' requires at most four (or three if structure is missing) arguments: [structure, random_seed, max_string_length, max_array_length]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43682) (comment: 02586_generate_random_structure.sql) (in query: select * from generateRandom(10000000, 2, 2, 2) limit 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionGenerateRandom.cpp:49: DB::TableFunctionGenerateRandom::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000034a46b5f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035310946 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x0000000037891446 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e50466 in /usr/bin/clickhouse 7. ./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) @ 0x0000000039b09f73 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 11. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:09.138680 [ 12870 ] {88d67267-c551-401a-8804-9bf488b8a2a3} TCPHandler: Code: 42. DB::Exception: Table function 'generateRandom' requires at most four (or three if structure is missing) arguments: [structure, random_seed, max_string_length, max_array_length]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionGenerateRandom.cpp:49: DB::TableFunctionGenerateRandom::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000034a46b5f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000035310946 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x0000000037891446 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e50466 in /usr/bin/clickhouse 7. ./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) @ 0x0000000039b09f73 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 11. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:10.382818 [ 12855 ] {375bb97a-36be-494a-a802-401dfae2fdf7} executeQuery: Code: 264. DB::Exception: Table test_7.join (f30545c1-db10-413b-ae6f-bb7718a354db) needs the same join_use_nulls setting as present in LEFT or FULL JOIN. (INCOMPATIBLE_TYPE_OF_JOIN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59754) (comment: 00475_in_join_db_table.sql) (in query: SELECT k, x FROM (SELECT arrayJoin([1, 2]) AS k) js1 ANY LEFT JOIN join USING k;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageJoin.cpp:189: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000003bcbe1c4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x0000000037ca3ea4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x0000000037ca0c4c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037cca9cf in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 9. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 13. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:10.388400 [ 12855 ] {375bb97a-36be-494a-a802-401dfae2fdf7} TCPHandler: Code: 264. DB::Exception: Table test_7.join (f30545c1-db10-413b-ae6f-bb7718a354db) needs the same join_use_nulls setting as present in LEFT or FULL JOIN. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageJoin.cpp:189: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000003bcbe1c4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x0000000037ca3ea4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x0000000037ca0c4c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037cca9cf in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 9. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 13. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:10.527353 [ 15274 ] {c0b59092-ac25-437f-8f82-0ea2b922f74d} executeQuery: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59798) (comment: 02420_final_setting_analyzer.sql) (in query: -- { echoOn } set allow_experimental_analyzer=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:10.530604 [ 15274 ] {c0b59092-ac25-437f-8f82-0ea2b922f74d} TCPHandler: Code: 452. DB::Exception: Setting allow_experimental_analyzer should not be changed. (SETTING_CONSTRAINT_VIOLATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000001515cd77 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035e0013f in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe8be in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:10.888427 [ 15274 ] {a12a387c-74c6-4442-9c4f-33ef1e60d968} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/store/e99/e9995721-fabb-4fc5-9898-0d64d245099e//data.TSV doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59806) (comment: 00832_storage_file_lock.sql) (in query: SELECT * FROM file;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc1edc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba0e863 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b51878 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b36ae1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:10.889565 [ 15274 ] {a12a387c-74c6-4442-9c4f-33ef1e60d968} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/store/e99/e9995721-fabb-4fc5-9898-0d64d245099e//data.TSV doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc1edc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba0e863 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b51878 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b36ae1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:12.865936 [ 15277 ] {e70fb36b-d544-4412-a61b-2249aff1ad47} executeQuery: Code: 582. DB::Exception: There is no projection pp in table. (NO_SUCH_PROJECTION_IN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59824) (comment: 01710_projection_drop_if_exists.sql) (in query: alter table tp drop projection pp;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfb3eb5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/ProjectionsDescription.cpp:403: DB::ProjectionsDescription::remove(String const&, bool) @ 0x000000003ba91f7f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/AlterCommands.cpp:609: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b8f0dd7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b902e09 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ceb5242 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0433 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:12.871075 [ 15277 ] {e70fb36b-d544-4412-a61b-2249aff1ad47} TCPHandler: Code: 582. DB::Exception: There is no projection pp in table. (NO_SUCH_PROJECTION_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfb3eb5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/ProjectionsDescription.cpp:403: DB::ProjectionsDescription::remove(String const&, bool) @ 0x000000003ba91f7f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/AlterCommands.cpp:609: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b8f0dd7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b902e09 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ceb5242 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0433 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:13.990213 [ 15277 ] {0bc61865-e2b8-4f5f-8d5b-e65ef2ad3d9d} executeQuery: Code: 582. DB::Exception: There is no projection p in table. (NO_SUCH_PROJECTION_IN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59824) (comment: 01710_projection_drop_if_exists.sql) (in query: alter table tp drop projection p;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfb3eb5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/ProjectionsDescription.cpp:403: DB::ProjectionsDescription::remove(String const&, bool) @ 0x000000003ba91f7f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/AlterCommands.cpp:609: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b8f0dd7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b902e09 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ceb5242 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0433 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:14.000464 [ 15277 ] {0bc61865-e2b8-4f5f-8d5b-e65ef2ad3d9d} TCPHandler: Code: 582. DB::Exception: There is no projection p in table. (NO_SUCH_PROJECTION_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000bfb3eb5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/ProjectionsDescription.cpp:403: DB::ProjectionsDescription::remove(String const&, bool) @ 0x000000003ba91f7f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/AlterCommands.cpp:609: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b8f0dd7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b902e09 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ceb5242 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0433 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:18.385609 [ 15282 ] {a8ea490e-a7e7-47f0-83b8-6006b5d3f0b8} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56650) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc1edc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba0e863 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b51878 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b36ae1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:18.396680 [ 15282 ] {a8ea490e-a7e7-47f0-83b8-6006b5d3f0b8} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc1edc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba0e863 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b51878 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b36ae1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:20.558832 [ 15280 ] {0c22bdb5-5a2c-4789-9f53-e6e8b7bb0745} executeQuery: Code: 131. DB::Exception: String size is too big (2147483648), maximum: 2147483647: while executing 'FUNCTION CAST(concat(unhex('ffffff7f'), randomString(100500)) :: 1, 'AggregateFunction(max, String)' :: 2) -> CAST(concat(unhex('ffffff7f'), randomString(100500)), 'AggregateFunction(max, String)') AggregateFunction(max, String) : 3'. (TOO_LARGE_STRING_SIZE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59874) (comment: 02477_single_value_data_string_regression.sql) (in query: SELECT '2^31-1', maxMerge(x) from (select CAST(unhex('ffffff7f') || randomString(100500), 'AggregateFunction(max, String)') as x);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned int&, unsigned int const&) @ 0x000000002426bc2d in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionMinMaxAny.h:560: DB::SingleValueDataString::allocateLargeDataIfNeeded(unsigned int, DB::Arena*) @ 0x000000002426b87b in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionMinMaxAny.h:596: DB::SingleValueDataString::read(DB::ReadBuffer&, DB::ISerialization const&, DB::Arena*) @ 0x000000002426c308 in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionMinMaxAny.h:1431: DB::AggregateFunctionsSingleValue>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000024fd204f in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/Serializations/SerializationAggregateFunction.cpp:0: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000036eb4d1b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000036eb55bc in /usr/bin/clickhouse 8. DB::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000941a519 in /usr/bin/clickhouse 9. DB::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009418daa in /usr/bin/clickhouse 10. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (*)(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x00000000094224fa in /usr/bin/clickhouse 11. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eb883db in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:20.574639 [ 15280 ] {0c22bdb5-5a2c-4789-9f53-e6e8b7bb0745} TCPHandler: Code: 131. DB::Exception: String size is too big (2147483648), maximum: 2147483647: while executing 'FUNCTION CAST(concat(unhex('ffffff7f'), randomString(100500)) :: 1, 'AggregateFunction(max, String)' :: 2) -> CAST(concat(unhex('ffffff7f'), randomString(100500)), 'AggregateFunction(max, String)') AggregateFunction(max, String) : 3'. (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned int&, unsigned int const&) @ 0x000000002426bc2d in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionMinMaxAny.h:560: DB::SingleValueDataString::allocateLargeDataIfNeeded(unsigned int, DB::Arena*) @ 0x000000002426b87b in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionMinMaxAny.h:596: DB::SingleValueDataString::read(DB::ReadBuffer&, DB::ISerialization const&, DB::Arena*) @ 0x000000002426c308 in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionMinMaxAny.h:1431: DB::AggregateFunctionsSingleValue>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000024fd204f in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/Serializations/SerializationAggregateFunction.cpp:0: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000036eb4d1b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000036eb55bc in /usr/bin/clickhouse 8. DB::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000941a519 in /usr/bin/clickhouse 9. DB::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009418daa in /usr/bin/clickhouse 10. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (*)(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x00000000094224fa in /usr/bin/clickhouse 11. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eb883db in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:21.425530 [ 15281 ] {7474f6a5-8ad2-4aae-9c79-c757feb5732c} executeQuery: Code: 36. DB::Exception: Cannot replace partition '201403' because part '201403_1_7_1' has inconsistent granularity with table. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56684) (comment: 00152_insert_different_granularity.sql) (in query: ALTER TABLE fixed_granularity_table REPLACE PARTITION 201403 FROM test.hits;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x0000000020b3a015 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageMergeTree.cpp:2029: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000003da634d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000003cf1e64c in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.h:45: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395df7a8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:22.222652 [ 15280 ] {95dd8942-fb7a-4863-a353-816e24dfc37a} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.38 GiB (attempt to allocate chunk of 2147623168 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: while executing 'FUNCTION CAST(concat(unhex('feffff7f'), randomString(100500)) :: 1, 'AggregateFunction(max, String)' :: 2) -> CAST(concat(unhex('feffff7f'), randomString(100500)), 'AggregateFunction(max, String)') AggregateFunction(max, String) : 3'. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59874) (comment: 02477_single_value_data_string_regression.sql) (in query: SELECT '2^31-2', maxMerge(x) from (select CAST(unhex('feffff7f') || randomString(100500), 'AggregateFunction(max, String)') as x);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c7cfb0f in /usr/bin/clickhouse 10. ./build_docker/./src/Common/Arena.h:152: DB::SingleValueDataString::allocateLargeDataIfNeeded(unsigned int, DB::Arena*) @ 0x000000002426b8b7 in /usr/bin/clickhouse 11. ./build_docker/./src/AggregateFunctions/AggregateFunctionMinMaxAny.h:596: DB::SingleValueDataString::read(DB::ReadBuffer&, DB::ISerialization const&, DB::Arena*) @ 0x000000002426c308 in /usr/bin/clickhouse 12. ./build_docker/./src/AggregateFunctions/AggregateFunctionMinMaxAny.h:1431: DB::AggregateFunctionsSingleValue>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000024fd204f in /usr/bin/clickhouse 13. ./build_docker/./src/DataTypes/Serializations/SerializationAggregateFunction.cpp:0: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000036eb4d1b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000036eb55bc in /usr/bin/clickhouse 15. DB::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000941a519 in /usr/bin/clickhouse 16. DB::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009418daa in /usr/bin/clickhouse 17. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (*)(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x00000000094224fa in /usr/bin/clickhouse 18. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 19. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 20. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 21. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 22. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eb883db in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 30. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 2026.10.27 19:29:22.223157 [ 15281 ] {7474f6a5-8ad2-4aae-9c79-c757feb5732c} TCPHandler: Code: 36. DB::Exception: Cannot replace partition '201403' because part '201403_1_7_1' has inconsistent granularity with table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x0000000020b3a015 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageMergeTree.cpp:2029: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000003da634d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000003cf1e64c in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.h:45: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395df7a8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:22.226197 [ 15280 ] {95dd8942-fb7a-4863-a353-816e24dfc37a} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.38 GiB (attempt to allocate chunk of 2147623168 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: while executing 'FUNCTION CAST(concat(unhex('feffff7f'), randomString(100500)) :: 1, 'AggregateFunction(max, String)' :: 2) -> CAST(concat(unhex('feffff7f'), randomString(100500)), 'AggregateFunction(max, String)') AggregateFunction(max, String) : 3'. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c7cfb0f in /usr/bin/clickhouse 10. ./build_docker/./src/Common/Arena.h:152: DB::SingleValueDataString::allocateLargeDataIfNeeded(unsigned int, DB::Arena*) @ 0x000000002426b8b7 in /usr/bin/clickhouse 11. ./build_docker/./src/AggregateFunctions/AggregateFunctionMinMaxAny.h:596: DB::SingleValueDataString::read(DB::ReadBuffer&, DB::ISerialization const&, DB::Arena*) @ 0x000000002426c308 in /usr/bin/clickhouse 12. ./build_docker/./src/AggregateFunctions/AggregateFunctionMinMaxAny.h:1431: DB::AggregateFunctionsSingleValue>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000024fd204f in /usr/bin/clickhouse 13. ./build_docker/./src/DataTypes/Serializations/SerializationAggregateFunction.cpp:0: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000036eb4d1b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000036eb55bc in /usr/bin/clickhouse 15. DB::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000941a519 in /usr/bin/clickhouse 16. DB::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000009418daa in /usr/bin/clickhouse 17. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (*)(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x00000000094224fa in /usr/bin/clickhouse 18. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 19. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 20. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 21. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 22. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000003eb883db in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 30. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 2026.10.27 19:29:32.546599 [ 15280 ] {06b294ea-4a71-487a-88c1-227d11b127ee} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 31.79 MiB (attempt to allocate chunk of 1164304 bytes), maximum: 9.31 GiB: (while reading column URL): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 24 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56738) (comment: 00038_uniq_state_merge2.sql) (in query: SELECT topLevelDomain(concat('http://', k)) AS tld, sum(u) AS u, uniqMerge(us) AS us FROM (SELECT domain(URL) AS k, uniq(UserID) AS u, uniqState(UserID) AS us FROM test.hits GROUP BY k) GROUP BY tld ORDER BY u DESC, tld ASC LIMIT 100 ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x00000000209e2844 in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: DB::CompressedReadBufferFromFile::nextImpl() @ 0x000000003689278a in /usr/bin/clickhouse 9. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::nextImpl() @ 0x0000000036892cad in /usr/bin/clickhouse 10. ./build_docker/./src/IO/ReadBuffer.h:72: void DB::deserializeBinarySSE2<4>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x0000000036ff8a32 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:254: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7bec in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 27. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 31. ? @ 0x00007fc6eb378a83 in ? 2026.10.27 19:29:32.739227 [ 15280 ] {06b294ea-4a71-487a-88c1-227d11b127ee} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 31.79 MiB (attempt to allocate chunk of 1164304 bytes), maximum: 9.31 GiB: (while reading column URL): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 24 with max_rows_to_read = 8192): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x00000000209e2844 in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: DB::CompressedReadBufferFromFile::nextImpl() @ 0x000000003689278a in /usr/bin/clickhouse 9. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::nextImpl() @ 0x0000000036892cad in /usr/bin/clickhouse 10. ./build_docker/./src/IO/ReadBuffer.h:72: void DB::deserializeBinarySSE2<4>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x0000000036ff8a32 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:254: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7bec in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 27. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 31. ? @ 0x00007fc6eb378a83 in ? 2026.10.27 19:29:34.886849 [ 2233 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {1b472cab-7f44-4e61-9d4f-069834646e86::202610_1_77_17}: Code: 241. DB::Exception: Memory tracker (for thread): fault injected (at specific point). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, char const*&&) @ 0x000000002087620c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:184: MemoryTracker::injectFault() const @ 0x000000002087177d in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:129: CurrentMemoryTracker::injectFault() @ 0x000000002078f7bf in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ThreadFuzzer.cpp:242: DB::ThreadFuzzer::maybeInjectMemoryLimitException() @ 0x00000000209251b6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::finish() @ 0x000000003dab496f in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:29:42.561296 [ 9278 ] {187f8159-bdbb-4ed8-bdd7-06ef8421f4b4} DynamicQueryHandler: Code: 246. DB::Exception: Can't decompress data: header is corrupt with compressed block size 0. (CORRUPTED_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [70]) @ 0x0000000010271ed7 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/ICompressionCodec.cpp:119: DB::ICompressionCodec::readCompressedBlockSize(char const*) @ 0x00000000369b5809 in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressedReadBufferBase.cpp:139: DB::readHeaderAndGetCodecAndSize(char const*, char8_t, std::shared_ptr&, unsigned long&, unsigned long&, bool) @ 0x000000003688cedb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::CompressedReadBufferBase::readCompressedData(unsigned long&, unsigned long&, bool) @ 0x000000003688bb7c in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressedReadBuffer.cpp:12: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x000000003688a7ac in /usr/bin/clickhouse 7. ./build_docker/./src/IO/ReadBuffer.h:71: DB::(anonymous namespace)::ReadBufferWrapper::nextImpl() @ 0x00000000361e7e77 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/ReadBuffer.h:72: DB::ConcatReadBuffer::nextImpl() @ 0x00000000377e3123 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a991e80 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df68bed in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df75e8e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f3061 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:29:44.525691 [ 15281 ] {} DNSResolver: Cannot resolve host (non.existing.host.name), error 0: Host not found. 2026.10.27 19:29:44.526515 [ 15281 ] {} AddressPatterns: Failed to check if the allowed client hosts contain address 2001:3984:3989::242:ac11:2. DB::Exception: Not found address of host: non.existing.host.name, code = 198 2026.10.27 19:29:45.435070 [ 15289 ] {ede70237-8ce1-4f61-a376-feb40e4db802} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 422.52 MiB (attempt to allocate chunk of 1048704 bytes), maximum: 9.31 GiB: (while reading column MobilePhoneModel): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34792) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactStringsEachRowWithNamesAndTypes), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b72 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:49.076377 [ 15293 ] {a73895f6-4e95-4c5b-bc0a-45abccf1fbd1::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2026.10.27 19:29:49.092781 [ 15293 ] {a73895f6-4e95-4c5b-bc0a-45abccf1fbd1::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2026.10.27 19:29:49.092871 [ 15293 ] {a73895f6-4e95-4c5b-bc0a-45abccf1fbd1::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2026.10.27 19:29:49.092910 [ 15293 ] {a73895f6-4e95-4c5b-bc0a-45abccf1fbd1::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2026.10.27 19:29:49.092949 [ 15293 ] {a73895f6-4e95-4c5b-bc0a-45abccf1fbd1::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2026.10.27 19:29:49.092999 [ 15293 ] {a73895f6-4e95-4c5b-bc0a-45abccf1fbd1::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2026.10.27 19:29:49.093047 [ 15293 ] {a73895f6-4e95-4c5b-bc0a-45abccf1fbd1::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2026.10.27 19:29:49.093087 [ 15293 ] {a73895f6-4e95-4c5b-bc0a-45abccf1fbd1::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2026.10.27 19:29:49.093134 [ 15293 ] {a73895f6-4e95-4c5b-bc0a-45abccf1fbd1::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2026.10.27 19:29:49.093174 [ 15293 ] {a73895f6-4e95-4c5b-bc0a-45abccf1fbd1::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2026.10.27 19:29:51.618885 [ 15289 ] {ede70237-8ce1-4f61-a376-feb40e4db802} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 422.52 MiB (attempt to allocate chunk of 1048704 bytes), maximum: 9.31 GiB: (while reading column MobilePhoneModel): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 32768): While executing MergeTreeThread. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b72 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:58.607110 [ 15294 ] {c62c864a-048b-4b15-838b-b646b1964a45} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: while converting '202001-06' to Date. (CANNOT_PARSE_DATE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34836) (comment: 01073_bad_alter_partition.sql) (in query: ALTER TABLE merge_tree DROP PARTITION '202001-06';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x0000000015145bd7 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x00000000209cee1a in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.cpp:1121: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000209ce49d in /usr/bin/clickhouse 5. void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x0000000009cb2259 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/LocalDate.h:116: DB::SerializationDate::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000036edbc2a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8cb6c3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8c5b09 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/convertFieldToType.cpp:558: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8ce81d in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000003cec783b in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000003cf1354a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395df51a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:29:58.616192 [ 15294 ] {c62c864a-048b-4b15-838b-b646b1964a45} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: while converting '202001-06' to Date. (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x0000000015145bd7 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x00000000209cee1a in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.cpp:1121: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000209ce49d in /usr/bin/clickhouse 5. void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x0000000009cb2259 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/LocalDate.h:116: DB::SerializationDate::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000036edbc2a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8cb6c3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8c5b09 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/convertFieldToType.cpp:558: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000003a8ce81d in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000003cec783b in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000003cf1354a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395df51a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:30:00.691337 [ 2058 ] {} DNSResolver: Cannot resolve host (non.existing.host.name), error 0: Host not found. 2026.10.27 19:30:06.218551 [ 9255 ] {d7182577-2fed-4d40-bae3-65a695f2f00e} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt8, String because some of them are String/FixedString and some of them are not: While processing hasSubstr([1], ['a']). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34806) (comment: 00555_hasSubstr.sql) (in query: select hasSubstr([1], ['a']);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad374b6 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e540d2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e61b8c in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:269: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e5b1c3 in /usr/bin/clickhouse 6. DB::FunctionArrayHasAllAny::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001fb8cce2 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 28. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 2026.10.27 19:30:06.219835 [ 9255 ] {d7182577-2fed-4d40-bae3-65a695f2f00e} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt8, String because some of them are String/FixedString and some of them are not: While processing hasSubstr([1], ['a']). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad374b6 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e540d2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e61b8c in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:269: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e5b1c3 in /usr/bin/clickhouse 6. DB::FunctionArrayHasAllAny::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001fb8cce2 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 28. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 2026.10.27 19:30:06.234780 [ 6141 ] {1b8470ae-f428-48c8-9542-41cb83b4a9bb} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 72.28 KiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34788) (comment: 00155_long_merges.sh) (in query: SELECT count() = 8191, sum(s) = 8191 FROM replacing_00155), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:30:08.169817 [ 6141 ] {1b8470ae-f428-48c8-9542-41cb83b4a9bb} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 72.28 KiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:30:08.174778 [ 9255 ] {4e2f4f7c-505d-4635-bc05-e6d9414b0bc5} executeQuery: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), String because some of them are Array and some of them are not: While processing hasSubstr([[1, 2], [3, 4]], ['a', 'c']). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34806) (comment: 00555_hasSubstr.sql) (in query: select hasSubstr([[1, 2], [3, 4]], ['a', 'c']);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad374b6 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e540d2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:313: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e61a8d in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:269: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e5b1c3 in /usr/bin/clickhouse 6. DB::FunctionArrayHasAllAny::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001fb8cce2 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 28. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 2026.10.27 19:30:08.177055 [ 9255 ] {4e2f4f7c-505d-4635-bc05-e6d9414b0bc5} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), String because some of them are Array and some of them are not: While processing hasSubstr([[1, 2], [3, 4]], ['a', 'c']). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000001ad374b6 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000036e540d2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:313: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e61a8d in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:269: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000036e5b1c3 in /usr/bin/clickhouse 6. DB::FunctionArrayHasAllAny::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001fb8cce2 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6802 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a6138 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 28. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 2026.10.27 19:30:29.312412 [ 15274 ] {85ffda3e-ba1c-4a59-b2e9-1702f2b6bbd3} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 351.65 MiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60376) (comment: 00008_uniq.sql) (in query: SELECT uniq(UserID), uniqIf(UserID, CounterID = 800784), uniqIf(FUniqID, RegionID = 213) FROM test.hits ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:30:32.292906 [ 15274 ] {85ffda3e-ba1c-4a59-b2e9-1702f2b6bbd3} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 351.65 MiB (attempt to allocate chunk of 0 bytes), maximum: 9.31 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:85: CurrentMemoryTracker::check() @ 0x000000002078ecc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x0000000037d98391 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0300 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:30:32.337170 [ 15280 ] {b6731c1b-2485-4707-a18c-47091f657ae7} executeQuery: Code: 115. DB::Exception: Unknown setting custom_e: While processing getSetting('custom_e') AS v, toTypeName(v). (UNKNOWN_SETTING) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60478) (comment: 01418_custom_settings.sql) (in query: SELECT getSetting('custom_e') as v, toTypeName(v);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/BaseSettings.cpp:44: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x00000000362714d8 in /usr/bin/clickhouse 4. DB::BaseSettings::get(std::basic_string_view>) const @ 0x0000000010f71aa9 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionGetSetting::getValue(std::vector> const&) const @ 0x0000000010f70f3b in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionGetSetting::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010f70abd in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 24. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 28. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 2026.10.27 19:30:32.360868 [ 15280 ] {b6731c1b-2485-4707-a18c-47091f657ae7} TCPHandler: Code: 115. DB::Exception: Unknown setting custom_e: While processing getSetting('custom_e') AS v, toTypeName(v). (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/BaseSettings.cpp:44: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x00000000362714d8 in /usr/bin/clickhouse 4. DB::BaseSettings::get(std::basic_string_view>) const @ 0x0000000010f71aa9 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionGetSetting::getValue(std::vector> const&) const @ 0x0000000010f70f3b in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionGetSetting::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010f70abd in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 24. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 28. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 2026.10.27 19:30:33.404540 [ 15280 ] {b2a0aa42-ccbc-4405-ad91-86d4a71cdabf} executeQuery: Code: 115. DB::Exception: Setting invalid_custom is neither a builtin setting nor started with the prefix 'SQL_' or 'custom_' registered for user-defined settings. (UNKNOWN_SETTING) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60478) (comment: 01418_custom_settings.sql) (in query: SET invalid_custom = 8;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:132: DB::AccessControl::CustomSettingsPrefixes::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000035a4b77d in /usr/bin/clickhouse 4. ./build_docker/./src/Access/AccessControl.cpp:649: DB::AccessControl::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000035a48306 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe73c in /usr/bin/clickhouse 6. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:30:33.520207 [ 15280 ] {b2a0aa42-ccbc-4405-ad91-86d4a71cdabf} TCPHandler: Code: 115. DB::Exception: Setting invalid_custom is neither a builtin setting nor started with the prefix 'SQL_' or 'custom_' registered for user-defined settings. (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:132: DB::AccessControl::CustomSettingsPrefixes::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000035a4b77d in /usr/bin/clickhouse 4. ./build_docker/./src/Access/AccessControl.cpp:649: DB::AccessControl::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000035a48306 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000035dfe73c in /usr/bin/clickhouse 6. ./build_docker/./src/Access/SettingsConstraints.cpp:182: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000035dff05b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000037886a15 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x0000000039d7b794 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:30:34.430215 [ 15280 ] {dc7dec04-4dce-4e7e-9451-59ba48875830} executeQuery: Code: 115. DB::Exception: Unknown setting custom_f: While processing getSetting('custom_f') AS v, toTypeName(v). (UNKNOWN_SETTING) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60478) (comment: 01418_custom_settings.sql) (in query: SELECT getSetting('custom_f') as v, toTypeName(v);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/BaseSettings.cpp:44: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x00000000362714d8 in /usr/bin/clickhouse 4. DB::BaseSettings::get(std::basic_string_view>) const @ 0x0000000010f71aa9 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionGetSetting::getValue(std::vector> const&) const @ 0x0000000010f70f3b in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionGetSetting::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010f70abd in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 24. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 28. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 2026.10.27 19:30:34.440747 [ 15280 ] {dc7dec04-4dce-4e7e-9451-59ba48875830} TCPHandler: Code: 115. DB::Exception: Unknown setting custom_f: While processing getSetting('custom_f') AS v, toTypeName(v). (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/BaseSettings.cpp:44: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x00000000362714d8 in /usr/bin/clickhouse 4. DB::BaseSettings::get(std::basic_string_view>) const @ 0x0000000010f71aa9 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionGetSetting::getValue(std::vector> const&) const @ 0x0000000010f70f3b in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionGetSetting::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010f70abd in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 24. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 28. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 2026.10.27 19:30:39.118946 [ 15283 ] {1bbf0630-e1fe-4bb8-be58-1b1360f3ffc4} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 1.00 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39124) (comment: 00162_mmap_compression_none.sql) (in query: CREATE TABLE hits_none (`Title` String CODEC(NONE)) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 8192, index_granularity_bytes = '10Mi', min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 2944, prefer_fetch_merged_part_size_threshold = 2131992030, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 9571522494, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 81294, primary_key_compress_block_size = 99612), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:296: DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x000000003ce1f4ac in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/StorageMergeTree.cpp:116: 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) @ 0x000000003d9fc2fc in /usr/bin/clickhouse 17. ./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&) @ 0x000000003d9fa74b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003d9ed120 in /usr/bin/clickhouse 19. ./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&) @ 0x000000003571bd9a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bbeeb7a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393dacd0 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c260a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 2026.10.27 19:30:39.129010 [ 15283 ] {1bbf0630-e1fe-4bb8-be58-1b1360f3ffc4} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 1.00 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:296: DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x000000003ce1f4ac in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/StorageMergeTree.cpp:116: 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) @ 0x000000003d9fc2fc in /usr/bin/clickhouse 17. ./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&) @ 0x000000003d9fa74b in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000003d9ed120 in /usr/bin/clickhouse 19. ./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&) @ 0x000000003571bd9a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000003bbeeb7a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000393dacd0 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000393c260a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1731: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca5c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 2026.10.27 19:30:42.101054 [ 15287 ] {} HTTPServerRequest: Got an HTTP request with no content length and no chunked/multipart encoding, it may be impossible to distinguish graceful EOF from abnormal connection loss 2026.10.27 19:30:48.308595 [ 15279 ] {b10b8e9c-782d-42f8-b0f5-c62c54e83e20} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 2.00 million, current rows: 2.00 million. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60472) (comment: 02781_data_skipping_index_merge_tree_min_for_seek.sql) (in query: SELECT * FROM data WHERE v1 >= now() - INTERVAL 180 DAY FORMAT Null SETTINGS max_threads=1, max_final_threads=1, force_data_skipping_indices='v1_index', merge_tree_min_rows_for_seek=1, max_rows_to_read=1999999;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:30:48.311123 [ 15279 ] {b10b8e9c-782d-42f8-b0f5-c62c54e83e20} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 2.00 million, current rows: 2.00 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:30:50.046562 [ 15296 ] {0409c30b-0f15-4689-8b4e-ebeae26852cd} executeQuery: Code: 70. DB::Exception: Value in column Float64 cannot be safely converted into type UInt32: While processing accurateCast(1e35, 'UInt32'). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57416) (comment: 01906_bigint_accurate_cast_ubsan.sql) (in query: SELECT accurateCast(1e35, 'UInt32');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::CastName, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::AccurateConvertStrategyAdditions) @ 0x000000000a31cc8e in /usr/bin/clickhouse 4. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000a300175 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000a2fa618 in /usr/bin/clickhouse 6. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a2f9be5 in /usr/bin/clickhouse 7. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a2f99ce in /usr/bin/clickhouse 8. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 9. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 29. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 2026.10.27 19:30:50.048479 [ 15296 ] {0409c30b-0f15-4689-8b4e-ebeae26852cd} TCPHandler: Code: 70. DB::Exception: Value in column Float64 cannot be safely converted into type UInt32: While processing accurateCast(1e35, 'UInt32'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::CastName, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::AccurateConvertStrategyAdditions) @ 0x000000000a31cc8e in /usr/bin/clickhouse 4. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000a300175 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000a2fa618 in /usr/bin/clickhouse 6. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a2f9be5 in /usr/bin/clickhouse 7. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a2f99ce in /usr/bin/clickhouse 8. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 9. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 29. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 2026.10.27 19:30:50.826411 [ 15296 ] {471c2d86-ecbf-4fad-93ce-1fe5cac3fab1} executeQuery: Code: 70. DB::Exception: Value in column Float64 cannot be safely converted into type UInt64: While processing accurateCast(1e35, 'UInt64'). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57416) (comment: 01906_bigint_accurate_cast_ubsan.sql) (in query: SELECT accurateCast(1e35, 'UInt64');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::CastName, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::AccurateConvertStrategyAdditions) @ 0x000000000a34716b in /usr/bin/clickhouse 4. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000a32a915 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000a324db8 in /usr/bin/clickhouse 6. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a324385 in /usr/bin/clickhouse 7. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a32416e in /usr/bin/clickhouse 8. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 9. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 29. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 2026.10.27 19:30:52.295355 [ 15296 ] {471c2d86-ecbf-4fad-93ce-1fe5cac3fab1} TCPHandler: Code: 70. DB::Exception: Value in column Float64 cannot be safely converted into type UInt64: While processing accurateCast(1e35, 'UInt64'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::CastName, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::AccurateConvertStrategyAdditions) @ 0x000000000a34716b in /usr/bin/clickhouse 4. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000a32a915 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000a324db8 in /usr/bin/clickhouse 6. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a324385 in /usr/bin/clickhouse 7. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a32416e in /usr/bin/clickhouse 8. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 9. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 29. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 2026.10.27 19:30:52.299425 [ 12865 ] {53cac005-18ff-46f8-aa03-f7f469bf57e6} executeQuery: Code: 12. DB::Exception: No limit for MergeJoin (max_rows_in_join, max_bytes_in_join or default_max_bytes_in_join have to be set). (PARAMETER_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57388) (comment: 01010_pmj_right_table_memory_limits.sql) (in query: SELECT n, j FROM ( SELECT number * 200000 as n FROM numbers(5) ) nums ANY LEFT JOIN ( SELECT number * 2 AS n, number AS j FROM numbers(1000000) ) js2 USING n;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [105]) @ 0x0000000034a59617 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/MergeJoin.cpp:0: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x0000000039e80787 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x0000000037cf43c9 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x0000000037ca7720 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x0000000037ca0c4c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037cca9cf in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 10. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 14. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 25. ? @ 0x00007fc6eb378a83 in ? 26. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:30:52.312664 [ 12865 ] {53cac005-18ff-46f8-aa03-f7f469bf57e6} TCPHandler: Code: 12. DB::Exception: No limit for MergeJoin (max_rows_in_join, max_bytes_in_join or default_max_bytes_in_join have to be set). (PARAMETER_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [105]) @ 0x0000000034a59617 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/MergeJoin.cpp:0: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x0000000039e80787 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:65: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x0000000037cf43c9 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x0000000037ca7720 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x0000000037ca0c4c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037cca9cf in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 10. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 14. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 25. ? @ 0x00007fc6eb378a83 in ? 26. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:30:53.415319 [ 15296 ] {15184a65-0da4-466c-b881-4a5e124a9b53} executeQuery: Code: 70. DB::Exception: Value in column Float64 cannot be safely converted into type UInt128: While processing accurateCast(1e35, 'UInt128'). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57416) (comment: 01906_bigint_accurate_cast_ubsan.sql) (in query: SELECT accurateCast(1e35, 'UInt128');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::CastName, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::AccurateConvertStrategyAdditions) @ 0x000000000a37220a in /usr/bin/clickhouse 4. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)::operator(), DB::DataTypeNumber>>>(DB::DataTypeNumber> const&) const @ 0x000000000a355035 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)&&) @ 0x000000000a34f4d8 in /usr/bin/clickhouse 6. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a34eaa5 in /usr/bin/clickhouse 7. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a34e88e in /usr/bin/clickhouse 8. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 9. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 29. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 2026.10.27 19:30:53.419807 [ 15296 ] {15184a65-0da4-466c-b881-4a5e124a9b53} TCPHandler: Code: 70. DB::Exception: Value in column Float64 cannot be safely converted into type UInt128: While processing accurateCast(1e35, 'UInt128'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::CastName, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::AccurateConvertStrategyAdditions) @ 0x000000000a37220a in /usr/bin/clickhouse 4. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)::operator(), DB::DataTypeNumber>>>(DB::DataTypeNumber> const&) const @ 0x000000000a355035 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)&&) @ 0x000000000a34f4d8 in /usr/bin/clickhouse 6. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a34eaa5 in /usr/bin/clickhouse 7. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a34e88e in /usr/bin/clickhouse 8. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 9. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 29. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 2026.10.27 19:30:54.228172 [ 15287 ] {0ed3f0ae-361d-45b8-928a-3649c5ccd605::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2026.10.27 19:30:54.228245 [ 15287 ] {0ed3f0ae-361d-45b8-928a-3649c5ccd605::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2026.10.27 19:30:54.228294 [ 15287 ] {0ed3f0ae-361d-45b8-928a-3649c5ccd605::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2026.10.27 19:30:54.228343 [ 15287 ] {0ed3f0ae-361d-45b8-928a-3649c5ccd605::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2026.10.27 19:30:54.228390 [ 15287 ] {0ed3f0ae-361d-45b8-928a-3649c5ccd605::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2026.10.27 19:30:54.228498 [ 15287 ] {0ed3f0ae-361d-45b8-928a-3649c5ccd605::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2026.10.27 19:30:54.228546 [ 15287 ] {0ed3f0ae-361d-45b8-928a-3649c5ccd605::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2026.10.27 19:30:54.228588 [ 15287 ] {0ed3f0ae-361d-45b8-928a-3649c5ccd605::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2026.10.27 19:30:54.228629 [ 15287 ] {0ed3f0ae-361d-45b8-928a-3649c5ccd605::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2026.10.27 19:30:54.228669 [ 15287 ] {0ed3f0ae-361d-45b8-928a-3649c5ccd605::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2026.10.27 19:30:54.503168 [ 15296 ] {a5faa46e-18e6-4a3d-8204-22b2e6c5f397} executeQuery: Code: 70. DB::Exception: Value in column Float64 cannot be safely converted into type UInt256: While processing accurateCast(1e35, 'UInt256'). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57416) (comment: 01906_bigint_accurate_cast_ubsan.sql) (in query: SELECT accurateCast(1e35, 'UInt256');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::CastName, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::AccurateConvertStrategyAdditions) @ 0x000000000a39d6ce in /usr/bin/clickhouse 4. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)::operator(), DB::DataTypeNumber>>>(DB::DataTypeNumber> const&) const @ 0x000000000a37fdf5 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)&&) @ 0x000000000a37a298 in /usr/bin/clickhouse 6. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a379865 in /usr/bin/clickhouse 7. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a37964e in /usr/bin/clickhouse 8. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 9. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 29. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 2026.10.27 19:30:54.504824 [ 15296 ] {a5faa46e-18e6-4a3d-8204-22b2e6c5f397} TCPHandler: Code: 70. DB::Exception: Value in column Float64 cannot be safely converted into type UInt256: While processing accurateCast(1e35, 'UInt256'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::CastName, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::AccurateConvertStrategyAdditions) @ 0x000000000a39d6ce in /usr/bin/clickhouse 4. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)::operator(), DB::DataTypeNumber>>>(DB::DataTypeNumber> const&) const @ 0x000000000a37fdf5 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)&&) @ 0x000000000a37a298 in /usr/bin/clickhouse 6. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a379865 in /usr/bin/clickhouse 7. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a37964e in /usr/bin/clickhouse 8. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 9. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 29. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 2026.10.27 19:30:55.055696 [ 15296 ] {1f969714-01f0-4451-afe8-46afc3b68116} executeQuery: Code: 70. DB::Exception: Value in column Float64 cannot be safely converted into type UInt64: While processing accurateCast(100000000000000000000., 'UInt64'). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57416) (comment: 01906_bigint_accurate_cast_ubsan.sql) (in query: SELECT accurateCast(1e20, 'UInt64');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::CastName, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::AccurateConvertStrategyAdditions) @ 0x000000000a34716b in /usr/bin/clickhouse 4. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000a32a915 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000a324db8 in /usr/bin/clickhouse 6. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a324385 in /usr/bin/clickhouse 7. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a32416e in /usr/bin/clickhouse 8. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 9. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 29. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 2026.10.27 19:30:55.057904 [ 15296 ] {1f969714-01f0-4451-afe8-46afc3b68116} TCPHandler: Code: 70. DB::Exception: Value in column Float64 cannot be safely converted into type UInt64: While processing accurateCast(100000000000000000000., 'UInt64'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::CastName, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::AccurateConvertStrategyAdditions) @ 0x000000000a34716b in /usr/bin/clickhouse 4. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000a32a915 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000a324db8 in /usr/bin/clickhouse 6. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a324385 in /usr/bin/clickhouse 7. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a32416e in /usr/bin/clickhouse 8. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 9. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 29. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 2026.10.27 19:30:55.079019 [ 15296 ] {8c480665-f22d-450c-871d-d79dfaa7d76f} executeQuery: Code: 70. DB::Exception: Value in column Float64 cannot be safely converted into type UInt128: While processing accurateCast(100000000000000000000., 'UInt128'). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57416) (comment: 01906_bigint_accurate_cast_ubsan.sql) (in query: SELECT accurateCast(1e20, 'UInt128');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::CastName, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::AccurateConvertStrategyAdditions) @ 0x000000000a37220a in /usr/bin/clickhouse 4. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)::operator(), DB::DataTypeNumber>>>(DB::DataTypeNumber> const&) const @ 0x000000000a355035 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)&&) @ 0x000000000a34f4d8 in /usr/bin/clickhouse 6. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a34eaa5 in /usr/bin/clickhouse 7. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a34e88e in /usr/bin/clickhouse 8. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 9. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 29. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 2026.10.27 19:30:55.080350 [ 15296 ] {8c480665-f22d-450c-871d-d79dfaa7d76f} TCPHandler: Code: 70. DB::Exception: Value in column Float64 cannot be safely converted into type UInt128: While processing accurateCast(100000000000000000000., 'UInt128'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::CastName, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::AccurateConvertStrategyAdditions) @ 0x000000000a37220a in /usr/bin/clickhouse 4. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)::operator(), DB::DataTypeNumber>>>(DB::DataTypeNumber> const&) const @ 0x000000000a355035 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)&&) @ 0x000000000a34f4d8 in /usr/bin/clickhouse 6. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a34eaa5 in /usr/bin/clickhouse 7. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a34e88e in /usr/bin/clickhouse 8. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 9. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 29. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 2026.10.27 19:30:55.095813 [ 15296 ] {c1248b4e-b6a6-4759-850a-d7e7fbfe45c9} executeQuery: Code: 70. DB::Exception: Value in column Float64 cannot be safely converted into type UInt256: While processing accurateCast(100000000000000000000., 'UInt256'). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57416) (comment: 01906_bigint_accurate_cast_ubsan.sql) (in query: SELECT accurateCast(1e20, 'UInt256');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::CastName, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::AccurateConvertStrategyAdditions) @ 0x000000000a39d6ce in /usr/bin/clickhouse 4. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)::operator(), DB::DataTypeNumber>>>(DB::DataTypeNumber> const&) const @ 0x000000000a37fdf5 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)&&) @ 0x000000000a37a298 in /usr/bin/clickhouse 6. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a379865 in /usr/bin/clickhouse 7. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a37964e in /usr/bin/clickhouse 8. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 9. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 29. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 2026.10.27 19:30:55.097197 [ 15296 ] {c1248b4e-b6a6-4759-850a-d7e7fbfe45c9} TCPHandler: Code: 70. DB::Exception: Value in column Float64 cannot be safely converted into type UInt256: While processing accurateCast(100000000000000000000., 'UInt256'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::CastName, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::AccurateConvertStrategyAdditions) @ 0x000000000a39d6ce in /usr/bin/clickhouse 4. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)::operator(), DB::DataTypeNumber>>>(DB::DataTypeNumber> const&) const @ 0x000000000a37fdf5 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)&&) @ 0x000000000a37a298 in /usr/bin/clickhouse 6. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a379865 in /usr/bin/clickhouse 7. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a37964e in /usr/bin/clickhouse 8. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 9. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 29. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 2026.10.27 19:30:56.417629 [ 15296 ] {6023290f-39af-4316-a88d-cc72ea3da361} executeQuery: Code: 70. DB::Exception: Value in column Float64 cannot be safely converted into type Int64: While processing accurateCast(10000000000000000000., 'Int64'). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57416) (comment: 01906_bigint_accurate_cast_ubsan.sql) (in query: SELECT accurateCast(1e19, 'Int64');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::CastName, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::AccurateConvertStrategyAdditions) @ 0x000000000a44b890 in /usr/bin/clickhouse 4. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000a42e8d5 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000a428d78 in /usr/bin/clickhouse 6. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a428345 in /usr/bin/clickhouse 7. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a42812e in /usr/bin/clickhouse 8. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 9. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 29. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 2026.10.27 19:30:56.436823 [ 15296 ] {6023290f-39af-4316-a88d-cc72ea3da361} TCPHandler: Code: 70. DB::Exception: Value in column Float64 cannot be safely converted into type Int64: While processing accurateCast(10000000000000000000., 'Int64'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::CastName, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::AccurateConvertStrategyAdditions) @ 0x000000000a44b890 in /usr/bin/clickhouse 4. bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000a42e8d5 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000a428d78 in /usr/bin/clickhouse 6. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000a428345 in /usr/bin/clickhouse 7. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000a42812e in /usr/bin/clickhouse 8. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0438 in /usr/bin/clickhouse 9. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093f0e02 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a351a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:164: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a21e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a33f6 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a57e3 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000374bec35 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bc1d4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 29. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 2026.10.27 19:30:57.929056 [ 12865 ] {51afea19-f2bc-4ba6-b83b-234522d3ad35} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 32.01 MiB (attempt to allocate chunk of 1572864 bytes), maximum: 30.52 MiB.: While executing MergeSortingTransform: While executing FillingRightJoinSide. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57388) (comment: 01010_pmj_right_table_memory_limits.sql) (in query: SELECT n, j FROM ( SELECT number * 200000 as n FROM numbers(5) ) nums ANY LEFT JOIN ( SELECT number * 2 AS n, number AS j FROM numbers(1000000) ) js2 USING n SETTINGS max_bytes_in_join = 30000000;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad5ff in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnVector.cpp:493: DB::ColumnVector::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x000000003b2b0586 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:113: DB::Chunk DB::MergeSorter::mergeBatchImpl>, (DB::SortingQueueStrategy)1>>(DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>&) @ 0x000000003ecbaa22 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<3ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003ec341f3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergeSorter::read() @ 0x000000003ec1cfa8 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/MergeSortingTransform.cpp:236: DB::MergeSortingTransform::generate() @ 0x000000003ebf1521 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:354: DB::SortingTransform::work() @ 0x000000003ec2d564 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/MergeJoin.cpp:604: DB::MergeJoin::mergeInMemoryRightBlocks() @ 0x0000000039e840bb in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/MergeJoin.cpp:571: DB::MergeJoin::setTotals(DB::Block const&) @ 0x0000000039e82b72 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:305: DB::FillingRightJoinSideTransform::work() @ 0x000000003ebae273 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:30:58.098575 [ 12865 ] {51afea19-f2bc-4ba6-b83b-234522d3ad35} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 32.01 MiB (attempt to allocate chunk of 1572864 bytes), maximum: 30.52 MiB.: While executing MergeSortingTransform: While executing FillingRightJoinSide. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad5ff in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnVector.cpp:493: DB::ColumnVector::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x000000003b2b0586 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:113: DB::Chunk DB::MergeSorter::mergeBatchImpl>, (DB::SortingQueueStrategy)1>>(DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>&) @ 0x000000003ecbaa22 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<3ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003ec341f3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergeSorter::read() @ 0x000000003ec1cfa8 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/MergeSortingTransform.cpp:236: DB::MergeSortingTransform::generate() @ 0x000000003ebf1521 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:354: DB::SortingTransform::work() @ 0x000000003ec2d564 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/MergeJoin.cpp:604: DB::MergeJoin::mergeInMemoryRightBlocks() @ 0x0000000039e840bb in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/MergeJoin.cpp:571: DB::MergeJoin::setTotals(DB::Block const&) @ 0x0000000039e82b72 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/JoiningTransform.cpp:305: DB::FillingRightJoinSideTransform::work() @ 0x000000003ebae273 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e21a826 in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:13.126656 [ 15294 ] {a02c091f-304a-4def-a94b-b2ff155604d4} executeQuery: Code: 184. DB::Exception: Aggregate function avg(number) is found inside another aggregate function in query: While processing avg(number) AS number. (ILLEGAL_AGGREGATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48978) (comment: 01764_prefer_column_name_to_alias.sql) (in query: SELECT avg(number) AS number, max(number) FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x0000000037cfea08 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000003a6efd7e in /usr/bin/clickhouse 5. ./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) const @ 0x000000003a6e5d36 in /usr/bin/clickhouse 6. ./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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 in /usr/bin/clickhouse 7. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 11. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:13.806794 [ 15294 ] {a02c091f-304a-4def-a94b-b2ff155604d4} TCPHandler: Code: 184. DB::Exception: Aggregate function avg(number) is found inside another aggregate function in query: While processing avg(number) AS number. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x0000000037cfea08 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000003a6efd7e in /usr/bin/clickhouse 5. ./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) const @ 0x000000003a6e5d36 in /usr/bin/clickhouse 6. ./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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 in /usr/bin/clickhouse 7. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 11. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:13.810473 [ 15296 ] {6944cae6-6b06-44ae-b5a1-6fc364c77c3e} DynamicQueryHandler: Code: 271. DB::Exception: Invalid zero byte count(s): 5 and 1. (CANNOT_DECOMPRESS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned int&, unsigned int&) @ 0x00000000349ace4d in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecFPC.cpp:0: DB::CompressionCodecFPC::doDecompressData(char const*, unsigned int, char*, unsigned int) const @ 0x000000003699efcf in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/ICompressionCodec.cpp:112: DB::ICompressionCodec::decompress(char const*, unsigned int, char*) const @ 0x00000000369b510a in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressedReadBufferBase.cpp:308: DB::CompressedReadBufferBase::decompress(DB::BufferBase::Buffer&, unsigned long, unsigned long) @ 0x0000000036890803 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressedReadBuffer.cpp:0: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x000000003688a8b3 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/ReadBuffer.h:71: DB::(anonymous namespace)::ReadBufferWrapper::nextImpl() @ 0x00000000361e7e77 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/ReadBuffer.h:72: DB::ConcatReadBuffer::nextImpl() @ 0x00000000377e3123 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a991e80 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df68bed in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df75e8e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f3061 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:31:14.035895 [ 15294 ] {68800a36-081b-40bd-90b3-b6edf76806a4} executeQuery: Code: 184. DB::Exception: Aggregate function sum(x) is found inside another aggregate function in query: While processing sum(x) AS x. (ILLEGAL_AGGREGATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48978) (comment: 01764_prefer_column_name_to_alias.sql) (in query: SELECT sum(x) AS x, max(x) FROM (SELECT 1 AS x UNION ALL SELECT 2 AS x) t;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x0000000037cfea08 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000003a6efd7e in /usr/bin/clickhouse 5. ./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) const @ 0x000000003a6e5d36 in /usr/bin/clickhouse 6. ./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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 in /usr/bin/clickhouse 7. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 11. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:14.052846 [ 15294 ] {68800a36-081b-40bd-90b3-b6edf76806a4} TCPHandler: Code: 184. DB::Exception: Aggregate function sum(x) is found inside another aggregate function in query: While processing sum(x) AS x. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x0000000037cfea08 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000003a6efd7e in /usr/bin/clickhouse 5. ./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) const @ 0x000000003a6e5d36 in /usr/bin/clickhouse 6. ./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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 in /usr/bin/clickhouse 7. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 11. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:14.270803 [ 15277 ] {ac236ce4-a648-49b7-9219-da5f8b0760fa} DynamicQueryHandler: Code: 271. DB::Exception: Invalid zero byte count(s): 1 and 6. (CANNOT_DECOMPRESS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned int&, unsigned int&) @ 0x00000000349ace4d in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecFPC.cpp:0: DB::CompressionCodecFPC::doDecompressData(char const*, unsigned int, char*, unsigned int) const @ 0x000000003699efcf in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/ICompressionCodec.cpp:112: DB::ICompressionCodec::decompress(char const*, unsigned int, char*) const @ 0x00000000369b510a in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressedReadBufferBase.cpp:308: DB::CompressedReadBufferBase::decompress(DB::BufferBase::Buffer&, unsigned long, unsigned long) @ 0x0000000036890803 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressedReadBuffer.cpp:0: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x000000003688a8b3 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/ReadBuffer.h:71: DB::(anonymous namespace)::ReadBufferWrapper::nextImpl() @ 0x00000000361e7e77 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/ReadBuffer.h:72: DB::ConcatReadBuffer::nextImpl() @ 0x00000000377e3123 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a991e80 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df68bed in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df75e8e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f3061 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:31:14.295687 [ 15294 ] {4fcb8e2f-2618-4e64-91fe-760e7e3fde11} executeQuery: Code: 184. DB::Exception: Aggregate function sum(C1) is found inside another aggregate function in query: While processing sum(C1) AS C1. (ILLEGAL_AGGREGATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48978) (comment: 01764_prefer_column_name_to_alias.sql) (in query: select sum(C1) as C1, count(C1) as C2 from (select number as C1 from numbers(3)) as ITBL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x0000000037cfea08 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000003a6efd7e in /usr/bin/clickhouse 5. ./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) const @ 0x000000003a6e5d36 in /usr/bin/clickhouse 6. ./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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 in /usr/bin/clickhouse 7. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 11. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:14.311048 [ 15294 ] {4fcb8e2f-2618-4e64-91fe-760e7e3fde11} TCPHandler: Code: 184. DB::Exception: Aggregate function sum(C1) is found inside another aggregate function in query: While processing sum(C1) AS C1. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x0000000037cfea08 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000003a6efd7e in /usr/bin/clickhouse 5. ./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) const @ 0x000000003a6e5d36 in /usr/bin/clickhouse 6. ./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)::$_0::operator()(bool) const @ 0x0000000039b1fba1 in /usr/bin/clickhouse 7. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 11. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:18.081570 [ 9255 ] {a9b2f798-9303-448f-ad3f-7a1e0fdd04bc} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(x, 1500000) :: 4) -> throwIf(equals(x, 1500000)) UInt8 : 3'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49044) (comment: 00995_exception_while_insert.sh) (in query: INSERT INTO check(x) FORMAT TSV), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d115203 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:41: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000003eb89746 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x000000003e227c76 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:0: DB::PushingPipelineExecutor::push(DB::Block) @ 0x000000003e227f54 in /usr/bin/clickhouse 18. ./build_docker/./src/Core/Block.h:35: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7889 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 26. ? @ 0x00007fc6eb378a83 in ? 27. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:18.216522 [ 9255 ] {a9b2f798-9303-448f-ad3f-7a1e0fdd04bc} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(x, 1500000) :: 4) -> throwIf(equals(x, 1500000)) UInt8 : 3'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001d115203 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000093a60b8 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a36fd in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352a5605 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000352ab9b1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:124: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000037c3f241 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:41: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000003eb89746 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x000000003e227c76 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:0: DB::PushingPipelineExecutor::push(DB::Block) @ 0x000000003e227f54 in /usr/bin/clickhouse 18. ./build_docker/./src/Core/Block.h:35: DB::TCPHandler::processInsertQuery() @ 0x000000003e0a7889 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e017 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 26. ? @ 0x00007fc6eb378a83 in ? 27. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:19.015226 [ 9255 ] {} TCPHandler: Code: 101. DB::NetException: Unexpected packet Data received from client. (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::NetException::NetException(int, char const (&) [44]) @ 0x000000003e0dcab6 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:1848: DB::TCPHandler::receiveUnexpectedData(bool) @ 0x000000003e0cab1b in /usr/bin/clickhouse 4. ./build_docker/./src/Server/TCPHandler.cpp:1453: DB::TCPHandler::receivePacket() @ 0x000000003e0a52a4 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08c26e in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 12. ? @ 0x00007fc6eb378a83 in ? 13. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:23.446533 [ 15297 ] {5d85f7c1-01df-4cff-8787-e9dd5a01f548} executeQuery: Code: 36. DB::Exception: Wrong index name. Cannot find index `test_indes` to drop, may be you meant: ['test_index']. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58282) (comment: 02225_hints_for_indeices.sh) (in query: ALTER TABLE t DROP INDEX test_indes), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000eff0a35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:555: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b8fa782 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b902e09 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ceb5242 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0433 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:23.462235 [ 15297 ] {5d85f7c1-01df-4cff-8787-e9dd5a01f548} TCPHandler: Code: 36. DB::Exception: Wrong index name. Cannot find index `test_indes` to drop, may be you meant: ['test_index']. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000eff0a35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:555: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b8fa782 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b902e09 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ceb5242 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0433 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:24.858621 [ 15297 ] {579b0d3c-90b2-45fd-a18b-58c32036c17f} executeQuery: Code: 36. DB::Exception: Wrong index name. Cannot find index `test_indes` to insert after, may be you meant: ['test_index']. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58316) (comment: 02225_hints_for_indeices.sh) (in query: ALTER TABLE t ADD INDEX test_index1 n TYPE minmax GRANULARITY 4 AFTER test_indes), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000eff0a35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:528: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b8fa600 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b902e09 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ceb5242 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0433 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:24.878082 [ 12870 ] {393fd360-6751-433f-b590-fdc32a52e759} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1245184 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38212) (comment: 00159_parallel_formatting_csv_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c Format CSVWithNames), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/memcpySmall.h:40: DB::ColumnFixedString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b06a248 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:44: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003efbe15d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eed0553 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8e96 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:25.194220 [ 2240 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} WriteBufferFromS3: WriteBufferFromS3 was neither finished nor aborted, try to abort upload in destructor. Details: bucket test, key common/iig/ltnlpzebxwqymdhbbkbzcuujapjwc, total size 122841576, count 122841576, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LmU2NTU5OTJlLWUwNmQtNGIyMi05NTJjLTI2NjVjMDBlMGNjMXgxNzkzMTI1Nzg0MTY1Njg1Njgw, upload has finished false. 2026.10.27 19:31:25.194368 [ 2240 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} WriteBufferFromS3: Abort multipart upload. Details: bucket test, key common/iig/ltnlpzebxwqymdhbbkbzcuujapjwc, total size 122841576, count 122841576, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LmU2NTU5OTJlLWUwNmQtNGIyMi05NTJjLTI2NjVjMDBlMGNjMXgxNzkzMTI1Nzg0MTY1Njg1Njgw, upload has finished false 2026.10.27 19:31:25.203436 [ 2240 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} WriteBufferFromS3: Multipart upload has aborted successfully. Details: bucket test, key common/iig/ltnlpzebxwqymdhbbkbzcuujapjwc, total size 122841576, count 122841576, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LmU2NTU5OTJlLWUwNmQtNGIyMi05NTJjLTI2NjVjMDBlMGNjMXgxNzkzMTI1Nzg0MTY1Njg1Njgw, upload has finished false 2026.10.27 19:31:25.224702 [ 2240 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} WriteBufferFromS3: WriteBufferFromS3 was neither finished nor aborted, try to abort upload in destructor. Details: bucket test, key common/uqd/tlhzqulzvqadjcwiolidbpngimmcy, total size 44069185, count 44069185, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LmY0NjFmOWViLTQyNTctNDQwYi1iNWRjLWRmODRkMjY2ODViY3gxNzkzMTI1ODM2Njk3NzQ0NTIz, upload has finished false. 2026.10.27 19:31:25.224981 [ 2240 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} WriteBufferFromS3: Abort multipart upload. Details: bucket test, key common/uqd/tlhzqulzvqadjcwiolidbpngimmcy, total size 44069185, count 44069185, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LmY0NjFmOWViLTQyNTctNDQwYi1iNWRjLWRmODRkMjY2ODViY3gxNzkzMTI1ODM2Njk3NzQ0NTIz, upload has finished false 2026.10.27 19:31:25.231725 [ 2240 ] {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1} WriteBufferFromS3: Multipart upload has aborted successfully. Details: bucket test, key common/uqd/tlhzqulzvqadjcwiolidbpngimmcy, total size 44069185, count 44069185, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LmY0NjFmOWViLTQyNTctNDQwYi1iNWRjLWRmODRkMjY2ODViY3gxNzkzMTI1ODM2Njk3NzQ0NTIz, upload has finished false 2026.10.27 19:31:25.908496 [ 12855 ] {a564710a-bac1-4ecd-9e27-e696279eec75} executeQuery: Code: 277. DB::Exception: Primary key (v) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58226) (comment: 02462_match_regexp_pk.sql) (in query: SELECT count() FROM mt_match_pk WHERE match(v, '^a$|^b');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000003bcc6c6d in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1446: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1c1bb6 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1b861f in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1b76f0 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1d1128 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d7faf in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:26.944934 [ 15297 ] {579b0d3c-90b2-45fd-a18b-58c32036c17f} TCPHandler: Code: 36. DB::Exception: Wrong index name. Cannot find index `test_indes` to insert after, may be you meant: ['test_index']. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000eff0a35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:528: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b8fa600 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000003b902e09 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000003ceb5242 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000395e0433 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x00000000395d7624 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 17. ? @ 0x00007fc6eb378a83 in ? 18. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:26.945186 [ 12855 ] {a564710a-bac1-4ecd-9e27-e696279eec75} TCPHandler: Code: 277. DB::Exception: Primary key (v) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000003bcc6c6d in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1446: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1c1bb6 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000003f1b861f in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000003f1b76f0 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000003f1d1128 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d7faf in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 20. ? @ 0x00007fc6eb378a83 in ? 21. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:26.945565 [ 2238 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_1_134_9}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 2089086 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedColumnOnlyOutputStream.cpp:35: DB::MergedColumnOnlyOutputStream::MergedColumnOnlyOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::vector, std::allocator>> const&, std::set, std::allocator>*, DB::MergeTreeIndexGranularity const&, DB::MergeTreeIndexGranularityInfo const*) @ 0x000000003d65e40c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTask::VerticalMergeStage::prepareVerticalMergeForOneColumn() const @ 0x000000003cdc1400 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde678 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::VerticalMergeStage::execute() @ 0x000000003cdcadee in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:31:26.945677 [ 2240 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1114112 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (while reading column EndURL): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_8_8_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 9 with max_rows_to_read = 6867): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff7b72 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:612: DB::MergeTask::VerticalMergeStage::executeVerticalMergeForOneColumn() const @ 0x000000003cdc2b1f in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:842: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde698 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::VerticalMergeStage::execute() @ 0x000000003cdcadee in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 30. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:31:26.947182 [ 2233 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_135_140_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.32 GiB (attempt to allocate chunk of 1102815 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:31:27.341668 [ 2237 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {87d63275-efc8-41cf-b773-50c08a335cb1::202610_1_84_17}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/SerializationArray.cpp:251: DB::SerializationArray::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036ebbf8d in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:31:33.476195 [ 12870 ] {393fd360-6751-433f-b590-fdc32a52e759} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1245184 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/memcpySmall.h:40: DB::ColumnFixedString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b06a248 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:44: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003efbe15d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eed0553 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8e96 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:38.595179 [ 12855 ] {df54e8f3-73ed-48fc-af33-9e38c5c172de} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 6.06 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49744) (comment: 00155_long_merges.sh) (in query: INSERT INTO aggregating_00155 (d, x, s) SELECT today() AS d, number AS x, sumState(materialize(toUInt64(1))) AS s FROM (SELECT number FROM system.numbers LIMIT 8191) GROUP BY number), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:289: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d651ad1 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1de0ed in /usr/bin/clickhouse 2026.10.27 19:31:38.624865 [ 12855 ] {df54e8f3-73ed-48fc-af33-9e38c5c172de} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 6.06 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:289: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d651ad1 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1de0ed in /usr/bin/clickhouse 2026.10.27 19:31:47.107659 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 4224703 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d102e0d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a483e53 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a481142 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2fca7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c2fb7f in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:31:47.748124 [ 6141 ] {4826d824-9f15-44b2-8d7f-58ab807e3d31} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1277952 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48994) (comment: 00159_parallel_formatting_json_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c LIMIT 3000000 Format JSONCompactStringsEachRowWithNamesAndTypes), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnFixedString.cpp:214: DB::ColumnFixedString::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x000000003b06fbcc in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::Chunk::append(DB::Chunk const&, unsigned long, unsigned long) @ 0x000000003e18f049 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Cache/QueryCache.cpp:0: DB::QueryCache::Writer::finalizeWrite() @ 0x000000003aadebe0 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/StreamInQueryCacheTransform.cpp:25: DB::StreamInQueryCacheTransform::finalizeWriteInQueryCache() @ 0x000000003ed1cf0c in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/QueryPipeline.cpp:619: DB::QueryPipeline::finalizeWriteInQueryCache() @ 0x0000000036a0cf31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: void std::__function::__policy_invoker::__call_impl, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*)::$_1, void (DB::QueryPipeline&)>>(std::__function::__policy_storage const*, DB::QueryPipeline&) @ 0x000000003a9a033c in /usr/bin/clickhouse 16. ./build_docker/./src/QueryPipeline/BlockIO.cpp:59: DB::BlockIO::onFinish() @ 0x00000000369bdf19 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e0c0 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:47.761767 [ 9250 ] {561bd1fc-7c59-4e2e-acd5-38b79d57a476} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 2035773 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49824) (comment: 00155_long_merges.sh) (in query: OPTIMIZE TABLE summing_00155), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:269: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d650d45 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePart(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d649640 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::MergeTask::MergeProjectionsStage::finalizeProjectionsAndWholeMerge() const @ 0x000000003cdcaadc in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cddedbf in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::MergeProjectionsStage::execute() @ 0x000000003cdcaeae in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.h:104: DB::StorageMergeTree::merge(bool, String const&, bool, bool, std::vector> const&, bool, std::shared_ptr const&, String&, bool) @ 0x000000003da2690f in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/StorageMergeTree.cpp:1548: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000003da3b05a in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039ad3694 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 2026.10.27 19:31:47.775135 [ 9250 ] {561bd1fc-7c59-4e2e-acd5-38b79d57a476} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 2035773 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:269: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d650d45 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePart(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d649640 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::MergeTask::MergeProjectionsStage::finalizeProjectionsAndWholeMerge() const @ 0x000000003cdcaadc in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cddedbf in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::MergeProjectionsStage::execute() @ 0x000000003cdcaeae in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.h:104: DB::StorageMergeTree::merge(bool, String const&, bool, bool, std::vector> const&, bool, std::shared_ptr const&, String&, bool) @ 0x000000003da2690f in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/StorageMergeTree.cpp:1548: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000003da3b05a in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterOptimizeQuery::execute() @ 0x0000000039ad3694 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 2026.10.27 19:31:47.842500 [ 2235 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78f638d5-1538-4f74-a202-7a1eb8a2fda0::202610_1_105_21}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1927840 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePart(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d649640 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::MergeTask::MergeProjectionsStage::finalizeProjectionsAndWholeMerge() const @ 0x000000003cdcaadc in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cddedbf in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::MergeProjectionsStage::execute() @ 0x000000003cdcaeae in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:31:49.722361 [ 15297 ] {e14cbf99-7a10-49f5-b1fd-c6bd8ac0be4a::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2026.10.27 19:31:49.722443 [ 15297 ] {e14cbf99-7a10-49f5-b1fd-c6bd8ac0be4a::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2026.10.27 19:31:49.722483 [ 15297 ] {e14cbf99-7a10-49f5-b1fd-c6bd8ac0be4a::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2026.10.27 19:31:49.722531 [ 15297 ] {e14cbf99-7a10-49f5-b1fd-c6bd8ac0be4a::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2026.10.27 19:31:49.722570 [ 15297 ] {e14cbf99-7a10-49f5-b1fd-c6bd8ac0be4a::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2026.10.27 19:31:49.722609 [ 15297 ] {e14cbf99-7a10-49f5-b1fd-c6bd8ac0be4a::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2026.10.27 19:31:49.722648 [ 15297 ] {e14cbf99-7a10-49f5-b1fd-c6bd8ac0be4a::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2026.10.27 19:31:49.722693 [ 15297 ] {e14cbf99-7a10-49f5-b1fd-c6bd8ac0be4a::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2026.10.27 19:31:49.722732 [ 15297 ] {e14cbf99-7a10-49f5-b1fd-c6bd8ac0be4a::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2026.10.27 19:31:49.722772 [ 15297 ] {e14cbf99-7a10-49f5-b1fd-c6bd8ac0be4a::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2026.10.27 19:31:49.799304 [ 2247 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 8609855 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x00000000209e2844 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromS3::reallocateFirstBuffer() @ 0x00000000361edabc in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:126: DB::WriteBufferFromS3::nextImpl() @ 0x00000000361ec8a2 in /usr/bin/clickhouse 12. ./build_docker/./src/IO/WriteBuffer.h:60: DB::CachedOnDiskWriteBufferFromFile::nextImpl() @ 0x000000003584744a in /usr/bin/clickhouse 13. ./build_docker/./src/IO/WriteBuffer.h:60: DB::WriteBufferFromFileDecorator::nextImpl() @ 0x000000003584b666 in /usr/bin/clickhouse 14. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HashingWriteBuffer::nextImpl() @ 0x000000003cb90e85 in /usr/bin/clickhouse 15. DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000941dcac in /usr/bin/clickhouse 16. ./build_docker/./src/Compression/CompressedWriteBuffer.cpp:58: DB::CompressedWriteBuffer::nextImpl() @ 0x0000000036895c79 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HashingWriteBuffer::nextImpl() @ 0x000000003cb90e85 in /usr/bin/clickhouse 18. ./build_docker/./src/IO/WriteBuffer.h:60: void std::__function::__policy_invoker::__call_impl, std::allocator>&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d158779 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::getCurrentMarksForColumn(DB::NameAndTypePair const&, std::set, std::allocator>&) @ 0x000000003d14d4d0 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::writeColumn(DB::NameAndTypePair const&, DB::IColumn const&, std::set, std::allocator>&, std::vector> const&) @ 0x000000003d148dd2 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:251: DB::MergeTreeDataPartWriterWide::write(DB::Block const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000003d14255b in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:327: DB::MergedBlockOutputStream::write(DB::Block const&) @ 0x000000003d648a09 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbbb02 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:31:49.800908 [ 2349 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::SessionLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.35 GiB (attempt to allocate chunk of 4209938 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:269: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d650d45 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a44c253 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:31:51.069221 [ 6141 ] {4826d824-9f15-44b2-8d7f-58ab807e3d31} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1277952 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f678 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnFixedString.cpp:214: DB::ColumnFixedString::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x000000003b06fbcc in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::Chunk::append(DB::Chunk const&, unsigned long, unsigned long) @ 0x000000003e18f049 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Cache/QueryCache.cpp:0: DB::QueryCache::Writer::finalizeWrite() @ 0x000000003aadebe0 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/StreamInQueryCacheTransform.cpp:25: DB::StreamInQueryCacheTransform::finalizeWriteInQueryCache() @ 0x000000003ed1cf0c in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/QueryPipeline.cpp:619: DB::QueryPipeline::finalizeWriteInQueryCache() @ 0x0000000036a0cf31 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: void std::__function::__policy_invoker::__call_impl, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*)::$_1, void (DB::QueryPipeline&)>>(std::__function::__policy_storage const*, DB::QueryPipeline&) @ 0x000000003a9a033c in /usr/bin/clickhouse 16. ./build_docker/./src/QueryPipeline/BlockIO.cpp:59: DB::BlockIO::onFinish() @ 0x00000000369bdf19 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08e0c0 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:52.847710 [ 2289 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::MetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 4198715 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:297: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d65200a in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3dc813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:31:53.007384 [ 2232 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1114301 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:31:53.112257 [ 2350 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::AsynchronousMetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 4198715 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:281: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d6516b7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3b72d3 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:31:53.148421 [ 2237 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_1_140_9}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 2067574 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 24. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 25. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergedColumnOnlyOutputStream.cpp:35: DB::MergedColumnOnlyOutputStream::MergedColumnOnlyOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::vector, std::allocator>> const&, std::set, std::allocator>*, DB::MergeTreeIndexGranularity const&, DB::MergeTreeIndexGranularityInfo const*) @ 0x000000003d65e40c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTask::VerticalMergeStage::prepareVerticalMergeForOneColumn() const @ 0x000000003cdc1400 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde678 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::VerticalMergeStage::execute() @ 0x000000003cdcadee in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:31:53.159125 [ 2292 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::PartLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.47 GiB (attempt to allocate chunk of 4231678 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a401a53 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3fed42 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c27d07 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:31:54.296304 [ 15283 ] {9dd8cde2-39dc-4e1b-b61b-127dd691ac2a} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.43 GiB (attempt to allocate chunk of 1179648 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39150) (comment: 00146_aggregate_function_uniq.sql) (in query: SELECT abs(uniq(WatchID) - uniqExact(WatchID)) FROM test.hits;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState>, HashCRC32, TwoLevelHashTableGrower<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x0000000028f55b98 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/HashTable.h:0: DB::AggregateFunctionUniq>::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000028f43c65 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x000000003804e72f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:1586: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0047 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:54.296864 [ 2296 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::QueryLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 4247229 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:31:54.296884 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.45 GiB (attempt to allocate chunk of 4196905 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x0000000009415a91 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/PODArray.h:0: DB::ColumnVector::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b2a1d85 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:0: DB::MergeTreeDataPartWriterOnDisk::calculateAndSerializePrimaryIndex(DB::Block const&, std::vector> const&) @ 0x000000003d131459 in /usr/bin/clickhouse 10. ./build_docker/./src/Core/Block.h:25: DB::MergeTreeDataPartWriterCompact::writeDataBlockPrimaryIndexAndSkipIndices(DB::Block const&, std::vector> const&) @ 0x000000003d106fd5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::MergeTreeDataPartWriterCompact::fillDataChecksums(DB::MergeTreeDataPartChecksums&) @ 0x000000003d10a475 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:422: DB::MergeTreeDataPartWriterCompact::fillChecksums(DB::MergeTreeDataPartChecksums&) @ 0x000000003d10ccc5 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d649a07 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3ef053 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3ec532 in /usr/bin/clickhouse 27. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c26a87 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c2695f in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 31. ? @ 0x00007fc6eb378a83 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:31:54.297058 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.42 GiB (attempt to allocate chunk of 4559909 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:31:58.418975 [ 15300 ] {a20dff79-c242-4059-ae67-d81d0a1b28b6} executeQuery: Code: 48. DB::Exception: Method getDataAt is not supported for Array(Nullable(UInt8)): While executing AggregatingTransform. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55472) (comment: 02419_contingency_array_nullable.sql) (in query: SELECT contingency(1, [1, NULL]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Columns/ColumnArray.cpp:163: DB::ColumnArray::getDataAt(unsigned long) const @ 0x000000003ac7f4f9 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/UniqVariadicHash.h:49: DB::AggregateFunctionCrossTab::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000029dded48 in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/IAggregateFunction.h:541: DB::IAggregateFunctionHelper>::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000029ddfd21 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x000000003804e72f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:1586: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0047 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:58.696096 [ 15300 ] {a20dff79-c242-4059-ae67-d81d0a1b28b6} TCPHandler: Code: 48. DB::Exception: Method getDataAt is not supported for Array(Nullable(UInt8)): While executing AggregatingTransform. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000093a4395 in /usr/bin/clickhouse 3. ./build_docker/./src/Columns/ColumnArray.cpp:163: DB::ColumnArray::getDataAt(unsigned long) const @ 0x000000003ac7f4f9 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/UniqVariadicHash.h:49: DB::AggregateFunctionCrossTab::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000029dded48 in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/IAggregateFunction.h:541: DB::IAggregateFunctionHelper>::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000029ddfd21 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x000000003804e72f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:1586: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0047 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:31:58.702356 [ 15283 ] {9dd8cde2-39dc-4e1b-b61b-127dd691ac2a} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.43 GiB (attempt to allocate chunk of 1179648 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000002078cc97 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState>, HashCRC32, TwoLevelHashTableGrower<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x0000000028f55b98 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/HashTable/HashTable.h:0: DB::AggregateFunctionUniq>::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000028f43c65 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x000000003804e72f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:1586: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000037dd0047 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000003eb01700 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::work() @ 0x000000003eaf7f48 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:32:18.227015 [ 2349 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::SessionLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.74 GiB (attempt to allocate chunk of 4200758 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:269: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d650d45 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a44c253 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:32:18.227066 [ 15287 ] {a1a9577f-7351-415d-93dd-d041ed04d041} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.79 GiB (attempt to allocate chunk of 3145728 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: (while reading column EventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 303104): While executing MergeTreeInOrder. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46748) (comment: 00157_cache_dictionary.sql) (in query: INSERT INTO test.hits_1m SELECT * FROM test.hits LIMIT 1000000;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1de0ed in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:32:19.135018 [ 2289 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::MetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.84 GiB (attempt to allocate chunk of 5164865 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:32:19.847085 [ 2239 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.95 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 11. ./build_docker/./src/IO/ReadBufferFromFileDescriptor.h:51: DB::ReadBufferFromFile::ReadBufferFromFile(int&, String const&, unsigned long, char*, unsigned long, std::optional, std::shared_ptr) @ 0x0000000020983857 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/IO/WriteBufferFromTemporaryFile.cpp:0: DB::ReadBufferFromTemporaryWriteBuffer::createFrom(DB::WriteBufferFromTemporaryFile*) @ 0x00000000372547da in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/IO/WriteBufferFromTemporaryFile.cpp:51: non-virtual thunk to DB::WriteBufferFromTemporaryFile::getReadBufferImpl() @ 0x00000000372542cb in /usr/bin/clickhouse 14. ./build_docker/./src/IO/IReadableWriteBuffer.h:17: DB::MergeTask::VerticalMergeStage::prepareVerticalMergeForAllColumns() const @ 0x000000003cdbd3ee in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde55f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::VerticalMergeStage::execute() @ 0x000000003cdcadee in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 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, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 27. ? @ 0x00007fc6eb378a83 in ? 28. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:32:19.847108 [ 2231 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {87d63275-efc8-41cf-b773-50c08a335cb1::202610_1_87_18}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.73 GiB (attempt to allocate chunk of 1114301 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x000000003d124ec2 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x000000003d15ee8b in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d156ce3 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 23. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 24. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d140043 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:0: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13fb80 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:32:19.848885 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.65 GiB (attempt to allocate chunk of 5172289 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:32:21.641625 [ 2233 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_87_107_4}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.95 GiB (attempt to allocate chunk of 1141568 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x000000000a7fa3cd in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:0: DB::ColumnVector::insert(DB::Field const&) @ 0x000000003b27c202 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnLowCardinality.cpp:0: DB::ColumnLowCardinality::insert(DB::Field const&) @ 0x000000003b0c4552 in /usr/bin/clickhouse 12. ./build_docker/./src/Columns/ColumnTuple.cpp:146: DB::ColumnTuple::insert(DB::Field const&) @ 0x000000003b2318e0 in /usr/bin/clickhouse 13. ./build_docker/./src/Columns/ColumnArray.cpp:0: DB::ColumnArray::insert(DB::Field const&) @ 0x000000003ac8246d in /usr/bin/clickhouse 14. ./build_docker/./src/Columns/ColumnMap.cpp:0: DB::ColumnMap::insert(DB::Field const&) @ 0x000000003b120bda in /usr/bin/clickhouse 15. ./build_docker/./src/Columns/IColumn.cpp:0: DB::IColumn::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b8b6163 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:33: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeImpl>(DB::SortingQueueImpl&) @ 0x000000003ef506a5 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eecf7d3 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Merges/Algorithms/MergingSortedAlgorithm.cpp:133: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8f8e in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:32:24.454996 [ 15287 ] {a1a9577f-7351-415d-93dd-d041ed04d041} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.79 GiB (attempt to allocate chunk of 3145728 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: (while reading column EventTime): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 303104): While executing MergeTreeInOrder. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<4ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093a8507 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f80fe7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1de0ed in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 29. ? @ 0x00007fc6eb378a83 in ? 30. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:32:24.455096 [ 15274 ] {57b23b83-a93d-47db-9856-e31f39f53db2} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'input' of function encrypt, expected plaintext, got Array(Nullable(Int16)): While processing encrypt('aes-128-ecb', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59362) (comment: 01667_aes_args_check.sql) (in query: SELECT encrypt('aes-128-ecb', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::FunctionEncrypt<(anonymous namespace)::EncryptImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000fb9748a in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:32:24.462030 [ 15274 ] {57b23b83-a93d-47db-9856-e31f39f53db2} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'input' of function encrypt, expected plaintext, got Array(Nullable(Int16)): While processing encrypt('aes-128-ecb', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x00000000352d8922 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x00000000352d2185 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x00000000352cf8e7 in /usr/bin/clickhouse 5. DB::FunctionEncrypt<(anonymous namespace)::EncryptImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000fb9748a in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x00000000093a1f9f in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000352ae8ad in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x00000000352add4a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x00000000352af9ad in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000374bbf15 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d2bc2c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000037d5c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d33627 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d275 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d4ce9c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000037d2d3e1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000037d0bf95 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000037c924ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000037cbba7a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000037ccf230 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000039b411eb in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: 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)::$_0::operator()(bool) const @ 0x0000000039b264e1 in /usr/bin/clickhouse 23. ./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) @ 0x0000000039b12212 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 27. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 2026.10.27 19:32:39.718595 [ 9278 ] {59942e55-6de9-4ed1-9b7f-21d4a59a4ce2::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2026.10.27 19:32:39.718671 [ 9278 ] {59942e55-6de9-4ed1-9b7f-21d4a59a4ce2::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2026.10.27 19:32:39.718710 [ 9278 ] {59942e55-6de9-4ed1-9b7f-21d4a59a4ce2::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2026.10.27 19:32:39.718748 [ 9278 ] {59942e55-6de9-4ed1-9b7f-21d4a59a4ce2::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2026.10.27 19:32:39.718787 [ 9278 ] {59942e55-6de9-4ed1-9b7f-21d4a59a4ce2::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2026.10.27 19:32:39.718825 [ 9278 ] {59942e55-6de9-4ed1-9b7f-21d4a59a4ce2::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2026.10.27 19:32:39.718865 [ 9278 ] {59942e55-6de9-4ed1-9b7f-21d4a59a4ce2::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2026.10.27 19:32:39.718925 [ 9278 ] {59942e55-6de9-4ed1-9b7f-21d4a59a4ce2::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2026.10.27 19:32:39.718967 [ 9278 ] {59942e55-6de9-4ed1-9b7f-21d4a59a4ce2::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2026.10.27 19:32:39.719005 [ 9278 ] {59942e55-6de9-4ed1-9b7f-21d4a59a4ce2::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2026.10.27 19:32:42.468281 [ 6141 ] {29669c21-da6c-43b6-b701-25fabb21abe9} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1061916 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergeSortingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35326) (comment: 00159_parallel_formatting_csv_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c Format CSV), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnString.h:147: DB::ColumnString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b1c2d7d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:113: DB::Chunk DB::MergeSorter::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003ed117f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003ec34cf3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergeSorter::read() @ 0x000000003ec1cfa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/MergeSortingTransform.cpp:236: DB::MergeSortingTransform::generate() @ 0x000000003ebf1521 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:354: DB::SortingTransform::work() @ 0x000000003ec2d564 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:32:46.430689 [ 2234 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_83_14}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.56 GiB (attempt to allocate chunk of 1048694 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (while reading from part /var/lib/clickhouse/disks/s3/store/fea/feaf80ee-033f-41d0-9cd0-e84981437f13/202610_79_79_0/ in table system.metric_log (feaf80ee-033f-41d0-9cd0-e84981437f13) located on disk s3 of type s3, from mark 0 with max_rows_to_read = 11): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f96227 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeReaderCompact::readData(DB::NameAndTypePair const&, COW::immutable_ptr&, unsigned long, unsigned long, unsigned long, unsigned long, std::optional>) @ 0x000000003d45c381 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d45a13b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:32:52.388906 [ 6141 ] {29669c21-da6c-43b6-b701-25fabb21abe9} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1061916 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergeSortingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnString.h:147: DB::ColumnString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b1c2d7d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:113: DB::Chunk DB::MergeSorter::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003ed117f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003ec34cf3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergeSorter::read() @ 0x000000003ec1cfa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/MergeSortingTransform.cpp:236: DB::MergeSortingTransform::generate() @ 0x000000003ebf1521 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:354: DB::SortingTransform::work() @ 0x000000003ec2d564 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 24. ? @ 0x00007fc6eb378a83 in ? 25. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:33:00.147533 [ 15297 ] {31a6bbb9-cdf4-4c3c-924d-e6ef3cd64fdc} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00, current rows: 10.00. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49018) (comment: 02200_use_skip_indexes.sql) (in query: SELECT * FROM data_02200 WHERE value = 1 SETTINGS use_skip_indexes=0, max_rows_to_read=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:33:00.149044 [ 15297 ] {31a6bbb9-cdf4-4c3c-924d-e6ef3cd64fdc} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00, current rows: 10.00. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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*&, String&&, String&&) @ 0x0000000036aacf42 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000036aac675 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000036aacacc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1d8384 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:0: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000003f0f5c23 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000003f1504d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73e5b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:33:08.184182 [ 6141 ] {b51bcd99-4212-4605-b3d8-12c5de048882} executeQuery: Code: 81. DB::Exception: Database INFORMATION_schema does not exist. Maybe you meant INFORMATION_SCHEMA?. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58860) (comment: 01161_information_schema.sql) (in query: SELECT count() FROM INFORMATION_schema.tables WHERE table_schema=currentDatabase() AND table_name = 't';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:654: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ac557f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:4185: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x00000000378e2d8c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e4f95a in /usr/bin/clickhouse 6. ./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) @ 0x0000000039b09f73 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 10. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:33:08.185974 [ 6141 ] {b51bcd99-4212-4605-b3d8-12c5de048882} TCPHandler: Code: 81. DB::Exception: Database INFORMATION_schema does not exist. Maybe you meant INFORMATION_SCHEMA?. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000093a9715 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:654: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x0000000037ac557f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:4185: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x00000000378e2d8c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e4f95a in /usr/bin/clickhouse 6. ./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) @ 0x0000000039b09f73 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 10. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:33:08.203040 [ 6141 ] {1dbc5dbe-b973-48e7-b15d-1040e3831d87} executeQuery: Code: 60. DB::Exception: Table information_schema.taBLES does not exist. Maybe you meant TABLES?. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58860) (comment: 01161_information_schema.sql) (in query: SELECT count() FROM information_schema.taBLES WHERE table_schema=currentDatabase() AND table_name = 't';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000945c47e in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000371e7313 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ab8ee2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037acb963 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e50b18 in /usr/bin/clickhouse 7. ./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) @ 0x0000000039b09f73 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 11. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:33:08.204711 [ 6141 ] {1dbc5dbe-b973-48e7-b15d-1040e3831d87} TCPHandler: Code: 60. DB::Exception: Table information_schema.taBLES does not exist. Maybe you meant TABLES?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000945c47e in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000371e7313 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x0000000037ab8ee2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:927: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x0000000037acb963 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000039e50b18 in /usr/bin/clickhouse 7. ./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) @ 0x0000000039b09f73 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039b05807 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000039d6d3b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000039d67eee in /usr/bin/clickhouse 11. ./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&) @ 0x0000000039a24d55 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x0000000039a218ca in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a987217 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 22. ? @ 0x00007fc6eb378a83 in ? 23. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:33:13.133504 [ 15295 ] {16af3f50-714e-461d-a5c7-fd25eb29eaed} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.53 GiB (attempt to allocate chunk of 1097728 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergeSortingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33710) (comment: 00159_parallel_formatting_csv_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c Format CSV), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::ColumnString::reserve(unsigned long) @ 0x000000003b1a9e00 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::Chunk DB::MergeSorter::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003ed113f9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003ec34cf3 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergeSorter::read() @ 0x000000003ec1cfa8 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergeSortingTransform.cpp:236: DB::MergeSortingTransform::generate() @ 0x000000003ebf1521 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:354: DB::SortingTransform::work() @ 0x000000003ec2d564 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:33:14.133602 [ 2296 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::QueryLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.53 GiB (attempt to allocate chunk of 4198715 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:289: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d651ad1 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a414433 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:14.135143 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 5091068 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:14.135227 [ 2349 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::SessionLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.54 GiB (attempt to allocate chunk of 4213181 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:16.207646 [ 2024 ] {} void DB::StorageBuffer::backgroundFlush(): Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.47 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:102: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000209f9c0d in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000020c57d03 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x00000000372484a3 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/DiskLocal.cpp:0: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x00000000372315bb in /usr/bin/clickhouse 14. ./build_docker/./src/Common/FileChecker.cpp:0: DB::FileChecker::save() const @ 0x000000003be0fc4c in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/StorageLog.cpp:728: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000003c5c3454 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000003c5b0d8a in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/StorageLog.cpp:0: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000003c59ad55 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003eda6da5 in /usr/bin/clickhouse 19. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039a9478b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x0000000039a93326 in /usr/bin/clickhouse 21. ./build_docker/./src/QueryPipeline/Chain.h:21: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000003eda0d0d in /usr/bin/clickhouse 22. ./build_docker/./src/Core/Block.h:37: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000039a9478b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000039a9e7ee in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/StorageBuffer.cpp:0: DB::StorageBuffer::writeBlockToDestination(DB::Block const&, std::shared_ptr) @ 0x000000003c60f7d1 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/StorageBuffer.cpp:889: DB::StorageBuffer::flushBuffer(DB::StorageBuffer::Buffer&, bool, bool) @ 0x000000003c607440 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::StorageBuffer::backgroundFlush() @ 0x000000003c611f84 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, unsigned long, DB::StorageBuffer::Thresholds const&, DB::StorageBuffer::Thresholds const&, DB::StorageBuffer::Thresholds const&, DB::StorageID const&, bool)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x000000003c61665f in /usr/bin/clickhouse 28. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 30. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:16.207805 [ 2241 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78f638d5-1538-4f74-a202-7a1eb8a2fda0::202610_1_116_23}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.48 GiB (attempt to allocate chunk of 1989801 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePart(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d649640 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::MergeTask::MergeProjectionsStage::finalizeProjectionsAndWholeMerge() const @ 0x000000003cdcaadc in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cddedbf in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::MergeProjectionsStage::execute() @ 0x000000003cdcaeae in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:16.207860 [ 15295 ] {16af3f50-714e-461d-a5c7-fd25eb29eaed} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.53 GiB (attempt to allocate chunk of 1097728 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing MergeSortingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::ColumnString::reserve(unsigned long) @ 0x000000003b1a9e00 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::Chunk DB::MergeSorter::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003ed113f9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003ec34cf3 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergeSorter::read() @ 0x000000003ec1cfa8 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/MergeSortingTransform.cpp:236: DB::MergeSortingTransform::generate() @ 0x000000003ebf1521 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/SortingTransform.cpp:354: DB::SortingTransform::work() @ 0x000000003ec2d564 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 23. ? @ 0x00007fc6eb378a83 in ? 24. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:33:16.208139 [ 2237 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_87_112_5}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.48 GiB (attempt to allocate chunk of 1441504 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 9. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000940f609 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnString.h:147: DB::ColumnString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b1c2d7d in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:33: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeImpl>(DB::SortingQueueImpl&) @ 0x000000003ef506a5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)0>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eecf7d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Merges/Algorithms/MergingSortedAlgorithm.cpp:133: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8f8e in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 29. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:16.208484 [ 2236 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.52 GiB (attempt to allocate chunk of 1048667 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (while reading column Referer): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_6_6_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 6826): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::ReadBufferFromFileBase::ReadBufferFromFileBase(unsigned long, char*, unsigned long, std::optional) @ 0x00000000209856af in /usr/bin/clickhouse 11. ./build_docker/./src/IO/ReadBufferFromFileDescriptor.h:0: DB::ReadBufferFromFileDescriptorPRead::ReadBufferFromFileDescriptorPRead(int, unsigned long, char*, unsigned long, std::optional, std::shared_ptr) @ 0x000000003531e861 in /usr/bin/clickhouse 12. ./build_docker/./src/IO/ReadBufferFromFile.h:97: DB::ReadBufferFromFilePReadWithDescriptorsCache::ReadBufferFromFilePReadWithDescriptorsCache(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x000000003531dd36 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::createReadBufferFromFileBase(String const&, DB::ReadSettings const&, std::optional, std::optional, int, char*, unsigned long)::$_0::operator()(unsigned long, unsigned long, int) const @ 0x000000003531c4eb in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/IO/createReadBufferFromFileBase.cpp:216: DB::createReadBufferFromFileBase(String const&, DB::ReadSettings const&, std::optional, std::optional, int, char*, unsigned long) @ 0x000000003531c0f0 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/DiskLocal.cpp:335: DB::DiskLocal::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x0000000037230c24 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/MetadataStorageFromDisk.cpp:75: DB::MetadataStorageFromDisk::readFileToString(String const&) const @ 0x00000000372c5df7 in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/MetadataStorageFromDisk.cpp:0: DB::MetadataStorageFromDisk::readMetadataUnlocked(String const&, std::shared_lock&) const @ 0x00000000372c6594 in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/ObjectStorages/MetadataStorageFromDisk.cpp:0: DB::MetadataStorageFromDisk::getStorageObjects(String const&) const @ 0x00000000372c795d in /usr/bin/clickhouse 19. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:0: DB::DiskObjectStorage::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000372fec34 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000003cba0de9 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:120: DB::MergeTreeReaderStream::init() @ 0x000000003d48afb4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderStream.cpp:276: DB::MergeTreeReaderStream::adjustRightMark(unsigned long) @ 0x000000003d48eeed in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:278: DB::getStream(bool, DB::ISerialization::SubstreamPath const&, std::map>, std::less, std::allocator>>>>&, DB::NameAndTypePair const&, unsigned long, bool, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&) @ 0x000000003d498a8a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:347: DB::ReadBuffer* std::__function::__policy_invoker::__call_impl const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool)::$_0, DB::ReadBuffer* (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d49940c in /usr/bin/clickhouse 25. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c526 in /usr/bin/clickhouse 26. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:16.208482 [ 2242 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {87d63275-efc8-41cf-b773-50c08a335cb1::202610_1_97_19}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.53 GiB (attempt to allocate chunk of 1264575 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:87: DB::MergeTreeDataPartWriterWide::MergeTreeDataPartWriterWide(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d13f899 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWide::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0f58ca in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:17.471035 [ 9255 ] {ef5082c6-c04b-4fbf-a787-586b1510d121} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53322) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc1edc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba0e863 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b51878 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b36ae1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:33:17.546402 [ 4399 ] {0f4dfca6-5e26-4c86-bad5-ea60c9dde911} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 74.88 MiB (attempt to allocate chunk of 1110796 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53296) (comment: 00159_parallel_formatting_csv_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c Format CSVWithNames), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::(anonymous namespace)::getBlockSortPermutationImpl(DB::Block const&, DB::SortDescription const&, DB::IColumn::PermutationSortStability, unsigned long, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa25639 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa2460c in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:33:17.574216 [ 9255 ] {ef5082c6-c04b-4fbf-a787-586b1510d121} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003bc1edc0 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000003ba0e863 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000039b51878 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1444: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000039b36ae1 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039b345cd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000039d7135b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x0000000039d73c5a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000003a97a842 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000003e08ddb8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000003e0d3f7c in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 19. ? @ 0x00007fc6eb378a83 in ? 20. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:33:17.909221 [ 4399 ] {0f4dfca6-5e26-4c86-bad5-ea60c9dde911} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 74.88 MiB (attempt to allocate chunk of 1110796 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::(anonymous namespace)::getBlockSortPermutationImpl(DB::Block const&, DB::SortDescription const&, DB::IColumn::PermutationSortStability, unsigned long, DB::PODArray, 63ul, 64ul>&) @ 0x000000003aa25639 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/sortBlock.cpp:0: DB::sortBlock(DB::Block&, DB::SortDescription const&, unsigned long) @ 0x000000003aa2460c in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/PartialSortingTransform.cpp:141: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x000000003ec18880 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x000000002b02fe01 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000003e1ab07e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:33:24.731722 [ 2349 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::SessionLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 4277711 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IMergeTreeDataPart.cpp:138: DB::IMergeTreeDataPart::MinMaxIndex::store(std::vector> const&, std::vector, std::allocator>> const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003cc2a292 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::IMergeTreeDataPart::MinMaxIndex::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003cc28e2e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64f047 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:27.730069 [ 2350 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::AsynchronousMetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 4198715 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:281: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d6516b7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3b72d3 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:28.493764 [ 15283 ] {38f05525-8dd2-4cbb-964b-b7dfe8fafc41::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2026.10.27 19:33:28.493949 [ 15283 ] {38f05525-8dd2-4cbb-964b-b7dfe8fafc41::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2026.10.27 19:33:28.494076 [ 15283 ] {38f05525-8dd2-4cbb-964b-b7dfe8fafc41::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2026.10.27 19:33:28.494181 [ 15283 ] {38f05525-8dd2-4cbb-964b-b7dfe8fafc41::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2026.10.27 19:33:28.494284 [ 15283 ] {38f05525-8dd2-4cbb-964b-b7dfe8fafc41::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2026.10.27 19:33:28.494377 [ 15283 ] {38f05525-8dd2-4cbb-964b-b7dfe8fafc41::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2026.10.27 19:33:28.494490 [ 15283 ] {38f05525-8dd2-4cbb-964b-b7dfe8fafc41::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2026.10.27 19:33:28.494587 [ 15283 ] {38f05525-8dd2-4cbb-964b-b7dfe8fafc41::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2026.10.27 19:33:28.494684 [ 15283 ] {38f05525-8dd2-4cbb-964b-b7dfe8fafc41::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2026.10.27 19:33:28.494777 [ 15283 ] {38f05525-8dd2-4cbb-964b-b7dfe8fafc41::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2026.10.27 19:33:30.112425 [ 2339 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TextLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 4913949 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a4a9253 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a4a6542 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c31ce7 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:30.113025 [ 2241 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {51542bea-4345-4d36-94eb-7171c1c21706::202610_1_101_20}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 1178559 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:31.215027 [ 15281 ] {ba373c23-c766-4fca-a28f-3814e104ec41} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 34078720 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: (avg_value_size_hint = 99.36824457696143, avg_chars_size = 109.64189349235372, limit = 303104): (while reading column Referer): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 303104): While executing MergeTreeInOrder. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55518) (comment: 00157_cache_dictionary.sql) (in query: INSERT INTO test.hits_1m SELECT * FROM test.hits LIMIT 1000000;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff78e6 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1de0ed in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:33:31.215200 [ 2243 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5e02a75b-4c2d-4f31-9f01-1c9571e6901b::201403_1_8_1}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1064399 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (while reading column UserID): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/5e0/5e02a75b-4c2d-4f31-9f01-1c9571e6901b/201403_1_1_0/ in table test.visits (5e02a75b-4c2d-4f31-9f01-1c9571e6901b) located on disk s3_disk of type s3, from mark 2 with max_rows_to_read = 6682): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x00000000093ad667 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:0: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f83ca7 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:31.215252 [ 2346 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::ZooKeeperLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 4206527 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d102e0d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a483e53 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a481142 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c2fca7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020c2fb7f in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 30. ? @ 0x00007fc6eb378a83 in ? 31. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:31.215447 [ 2292 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::PartLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 4237501 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:31.215500 [ 2345 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::OpenTelemetrySpanLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.39 GiB (attempt to allocate chunk of 4198774 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000003a3ef053 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/SystemLog.cpp:0: DB::SystemLog::savingThreadFunction() @ 0x000000003a3ec532 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/SystemLogBase.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl::startup()::'lambda'()>(DB::SystemLogBase::startup()::'lambda'()&&)::'lambda'()::operator()() @ 0x0000000020c26a87 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:31.215612 [ 9250 ] {374ff38d-1d1d-41b2-b95b-d50a4a58d919} executeQuery: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33246) (comment: 00041_aggregating_materialized_view.sql) (in query: OPTIMIZE TABLE test.basic;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.h:104: DB::StorageMergeTree::merge(bool, String const&, bool, bool, std::vector> const&, bool, std::shared_ptr const&, String&, bool) @ 0x000000003da2690f in /usr/bin/clickhouse 2026.10.27 19:33:31.215576 [ 2236 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {87d63275-efc8-41cf-b773-50c08a335cb1::202610_1_97_19}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.31 GiB (attempt to allocate chunk of 1051820 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: (while reading column stat_pzxid): (while reading from part /var/lib/clickhouse/disks/s3/store/87d/87d63275-efc8-41cf-b773-50c08a335cb1/202610_1_87_18/ in table system.zookeeper_log (87d63275-efc8-41cf-b773-50c08a335cb1) located on disk s3 of type s3, from mark 0 with max_rows_to_read = 8192): While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::resize(unsigned long) @ 0x00000000209e2879 in /usr/bin/clickhouse 11. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x000000003689445f in /usr/bin/clickhouse 12. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000036894c8d in /usr/bin/clickhouse 13. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:160: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036f96253 in /usr/bin/clickhouse 14. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:31.215760 [ 2289 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::MetricLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 5164865 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101d55 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:31.218104 [ 9250 ] {374ff38d-1d1d-41b2-b95b-d50a4a58d919} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.34 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.h:104: DB::StorageMergeTree::merge(bool, String const&, bool, bool, std::vector> const&, bool, std::shared_ptr const&, String&, bool) @ 0x000000003da2690f in /usr/bin/clickhouse 2026.10.27 19:33:31.328670 [ 2233 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {13357df0-4c21-4882-9b4a-8910a41b6ae4::202610_87_114_5}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 2035838 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 18. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:0: DB::MergedBlockOutputStream::finalizePart(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d649640 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::MergeTask::MergeProjectionsStage::finalizeProjectionsAndWholeMerge() const @ 0x000000003cdcaadc in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cddedbf in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::MergeProjectionsStage::execute() @ 0x000000003cdcaeae in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:31.397414 [ 2349 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::SessionLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 4198010 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromS3::allocateFirstBuffer() @ 0x00000000361ff654 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::allocateBuffer() @ 0x00000000361ec06e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361ea80a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:37: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d102291 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:31.400278 [ 15282 ] {} ServerErrorHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1048639 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078ef56 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x0000000021081cd1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000003e0f4b8e in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f279d in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 15. ? @ 0x00007fc6eb378a83 in ? 16. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:31.482291 [ 2294 ] {} void DB::SystemLog::flushImpl(const std::vector &, uint64_t) [LogElement = DB::TransactionsInfoLogElement]: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.30 GiB (attempt to allocate chunk of 4206013 bytes), maximum: 15.30 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:429: DB::MergeTreePartition::store(DB::Block const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&, DB::WriteSettings const&) const @ 0x000000003d409c18 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreePartition.cpp:421: DB::MergeTreePartition::store(DB::MergeTreeData const&, DB::IDataPartStorage&, DB::MergeTreeDataPartChecksums&) const @ 0x000000003d4093c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:228: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x000000003d64ecf3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x000000003d64b89c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:708: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d6303a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000003e228299 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:31.619899 [ 2247 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {feaf80ee-033f-41d0-9cd0-e84981437f13::202610_1_88_14}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.39 GiB (attempt to allocate chunk of 1049938 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero.: While executing MergeTreeSequentialSource. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x0000000009415a91 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/PODArray.h:322: DB::ColumnVector::insertDefault() @ 0x000000003b33a155 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/ColumnSparse.cpp:0: DB::ColumnSparse::ColumnSparse(COW::mutable_ptr&&) @ 0x000000003b186f53 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:69: DB::IDataType::createColumn(DB::ISerialization const&) const @ 0x0000000036dbb55a in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:140: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4597fa in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:173: DB::MergeTreeSequentialSource::generate() @ 0x000000003d4a240d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000003e1b2cdc in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000003e1e1707 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000003e21d37f in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000003e21d5bf in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:436: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x000000003cdbba84 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde3df in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:31.673161 [ 2239 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {51542bea-4345-4d36-94eb-7171c1c21706::202610_1_101_20}: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.33 GiB (attempt to allocate chunk of 1178559 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Memory overcommit isn't used. Waiting time or overcommit denominator are set to zero. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 10. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x00000000209fba16 in /usr/bin/clickhouse 11. ./build_docker/./src/IO/WriteBufferFromS3.cpp:0: DB::WriteBufferFromS3::WriteBufferFromS3(std::shared_ptr, std::shared_ptr, String const&, String const&, unsigned long, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>, std::function (std::function&&, Priority)>, DB::WriteSettings const&) @ 0x00000000361e8e3a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>, DB::WriteSettings&>(std::shared_ptr const&, std::shared_ptr const&, String&, String const&, unsigned long&, DB::S3Settings::RequestSettings const&, std::optional, std::allocator>>>&, std::function (std::function&&, Priority)>&&, DB::WriteSettings&) @ 0x00000000372b8314 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/ObjectStorages/S3/S3ObjectStorage.cpp:247: DB::S3ObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003729ec7e in /usr/bin/clickhouse 14. ./build_docker/./src/Disks/ObjectStorages/Cached/CachedObjectStorage.cpp:98: DB::CachedObjectStorage::writeObject(DB::StoredObject const&, DB::WriteMode, std::optional, std::allocator>>>, unsigned long, DB::WriteSettings const&) @ 0x000000003583e498 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorageTransaction.cpp:732: DB::DiskObjectStorageTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x000000003734fd5c in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/ObjectStorages/DiskObjectStorage.cpp:512: DB::DiskObjectStorage::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003730002b in /usr/bin/clickhouse 17. ./build_docker/./src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x0000000037270940 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:132: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000003cba1bb9 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/IDataPartStorage.h:0: DB::MergeTreeDataPartWriterOnDisk::initPrimaryIndex() @ 0x000000003d12c1df in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:128: DB::MergeTreeDataPartWriterOnDisk::MergeTreeDataPartWriterOnDisk(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d12ba7e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:28: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d101ba4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: DB::MergedBlockOutputStream* std::construct_at[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, DB::MergedBlockOutputStream*>(DB::MergedBlockOutputStream*, std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdd5599 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocation_guard.h:66: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>, std::shared_ptr&, std::shared_ptr&, bool, bool&, DB::WriteSettings, void>(std::shared_ptr&, std::shared_ptr&, DB::NamesAndTypesList&, std::vector, std::allocator>>&&, std::shared_ptr&, std::shared_ptr&, bool&&, bool&, DB::WriteSettings&&) @ 0x000000003cdcd2f9 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::prepare() @ 0x000000003cdaae83 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003cdde39f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:848: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x000000003cdbb8ae in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTask.cpp:0: DB::MergeTask::execute() @ 0x000000003cdc9f0c in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15dd in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:33:33.257452 [ 15281 ] {ba373c23-c766-4fca-a28f-3814e104ec41} TCPHandler: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 15.37 GiB (attempt to allocate chunk of 34078720 bytes), maximum: 15.30 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: (avg_value_size_hint = 99.36824457696143, avg_chars_size = 109.64189349235372, limit = 303104): (while reading column Referer): (while reading from part /var/lib/clickhouse/disks/s3_disk/store/9b1/9b132716-ce2c-46a8-9114-ec15f2751f47/201403_1_7_1/ in table test.hits (9b132716-ce2c-46a8-9114-ec15f2751f47) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 303104): While executing MergeTreeInOrder. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000208773f0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874adc in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 6. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/PODArray.h:133: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x0000000036ff78e6 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000036e9c5f2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:196: DB::MergeTreeReaderWide::readData(DB::NameAndTypePair const&, std::shared_ptr const&, COW::immutable_ptr&, unsigned long, bool, unsigned long, unsigned long, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>&, bool) @ 0x000000003d495e42 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeReaderWide.cpp:159: DB::MergeTreeReaderWide::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d49422b in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000003d4ea8ab in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000003d50ddd3 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000003d506d40 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000003d4d94a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000003d4db397 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000003d4d09a2 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000003f21f60b in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/ISource.cpp:0: DB::ISource::work() @ 0x000000003e1b256c in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1de0ed in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 28. ? @ 0x00007fc6eb378a83 in ? 29. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:33:52.120267 [ 15296 ] {19f125cb-0485-4255-8fec-360abcb8ce3b} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 4.39 MiB (attempt to allocate chunk of 1114301 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47428) (comment: 00155_long_merges.sh) (in query: INSERT INTO collapsing_00155 (x) SELECT number AS x FROM system.numbers LIMIT 8192), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1de0ed in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 2026.10.27 19:33:52.125273 [ 15296 ] {19f125cb-0485-4255-8fec-360abcb8ce3b} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 4.39 MiB (attempt to allocate chunk of 1114301 bytes), maximum: 9.31 GiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000020784d72 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000020987462 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:159: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x00000000368962bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000003d114ded in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000003d10d901 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:63: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000036e9ab87 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/Serializations/ISerialization.cpp:0: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000036e9b6ef in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000003d103d9a in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d10329d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::MergeTreeDataPartCompact::getWriter(DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d0d2a3e in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergedBlockOutputStream.cpp:51: DB::MergedBlockOutputStream::MergedBlockOutputStream(std::shared_ptr const&, std::shared_ptr const&, DB::NamesAndTypesList const&, std::vector, std::allocator>> const&, std::shared_ptr, std::shared_ptr const&, bool, bool, DB::WriteSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000003d6480e4 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexGranularity.h:14: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr, bool, bool, DB::WriteSettings>(std::shared_ptr&, std::shared_ptr const&, DB::NamesAndTypesList&, std::vector, std::allocator>>&, std::shared_ptr&, std::shared_ptr&&, bool&&, bool&&, DB::WriteSettings&&) @ 0x000000003d63e014 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:0: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000003d62e4f1 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000003d62710a in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000003daab57b in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Sinks/SinkToStorage.cpp:0: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000003ee4c1b0 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003eb86580 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000003eb860ee in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:0: DB::ExceptionKeepingTransform::work() @ 0x000000003eb8552c in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000003e1e0ffe in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000003e1e0a6d in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003e1de0ed in /usr/bin/clickhouse 30. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 2026.10.27 19:33:53.197875 [ 4399 ] {9a60a5d8-36fe-4760-b74d-54d696320335} executeQuery: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 825.76 MiB (attempt to allocate chunk of 1056768 bytes), maximum: 9.31 GiB: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53326) (comment: 00159_parallel_formatting_csv_and_friends.sh) (in query: SELECT ClientEventTime::DateTime('Asia/Dubai') as a, MobilePhoneModel as b, ClientIP6 as c FROM test.hits ORDER BY a, b, c Format CSVWithNames), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x000000000941592d in /usr/bin/clickhouse 8. ./build_docker/./src/Common/PODArray.h:0: DB::ColumnString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b1c2ece in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:44: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003efbe15d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eed0553 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8e96 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:33:55.579589 [ 4399 ] {9a60a5d8-36fe-4760-b74d-54d696320335} TCPHandler: Code: 241. DB::Exception: Memory tracker (for query): fault injected. Would use 825.76 MiB (attempt to allocate chunk of 1056768 bytes), maximum: 9.31 GiB: While executing MergingSortedTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, String&&, long&, String&&) @ 0x000000002087698d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:281: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x0000000020874533 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000002087394e in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000002078eed5 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:147: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000020786257 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::reserveForNextSize<>() @ 0x000000000941592d in /usr/bin/clickhouse 8. ./build_docker/./src/Common/PODArray.h:0: DB::ColumnString::insertFrom(DB::IColumn const&, unsigned long) @ 0x000000003b1c2ece in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Merges/Algorithms/MergedData.h:44: DB::IMergingAlgorithm::Status DB::MergingSortedAlgorithm::mergeBatchImpl>(DB::SortingQueueImpl&) @ 0x000000003efbe15d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/variant:548: decltype(auto) std::__variant_detail::__visitation::__base::__dispatcher<25ul>::__dispatch[abi:v15000]&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&>(std::__variant_detail::__visitation::__variant::__value_visitor&&, std::__variant_detail::__base<(std::__variant_detail::_Trait)1, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::UUIDTag>>>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl>, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, (DB::SortingQueueStrategy)1>, DB::SortingQueueImpl, DB::SortingQueueImpl, DB::SortingQueueImpl>&) @ 0x000000003eed0553 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/variant:0: DB::MergingSortedAlgorithm::merge() @ 0x000000003eeb8e96 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Chunk.h:90: DB::IMergingTransform::work() @ 0x000000003a29ed82 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000003e20eaa2 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000003e1e29dd in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/scope_guard.h:50: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003e1e5d96 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 21. ? @ 0x00007fc6eb378a83 in ? 22. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:34:30.742284 [ 1848 ] {3e10d0fa-c482-453b-aaeb-5dc0daf01ba6::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2026.10.27 19:34:30.742425 [ 1848 ] {3e10d0fa-c482-453b-aaeb-5dc0daf01ba6::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2026.10.27 19:34:30.742500 [ 1848 ] {3e10d0fa-c482-453b-aaeb-5dc0daf01ba6::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2026.10.27 19:34:30.742575 [ 1848 ] {3e10d0fa-c482-453b-aaeb-5dc0daf01ba6::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2026.10.27 19:34:30.742652 [ 1848 ] {3e10d0fa-c482-453b-aaeb-5dc0daf01ba6::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2026.10.27 19:34:30.742740 [ 1848 ] {3e10d0fa-c482-453b-aaeb-5dc0daf01ba6::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2026.10.27 19:34:30.742826 [ 1848 ] {3e10d0fa-c482-453b-aaeb-5dc0daf01ba6::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2026.10.27 19:34:30.742901 [ 1848 ] {3e10d0fa-c482-453b-aaeb-5dc0daf01ba6::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2026.10.27 19:34:30.742994 [ 1848 ] {3e10d0fa-c482-453b-aaeb-5dc0daf01ba6::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2026.10.27 19:34:30.743069 [ 1848 ] {3e10d0fa-c482-453b-aaeb-5dc0daf01ba6::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2026.10.27 19:35:06.290416 [ 1848 ] {c8e2cfdf-adfd-4dab-a5e4-65cb4b2e5840::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2026.10.27 19:35:06.290573 [ 1848 ] {c8e2cfdf-adfd-4dab-a5e4-65cb4b2e5840::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2026.10.27 19:35:06.290670 [ 1848 ] {c8e2cfdf-adfd-4dab-a5e4-65cb4b2e5840::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2026.10.27 19:35:06.290782 [ 1848 ] {c8e2cfdf-adfd-4dab-a5e4-65cb4b2e5840::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2026.10.27 19:35:06.290890 [ 1848 ] {c8e2cfdf-adfd-4dab-a5e4-65cb4b2e5840::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2026.10.27 19:35:06.290984 [ 1848 ] {c8e2cfdf-adfd-4dab-a5e4-65cb4b2e5840::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2026.10.27 19:35:06.291078 [ 1848 ] {c8e2cfdf-adfd-4dab-a5e4-65cb4b2e5840::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2026.10.27 19:35:06.291172 [ 1848 ] {c8e2cfdf-adfd-4dab-a5e4-65cb4b2e5840::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2026.10.27 19:35:06.291268 [ 1848 ] {c8e2cfdf-adfd-4dab-a5e4-65cb4b2e5840::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2026.10.27 19:35:06.291363 [ 1848 ] {c8e2cfdf-adfd-4dab-a5e4-65cb4b2e5840::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2026.10.27 19:35:40.236895 [ 1848 ] {11541e1c-d875-4c9a-ad6f-18eef1cb5aee::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2026.10.27 19:35:40.236978 [ 1848 ] {11541e1c-d875-4c9a-ad6f-18eef1cb5aee::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2026.10.27 19:35:40.237022 [ 1848 ] {11541e1c-d875-4c9a-ad6f-18eef1cb5aee::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2026.10.27 19:35:40.237064 [ 1848 ] {11541e1c-d875-4c9a-ad6f-18eef1cb5aee::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2026.10.27 19:35:40.237103 [ 1848 ] {11541e1c-d875-4c9a-ad6f-18eef1cb5aee::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2026.10.27 19:35:40.237142 [ 1848 ] {11541e1c-d875-4c9a-ad6f-18eef1cb5aee::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2026.10.27 19:35:40.237179 [ 1848 ] {11541e1c-d875-4c9a-ad6f-18eef1cb5aee::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2026.10.27 19:35:40.237219 [ 1848 ] {11541e1c-d875-4c9a-ad6f-18eef1cb5aee::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2026.10.27 19:35:40.237258 [ 1848 ] {11541e1c-d875-4c9a-ad6f-18eef1cb5aee::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2026.10.27 19:35:40.237309 [ 1848 ] {11541e1c-d875-4c9a-ad6f-18eef1cb5aee::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2026.10.27 19:36:12.830534 [ 4272 ] {595fdc8c-2980-4b65-8d04-b0afa982e504::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2026.10.27 19:36:12.830699 [ 4272 ] {595fdc8c-2980-4b65-8d04-b0afa982e504::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2026.10.27 19:36:12.830830 [ 4272 ] {595fdc8c-2980-4b65-8d04-b0afa982e504::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2026.10.27 19:36:12.830961 [ 4272 ] {595fdc8c-2980-4b65-8d04-b0afa982e504::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2026.10.27 19:36:12.831073 [ 4272 ] {595fdc8c-2980-4b65-8d04-b0afa982e504::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2026.10.27 19:36:12.831169 [ 4272 ] {595fdc8c-2980-4b65-8d04-b0afa982e504::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2026.10.27 19:36:12.831264 [ 4272 ] {595fdc8c-2980-4b65-8d04-b0afa982e504::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2026.10.27 19:36:12.831374 [ 4272 ] {595fdc8c-2980-4b65-8d04-b0afa982e504::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2026.10.27 19:36:12.831498 [ 4272 ] {595fdc8c-2980-4b65-8d04-b0afa982e504::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2026.10.27 19:36:12.831593 [ 4272 ] {595fdc8c-2980-4b65-8d04-b0afa982e504::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2026.10.27 19:36:17.964978 [ 2242 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {51542bea-4345-4d36-94eb-7171c1c21706::202610_1_121_24}: Code: 241. DB::Exception: Memory tracker (for thread): fault injected (at specific point). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, char const*&&) @ 0x000000002087620c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:184: MemoryTracker::injectFault() const @ 0x000000002087177d in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:129: CurrentMemoryTracker::injectFault() @ 0x000000002078f7bf in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ThreadFuzzer.cpp:242: DB::ThreadFuzzer::maybeInjectMemoryLimitException() @ 0x00000000209251b6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::finish() @ 0x000000003dab496f in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:36:48.330258 [ 4272 ] {5d23867b-602d-44be-87fc-29062baa373f::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2026.10.27 19:36:48.330428 [ 4272 ] {5d23867b-602d-44be-87fc-29062baa373f::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2026.10.27 19:36:48.330525 [ 4272 ] {5d23867b-602d-44be-87fc-29062baa373f::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2026.10.27 19:36:48.330638 [ 4272 ] {5d23867b-602d-44be-87fc-29062baa373f::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2026.10.27 19:36:48.330733 [ 4272 ] {5d23867b-602d-44be-87fc-29062baa373f::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2026.10.27 19:36:48.330828 [ 4272 ] {5d23867b-602d-44be-87fc-29062baa373f::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2026.10.27 19:36:48.330923 [ 4272 ] {5d23867b-602d-44be-87fc-29062baa373f::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2026.10.27 19:36:48.331017 [ 4272 ] {5d23867b-602d-44be-87fc-29062baa373f::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2026.10.27 19:36:48.331113 [ 4272 ] {5d23867b-602d-44be-87fc-29062baa373f::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2026.10.27 19:36:48.331208 [ 4272 ] {5d23867b-602d-44be-87fc-29062baa373f::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2026.10.27 19:36:57.359146 [ 2369 ] {} ZooKeeperClient: Code: 999. Coordination::Exception: Session expired (fault injected on recv). (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [41]) @ 0x0000000015145857 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/ZooKeeper/IKeeper.h:470: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [41]) @ 0x000000003d95bb56 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:1532: Coordination::ZooKeeper::maybeInjectRecvFault() @ 0x000000003fb1524f in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:756: Coordination::ZooKeeper::receiveEvent() @ 0x000000003fb12290 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: Coordination::ZooKeeper::receiveThread() @ 0x000000003fb11002 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003fb25112 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:36:57.361106 [ 2064 ] {} test_7.rmt (ReplicatedMergeTreeRestartingThread): ZooKeeper session has expired. Switching to a new session. 2026.10.27 19:36:57.361247 [ 2100 ] {} test_9.r1 (ReplicatedMergeTreeRestartingThread): ZooKeeper session has expired. Switching to a new session. 2026.10.27 19:36:57.361344 [ 2079 ] {} test_7.t2 (ReplicatedMergeTreeRestartingThread): ZooKeeper session has expired. Switching to a new session. 2026.10.27 19:36:57.361350 [ 2152 ] {} test_3.src (ReplicatedMergeTreeRestartingThread): ZooKeeper session has expired. Switching to a new session. 2026.10.27 19:36:57.361388 [ 2051 ] {} test_7.alter_default (ReplicatedMergeTreeRestartingThread): ZooKeeper session has expired. Switching to a new session. 2026.10.27 19:36:57.361459 [ 2039 ] {} test_3.rmt (ReplicatedMergeTreeRestartingThread): ZooKeeper session has expired. Switching to a new session. 2026.10.27 19:36:57.361449 [ 2130 ] {} test_7.t1 (ReplicatedMergeTreeRestartingThread): ZooKeeper session has expired. Switching to a new session. 2026.10.27 19:36:57.361433 [ 2044 ] {} test_3.rmt2 (ReplicatedMergeTreeRestartingThread): ZooKeeper session has expired. Switching to a new session. 2026.10.27 19:36:58.853111 [ 2127 ] {} test_7.alter_default (8460cadc-c6b1-435d-a2d7-c00420d93d42): void DB::StorageReplicatedMergeTree::queueUpdatingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/test_7/test_01079/alter_default/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5273: DB::StorageReplicatedMergeTree::queueUpdatingTask() @ 0x000000003c0a0ccd in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x000000003c26d59f in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 7. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:36:58.853064 [ 2065 ] {} test_7.t1 (62fb21ce-5f93-45a5-841d-c244f4eb0949): void DB::StorageReplicatedMergeTree::queueUpdatingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/test_7/test_02723/zookeeper_name/t1/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5273: DB::StorageReplicatedMergeTree::queueUpdatingTask() @ 0x000000003c0a0ccd in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x000000003c26d59f in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 7. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:36:58.853306 [ 2067 ] {} test_7.t2 (58c86548-532e-48b7-bc8b-12960d633236): void DB::StorageReplicatedMergeTree::queueUpdatingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/test_7/test_02723/zookeeper_name/t2/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5273: DB::StorageReplicatedMergeTree::queueUpdatingTask() @ 0x000000003c0a0ccd in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x000000003c26d59f in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 7. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:36:58.853719 [ 2059 ] {} test_9.r1 (6e5587ee-ed65-44ef-957a-043ec90bb617): void DB::StorageReplicatedMergeTree::queueUpdatingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01396_inactive_replica_cleanup_nodes_zookeeper_test_9/s1/replicas/1r1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5273: DB::StorageReplicatedMergeTree::queueUpdatingTask() @ 0x000000003c0a0ccd in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x000000003c26d59f in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 7. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:37:00.581699 [ 2045 ] {} test_7.t1 (62fb21ce-5f93-45a5-841d-c244f4eb0949): void DB::StorageReplicatedMergeTree::mutationsUpdatingTask(): Code: 999. Coordination::Exception: Session expired. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [16]) @ 0x000000002081c797 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/ZooKeeper/IKeeper.h:470: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [16]) @ 0x000000003fa8f4b6 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: Coordination::ZooKeeper::pushRequest(Coordination::ZooKeeper::RequestInfo&&) @ 0x000000003fb1649c in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:1329: Coordination::ZooKeeper::list(String const&, Coordination::ListRequestType, std::function, std::shared_ptr>) @ 0x000000003fb2067f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: zkutil::ZooKeeper::asyncTryGetChildrenNoThrow(String const&, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0db42 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:219: zkutil::ZooKeeper::getChildrenImpl(String const&, std::vector>&, Coordination::Stat*, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0cc86 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:0: zkutil::ZooKeeper::tryGetChildrenWatch(String const&, std::vector>&, Coordination::Stat*, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0f167 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:255: zkutil::ZooKeeper::getChildrenWatch(String const&, Coordination::Stat*, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0ee6a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ReplicatedMergeTreeQueue::updateMutations(std::shared_ptr, std::shared_ptr>) @ 0x000000003d872c7c in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:3252: DB::StorageReplicatedMergeTree::mutationsUpdatingTask() @ 0x000000003c0a15ed in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_2, void ()>>(std::__function::__policy_storage const*) @ 0x000000003c26d5df in /usr/bin/clickhouse 13. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 15. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:37:00.581874 [ 2056 ] {} test_7.rmt (47efcd1d-fb91-4e96-859b-e362373a9342): void DB::StorageReplicatedMergeTree::queueUpdatingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/test_01149_test_7/rmt/replicas/r1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5273: DB::StorageReplicatedMergeTree::queueUpdatingTask() @ 0x000000003c0a0ccd in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x000000003c26d59f in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 7. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:37:00.581995 [ 2119 ] {} test_3.src (41dd9fe8-203e-42da-967a-cdfcbfa95f6b): void DB::StorageReplicatedMergeTree::queueUpdatingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/test_3/test/src4/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5273: DB::StorageReplicatedMergeTree::queueUpdatingTask() @ 0x000000003c0a0ccd in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x000000003c26d59f in /usr/bin/clickhouse 5. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 7. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 10. ? @ 0x00007fc6eb378a83 in ? 11. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:37:00.582093 [ 2057 ] {} test_9.r1 (6e5587ee-ed65-44ef-957a-043ec90bb617): void DB::StorageReplicatedMergeTree::mutationsUpdatingTask(): Code: 999. Coordination::Exception: Session expired. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [16]) @ 0x000000002081c797 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/ZooKeeper/IKeeper.h:470: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [16]) @ 0x000000003fa8f4b6 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: Coordination::ZooKeeper::pushRequest(Coordination::ZooKeeper::RequestInfo&&) @ 0x000000003fb1649c in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:1329: Coordination::ZooKeeper::list(String const&, Coordination::ListRequestType, std::function, std::shared_ptr>) @ 0x000000003fb2067f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: zkutil::ZooKeeper::asyncTryGetChildrenNoThrow(String const&, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0db42 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:219: zkutil::ZooKeeper::getChildrenImpl(String const&, std::vector>&, Coordination::Stat*, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0cc86 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:0: zkutil::ZooKeeper::tryGetChildrenWatch(String const&, std::vector>&, Coordination::Stat*, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0f167 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:255: zkutil::ZooKeeper::getChildrenWatch(String const&, Coordination::Stat*, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0ee6a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ReplicatedMergeTreeQueue::updateMutations(std::shared_ptr, std::shared_ptr>) @ 0x000000003d872c7c in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:3252: DB::StorageReplicatedMergeTree::mutationsUpdatingTask() @ 0x000000003c0a15ed in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_2, void ()>>(std::__function::__policy_storage const*) @ 0x000000003c26d5df in /usr/bin/clickhouse 13. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 15. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:37:00.582134 [ 2053 ] {} test_7.alter_default (8460cadc-c6b1-435d-a2d7-c00420d93d42): void DB::StorageReplicatedMergeTree::mutationsUpdatingTask(): Code: 999. Coordination::Exception: Session expired. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [16]) @ 0x000000002081c797 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/ZooKeeper/IKeeper.h:470: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [16]) @ 0x000000003fa8f4b6 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: Coordination::ZooKeeper::pushRequest(Coordination::ZooKeeper::RequestInfo&&) @ 0x000000003fb1649c in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:1329: Coordination::ZooKeeper::list(String const&, Coordination::ListRequestType, std::function, std::shared_ptr>) @ 0x000000003fb2067f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: zkutil::ZooKeeper::asyncTryGetChildrenNoThrow(String const&, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0db42 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:219: zkutil::ZooKeeper::getChildrenImpl(String const&, std::vector>&, Coordination::Stat*, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0cc86 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:0: zkutil::ZooKeeper::tryGetChildrenWatch(String const&, std::vector>&, Coordination::Stat*, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0f167 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:255: zkutil::ZooKeeper::getChildrenWatch(String const&, Coordination::Stat*, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0ee6a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ReplicatedMergeTreeQueue::updateMutations(std::shared_ptr, std::shared_ptr>) @ 0x000000003d872c7c in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:3252: DB::StorageReplicatedMergeTree::mutationsUpdatingTask() @ 0x000000003c0a15ed in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_2, void ()>>(std::__function::__policy_storage const*) @ 0x000000003c26d5df in /usr/bin/clickhouse 13. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 15. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:37:00.582285 [ 2118 ] {} test_7.rmt (47efcd1d-fb91-4e96-859b-e362373a9342): void DB::StorageReplicatedMergeTree::mutationsUpdatingTask(): Code: 999. Coordination::Exception: Session expired. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [16]) @ 0x000000002081c797 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/ZooKeeper/IKeeper.h:470: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [16]) @ 0x000000003fa8f4b6 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: Coordination::ZooKeeper::pushRequest(Coordination::ZooKeeper::RequestInfo&&) @ 0x000000003fb1649c in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:1329: Coordination::ZooKeeper::list(String const&, Coordination::ListRequestType, std::function, std::shared_ptr>) @ 0x000000003fb2067f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: zkutil::ZooKeeper::asyncTryGetChildrenNoThrow(String const&, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0db42 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:219: zkutil::ZooKeeper::getChildrenImpl(String const&, std::vector>&, Coordination::Stat*, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0cc86 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:0: zkutil::ZooKeeper::tryGetChildrenWatch(String const&, std::vector>&, Coordination::Stat*, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0f167 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:255: zkutil::ZooKeeper::getChildrenWatch(String const&, Coordination::Stat*, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0ee6a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ReplicatedMergeTreeQueue::updateMutations(std::shared_ptr, std::shared_ptr>) @ 0x000000003d872c7c in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:3252: DB::StorageReplicatedMergeTree::mutationsUpdatingTask() @ 0x000000003c0a15ed in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_2, void ()>>(std::__function::__policy_storage const*) @ 0x000000003c26d5df in /usr/bin/clickhouse 13. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 15. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:37:00.582463 [ 2093 ] {} test_3.src (41dd9fe8-203e-42da-967a-cdfcbfa95f6b): void DB::StorageReplicatedMergeTree::mutationsUpdatingTask(): Code: 999. Coordination::Exception: Session expired. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [16]) @ 0x000000002081c797 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/ZooKeeper/IKeeper.h:470: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [16]) @ 0x000000003fa8f4b6 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: Coordination::ZooKeeper::pushRequest(Coordination::ZooKeeper::RequestInfo&&) @ 0x000000003fb1649c in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:1329: Coordination::ZooKeeper::list(String const&, Coordination::ListRequestType, std::function, std::shared_ptr>) @ 0x000000003fb2067f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: zkutil::ZooKeeper::asyncTryGetChildrenNoThrow(String const&, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0db42 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:219: zkutil::ZooKeeper::getChildrenImpl(String const&, std::vector>&, Coordination::Stat*, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0cc86 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:0: zkutil::ZooKeeper::tryGetChildrenWatch(String const&, std::vector>&, Coordination::Stat*, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0f167 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:255: zkutil::ZooKeeper::getChildrenWatch(String const&, Coordination::Stat*, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0ee6a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ReplicatedMergeTreeQueue::updateMutations(std::shared_ptr, std::shared_ptr>) @ 0x000000003d872c7c in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:3252: DB::StorageReplicatedMergeTree::mutationsUpdatingTask() @ 0x000000003c0a15ed in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_2, void ()>>(std::__function::__policy_storage const*) @ 0x000000003c26d5df in /usr/bin/clickhouse 13. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 15. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:37:00.582465 [ 2062 ] {} test_7.t2 (58c86548-532e-48b7-bc8b-12960d633236): void DB::StorageReplicatedMergeTree::mutationsUpdatingTask(): Code: 999. Coordination::Exception: Session expired. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./src/Common/Exception.h:0: DB::Exception::Exception(int, char const (&) [16]) @ 0x000000002081c797 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/ZooKeeper/IKeeper.h:470: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [16]) @ 0x000000003fa8f4b6 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: Coordination::ZooKeeper::pushRequest(Coordination::ZooKeeper::RequestInfo&&) @ 0x000000003fb1649c in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:1329: Coordination::ZooKeeper::list(String const&, Coordination::ListRequestType, std::function, std::shared_ptr>) @ 0x000000003fb2067f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: zkutil::ZooKeeper::asyncTryGetChildrenNoThrow(String const&, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0db42 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:219: zkutil::ZooKeeper::getChildrenImpl(String const&, std::vector>&, Coordination::Stat*, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0cc86 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:0: zkutil::ZooKeeper::tryGetChildrenWatch(String const&, std::vector>&, Coordination::Stat*, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0f167 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:255: zkutil::ZooKeeper::getChildrenWatch(String const&, Coordination::Stat*, std::shared_ptr>, Coordination::ListRequestType) @ 0x000000003fa0ee6a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ReplicatedMergeTreeQueue::updateMutations(std::shared_ptr, std::shared_ptr>) @ 0x000000003d872c7c in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:3252: DB::StorageReplicatedMergeTree::mutationsUpdatingTask() @ 0x000000003c0a15ed in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_2, void ()>>(std::__function::__policy_storage const*) @ 0x000000003c26d5df in /usr/bin/clickhouse 13. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 15. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:37:01.637264 [ 2109 ] {} test_7.alter_default (8460cadc-c6b1-435d-a2d7-c00420d93d42): void DB::StorageReplicatedMergeTree::mutationsFinalizingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/test_7/test_01079/alter_default/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5273: DB::StorageReplicatedMergeTree::getZooKeeperAndAssertNotReadonly() const @ 0x000000003bf28a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:3594: DB::StorageReplicatedMergeTree::mutationsFinalizingTask() @ 0x000000003c0b5934 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_4, void ()>>(std::__function::__policy_storage const*) @ 0x000000003c26d65f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 8. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:37:01.637271 [ 2083 ] {} test_7.rmt (47efcd1d-fb91-4e96-859b-e362373a9342): void DB::StorageReplicatedMergeTree::mutationsFinalizingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/test_01149_test_7/rmt/replicas/r1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5273: DB::StorageReplicatedMergeTree::getZooKeeperAndAssertNotReadonly() const @ 0x000000003bf28a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:3594: DB::StorageReplicatedMergeTree::mutationsFinalizingTask() @ 0x000000003c0b5934 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_4, void ()>>(std::__function::__policy_storage const*) @ 0x000000003c26d65f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 8. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:37:01.637701 [ 2041 ] {} test_7.t2 (58c86548-532e-48b7-bc8b-12960d633236): void DB::StorageReplicatedMergeTree::mutationsFinalizingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/test_7/test_02723/zookeeper_name/t2/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5273: DB::StorageReplicatedMergeTree::getZooKeeperAndAssertNotReadonly() const @ 0x000000003bf28a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:3594: DB::StorageReplicatedMergeTree::mutationsFinalizingTask() @ 0x000000003c0b5934 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_4, void ()>>(std::__function::__policy_storage const*) @ 0x000000003c26d65f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 8. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:37:01.637620 [ 2046 ] {} test_7.t1 (62fb21ce-5f93-45a5-841d-c244f4eb0949): void DB::StorageReplicatedMergeTree::mutationsFinalizingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/test_7/test_02723/zookeeper_name/t1/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a739f35 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5273: DB::StorageReplicatedMergeTree::getZooKeeperAndAssertNotReadonly() const @ 0x000000003bf28a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:3594: DB::StorageReplicatedMergeTree::mutationsFinalizingTask() @ 0x000000003c0b5934 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_4, void ()>>(std::__function::__policy_storage const*) @ 0x000000003c26d65f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 8. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 11. ? @ 0x00007fc6eb378a83 in ? 12. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:37:27.713912 [ 4272 ] {01024a87-baa7-46a9-8e04-30e864db445a::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2026.10.27 19:37:27.714080 [ 4272 ] {01024a87-baa7-46a9-8e04-30e864db445a::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2026.10.27 19:37:27.714195 [ 4272 ] {01024a87-baa7-46a9-8e04-30e864db445a::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2026.10.27 19:37:27.714465 [ 4272 ] {01024a87-baa7-46a9-8e04-30e864db445a::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2026.10.27 19:37:27.714567 [ 4272 ] {01024a87-baa7-46a9-8e04-30e864db445a::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2026.10.27 19:37:27.714663 [ 4272 ] {01024a87-baa7-46a9-8e04-30e864db445a::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2026.10.27 19:37:27.714758 [ 4272 ] {01024a87-baa7-46a9-8e04-30e864db445a::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2026.10.27 19:37:27.714853 [ 4272 ] {01024a87-baa7-46a9-8e04-30e864db445a::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2026.10.27 19:37:27.714948 [ 4272 ] {01024a87-baa7-46a9-8e04-30e864db445a::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2026.10.27 19:37:27.715043 [ 4272 ] {01024a87-baa7-46a9-8e04-30e864db445a::20261027_20261027_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2026.10.27 19:38:33.555170 [ 1844 ] {} Application: Child process was stopped by signal 19. 2026.10.27 19:38:33.851987 [ 1844 ] {} Application: Child process was continued. 2026.10.27 19:38:38.605784 [ 19918 ] {e5b976f9-e1ed-45a0-a8af-b3d4056d207e} StorageBuffer (test_9.buffer_00753): Destination table test_9.dst_00753 have different type of column y (String != UInt64). Block of data is converted. 2026.10.27 19:38:38.607592 [ 19918 ] {e5b976f9-e1ed-45a0-a8af-b3d4056d207e} StorageBuffer (test_9.buffer_00753): Not all columns from block in buffer exist in destination table test_9.dst_00753. Some columns are discarded. 2026.10.27 19:38:38.653142 [ 2247 ] {} WriteBufferFromS3: WriteBufferFromS3 was neither finished nor aborted, try to abort upload in destructor. Details: bucket test, key common/kmj/ehicjkqrtifnyeuswepkcmvibnjmr, total size 122841576, count 122841576, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LmJmMmNkOGUyLTJkYzgtNGUwMC1hNGVkLWQxMDNiODhiNDQ0MHgxNzkzMTI2MDU0NDQxNDc2NjY1, upload has finished false. 2026.10.27 19:38:38.653269 [ 2247 ] {} WriteBufferFromS3: Abort multipart upload. Details: bucket test, key common/kmj/ehicjkqrtifnyeuswepkcmvibnjmr, total size 122841576, count 122841576, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LmJmMmNkOGUyLTJkYzgtNGUwMC1hNGVkLWQxMDNiODhiNDQ0MHgxNzkzMTI2MDU0NDQxNDc2NjY1, upload has finished false 2026.10.27 19:38:38.657134 [ 2247 ] {} WriteBufferFromS3: Multipart upload has aborted successfully. Details: bucket test, key common/kmj/ehicjkqrtifnyeuswepkcmvibnjmr, total size 122841576, count 122841576, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LmJmMmNkOGUyLTJkYzgtNGUwMC1hNGVkLWQxMDNiODhiNDQ0MHgxNzkzMTI2MDU0NDQxNDc2NjY1, upload has finished false 2026.10.27 19:38:38.660602 [ 2247 ] {} WriteBufferFromS3: WriteBufferFromS3 was neither finished nor aborted, try to abort upload in destructor. Details: bucket test, key common/czv/cppbqrbvyxdvykjfitvrnhkdmaagt, total size 44069185, count 44069185, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LjIwZTliMTFmLThmOWItNGJlZS04ZjAwLTRkYzQwNmJmYzM2NngxNzkzMTI2MDgzNzY5MTM2OTc0, upload has finished false. 2026.10.27 19:38:38.660706 [ 2247 ] {} WriteBufferFromS3: Abort multipart upload. Details: bucket test, key common/czv/cppbqrbvyxdvykjfitvrnhkdmaagt, total size 44069185, count 44069185, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LjIwZTliMTFmLThmOWItNGJlZS04ZjAwLTRkYzQwNmJmYzM2NngxNzkzMTI2MDgzNzY5MTM2OTc0, upload has finished false 2026.10.27 19:38:38.663876 [ 2247 ] {} WriteBufferFromS3: Multipart upload has aborted successfully. Details: bucket test, key common/czv/cppbqrbvyxdvykjfitvrnhkdmaagt, total size 44069185, count 44069185, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LjIwZTliMTFmLThmOWItNGJlZS04ZjAwLTRkYzQwNmJmYzM2NngxNzkzMTI2MDgzNzY5MTM2OTc0, upload has finished false 2026.10.27 19:38:38.672635 [ 2247 ] {} WriteBufferFromS3: WriteBufferFromS3 was neither finished nor aborted, try to abort upload in destructor. Details: bucket test, key common/dpj/hhgywfnnyrziljijcvaldgyiygjzp, total size 49592685, count 49592685, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LmVmMDI3MzBiLThkNTUtNDE0OS05MTgxLWU4ODdlYjYzYzcyM3gxNzkzMTI2MTA4NzA5Nzk0MzEx, upload has finished false. 2026.10.27 19:38:38.672771 [ 2247 ] {} WriteBufferFromS3: Abort multipart upload. Details: bucket test, key common/dpj/hhgywfnnyrziljijcvaldgyiygjzp, total size 49592685, count 49592685, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LmVmMDI3MzBiLThkNTUtNDE0OS05MTgxLWU4ODdlYjYzYzcyM3gxNzkzMTI2MTA4NzA5Nzk0MzEx, upload has finished false 2026.10.27 19:38:38.676452 [ 2247 ] {} WriteBufferFromS3: Multipart upload has aborted successfully. Details: bucket test, key common/dpj/hhgywfnnyrziljijcvaldgyiygjzp, total size 49592685, count 49592685, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LmVmMDI3MzBiLThkNTUtNDE0OS05MTgxLWU4ODdlYjYzYzcyM3gxNzkzMTI2MTA4NzA5Nzk0MzEx, upload has finished false 2026.10.27 19:38:38.849863 [ 2247 ] {} WriteBufferFromS3: WriteBufferFromS3 was neither finished nor aborted, try to abort upload in destructor. Details: bucket test, key common/hgh/tkmzzcthusmoijjaoubyvztfgusnb, total size 69613591, count 69613591, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LjA1MDgwOWUxLWMyMDctNDcxNy1hMzc3LWJkOTMzZWYzZTNjYngxNzkzMTI2MjkxMjc3ODA5NzE4, upload has finished false. 2026.10.27 19:38:38.850130 [ 2247 ] {} WriteBufferFromS3: Abort multipart upload. Details: bucket test, key common/hgh/tkmzzcthusmoijjaoubyvztfgusnb, total size 69613591, count 69613591, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LjA1MDgwOWUxLWMyMDctNDcxNy1hMzc3LWJkOTMzZWYzZTNjYngxNzkzMTI2MjkxMjc3ODA5NzE4, upload has finished false 2026.10.27 19:38:38.855107 [ 2247 ] {} WriteBufferFromS3: Multipart upload has aborted successfully. Details: bucket test, key common/hgh/tkmzzcthusmoijjaoubyvztfgusnb, total size 69613591, count 69613591, hidden_size 0, offset 0, with pool: true, prefinalized true, finalized false, upload id YzAzMzM2MjgtYmVhOS00OTc2LTllOWYtNjNlNjdlYzI3N2M0LjA1MDgwOWUxLWMyMDctNDcxNy1hMzc3LWJkOTMzZWYzZTNjYngxNzkzMTI2MjkxMjc3ODA5NzE4, upload has finished false 2026.10.27 19:40:53.896051 [ 2234 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {29baccac-732e-4d30-9f86-41a1af37e650::202610_141_254_43}: Code: 241. DB::Exception: Memory tracker (for thread): fault injected (at specific point). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, char const*&&) @ 0x000000002087620c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:184: MemoryTracker::injectFault() const @ 0x000000002087177d in /usr/bin/clickhouse 4. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:129: CurrentMemoryTracker::injectFault() @ 0x000000002078f7bf in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ThreadFuzzer.cpp:242: DB::ThreadFuzzer::maybeInjectMemoryLimitException() @ 0x00000000209251b6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::finish() @ 0x000000003dab496f in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergePlainMergeTreeTask.cpp:0: DB::MergePlainMergeTreeTask::executeStep() @ 0x000000003dab15b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000003ce10e0b in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:0: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000003ce133af in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003ce1a95f in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000020b6aa33 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000020b76813 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000020b766bf in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 16. ? @ 0x00007fc6eb378a83 in ? 17. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:43:41.211394 [ 4272 ] {21c60589-f83f-4610-8d83-6e8250871429} executeQuery: Code: 521. DB::ErrnoException: Cannot rename /var/lib/clickhouse/metadata/test.sql.tmp to /var/lib/clickhouse/metadata/test.sql because the second path already exists, errno: 17, strerror: File exists. (ATOMIC_RENAME_FAIL) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56714) (in query: CREATE DATABASE IF NOT EXISTS test ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x00000000208412fc in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:219: DB::throwFromErrno(String const&, int, int) @ 0x0000000020832170 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/atomicRename.cpp:0: DB::renameat2(String const&, String const&, int) @ 0x00000000370cf448 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/atomicRename.cpp:208: DB::renameNoReplace(String const&, String const&) @ 0x00000000370cdc64 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000003937ff5c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca34 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df68bed in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df75e8e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f3061 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? 2026.10.27 19:43:41.213227 [ 4272 ] {21c60589-f83f-4610-8d83-6e8250871429} DynamicQueryHandler: Code: 521. DB::ErrnoException: Cannot rename /var/lib/clickhouse/metadata/test.sql.tmp to /var/lib/clickhouse/metadata/test.sql because the second path already exists, errno: 17, strerror: File exists. (ATOMIC_RENAME_FAIL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x00000000208412fc in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:219: DB::throwFromErrno(String const&, int, int) @ 0x0000000020832170 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/atomicRename.cpp:0: DB::renameat2(String const&, String const&, int) @ 0x00000000370cf448 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/atomicRename.cpp:208: DB::renameNoReplace(String const&, String const&) @ 0x00000000370cdc64 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000003937ff5c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x00000000393eca34 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000003a989745 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000003a9931ee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000003df68bed in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000003df75e8e in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000003e0f3061 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x0000000049c0d860 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049c0e6c2 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:0: Poco::PooledThread::run() @ 0x000000004a194986 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000004a1917ae in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:350: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000004a18e712 in /usr/bin/clickhouse 18. ? @ 0x00007fc6eb378a83 in ? 19. ? @ 0x00007fc6eb40a8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:44:02.300477 [ 1845 ] {} Application: Closed all listening sockets. Waiting for 14 outstanding connections. 2026.10.27 19:44:07.208291 [ 1845 ] {} Application: Closed connections. But 14 remain. Tip: To increase wait time add to config: 60 2026.10.27 19:44:07.208919 [ 1845 ] {} Application: Will shutdown forcefully. 2026.10.27 19:44:11.651512 [ 19966 ] {} Context: Server was built with sanitizer. It will work slowly. 2026.10.27 19:44:11.651732 [ 19966 ] {} Context: Server logging level is set to 'test' and performance is degraded. This cannot be used in production. 2026.10.27 19:44:11.657968 [ 19966 ] {} 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. 2026.10.27 19:44:15.612664 [ 19966 ] {} Context: The setting 'merge_tree_metadata_cache' is enabled. But the feature of 'metadata cache in RocksDB' is experimental 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. See the corresponding report at https://github.com/ClickHouse/ClickHouse/issues/51182 2026.10.27 19:44:16.530121 [ 19966 ] {} KeeperServer: Got 1000000000000000 value for setting 'reserved_log_items' which is bigger than int32_t max value, lowering value to 2147483647. 2026.10.27 19:44:16.536167 [ 19966 ] {} RaftInstance: invalid election timeout lower bound detected, adjusted to 0 2026.10.27 19:44:16.536221 [ 19966 ] {} RaftInstance: invalid election timeout upper bound detected, adjusted to 0 2026.10.27 19:44:16.587239 [ 20202 ] {} RaftInstance: Election timeout, initiate leader election 2026.10.27 19:44:18.399750 [ 19966 ] {} Context: Table system.session_log is enabled. It's unreliable and may contain garbage. Do not use it for any kind of security monitoring. 2026.10.27 19:44:20.415168 [ 19966 ] {} loadMetadata: Removing temporary file /var/lib/clickhouse/metadata/test.sql.tmp 2026.10.27 19:44:21.227148 [ 20116 ] {} test_9.r2 (e13f247d-db72-4269-ab9a-906a1455af23): Will mimic 1r1 2026.10.27 19:45:03.147235 [ 20371 ] {} ZooKeeperClient: Code: 33. DB::Exception: Cannot read all data. Bytes read: 0. Bytes expected: 4. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x0000000009e3f739 in /usr/bin/clickhouse 3. DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x0000000009e3f37c in /usr/bin/clickhouse 4. ./build_docker/./src/Common/TransformEndianness.hpp:18: Coordination::ZooKeeper::receiveEvent() @ 0x000000003fb1204b in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: Coordination::ZooKeeper::receiveThread() @ 0x000000003fb11002 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003fb25112 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fe24a02ca83 in ? 10. ? @ 0x00007fe24a0be8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:45:03.208206 [ 20330 ] {} ZooKeeperClient: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:43916 -> [::1]:9181). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 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&&) @ 0x000000002108721f in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000021085b40 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: Coordination::ZooKeeperRequest::write(DB::WriteBuffer&) const @ 0x000000003fabdc07 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeperCommon.h:88: Coordination::ZooKeeper::sendThread() @ 0x000000003fb0f3a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003fb24a52 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 9. ? @ 0x00007fe24a02ca83 in ? 10. ? @ 0x00007fe24a0be8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:45:03.208607 [ 20031 ] {} test_7.rmt (ReplicatedMergeTreeRestartingThread): ZooKeeper session has expired. Switching to a new session. 2026.10.27 19:45:03.208648 [ 20032 ] {} test_3.rmt (ReplicatedMergeTreeRestartingThread): ZooKeeper session has expired. Switching to a new session. 2026.10.27 19:45:03.208696 [ 20033 ] {} test_3.src (ReplicatedMergeTreeRestartingThread): ZooKeeper session has expired. Switching to a new session. 2026.10.27 19:45:03.208787 [ 20035 ] {} test_9.r2 (ReplicatedMergeTreeRestartingThread): ZooKeeper session has expired. Switching to a new session. 2026.10.27 19:45:03.208875 [ 20036 ] {} test_9.r1 (ReplicatedMergeTreeRestartingThread): ZooKeeper session has expired. Switching to a new session. 2026.10.27 19:45:03.208976 [ 20038 ] {} test_3.rmt2 (ReplicatedMergeTreeRestartingThread): ZooKeeper session has expired. Switching to a new session. 2026.10.27 19:45:03.209031 [ 20044 ] {} test_7.t1 (ReplicatedMergeTreeRestartingThread): ZooKeeper session has expired. Switching to a new session. 2026.10.27 19:45:03.209232 [ 20045 ] {} test_7.t2 (ReplicatedMergeTreeRestartingThread): ZooKeeper session has expired. Switching to a new session. 2026.10.27 19:45:03.209656 [ 20046 ] {} test_7.alter_default (ReplicatedMergeTreeRestartingThread): ZooKeeper session has expired. Switching to a new session. 2026.10.27 19:45:03.350829 [ 20371 ] {} ZooKeeperClient: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:0: Poco::IOException::IOException(String const&, int) @ 0x000000004a07040e in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/NetException.cpp:0: Poco::Net::NetException::NetException(String const&, int) @ 0x0000000049bd8c2e in /usr/bin/clickhouse 3. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000049bf5f9a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::shutdown() @ 0x0000000049bfaef9 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:109: Poco::Net::StreamSocket::shutdown() @ 0x0000000049c05bae in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:969: Coordination::ZooKeeper::finalize(bool, bool, String const&) @ 0x000000003fafdfef in /usr/bin/clickhouse 7. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: Coordination::ZooKeeper::receiveThread() @ 0x000000003fb11b6e in /usr/bin/clickhouse 8. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000003fb25112 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 11. ? @ 0x00007fe24a02ca83 in ? 12. ? @ 0x00007fe24a0be8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:45:03.514039 [ 20080 ] {} test_9.r2 (ReplicatedMergeTreeCleanupThread): void DB::ReplicatedMergeTreeCleanupThread::run(): Code: 999. Coordination::Exception: Coordination error: Connection loss, path /clickhouse/tables/01396_inactive_replica_cleanup_nodes_zookeeper_test_9/s1/log. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, String const&) @ 0x00000000350f5ff9 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/ZooKeeper/IKeeper.h:484: Coordination::Exception::fromPath(Coordination::Error, String const&) @ 0x00000000350f3e20 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:0: zkutil::ZooKeeper::existsWatch(String const&, Coordination::Stat*, std::function) @ 0x000000003fa16ce0 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:467: zkutil::ZooKeeper::exists(String const&, Coordination::Stat*, std::shared_ptr const&) @ 0x000000003fa16a11 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:199: DB::ReplicatedMergeTreeCleanupThread::clearOldLogs() @ 0x000000003d7ba1f7 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:0: DB::ReplicatedMergeTreeCleanupThread::iterate() @ 0x000000003d7b7f9f in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:0: DB::ReplicatedMergeTreeCleanupThread::run() @ 0x000000003d7b5b82 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003d7e449f in /usr/bin/clickhouse 10. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 12. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fe24a02ca83 in ? 16. ? @ 0x00007fe24a0be8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:45:03.515277 [ 20079 ] {} test_7.t2 (ReplicatedMergeTreeCleanupThread): void DB::ReplicatedMergeTreeCleanupThread::run(): Code: 999. Coordination::Exception: Coordination error: Session expired, path /clickhouse/tables/test_7/test_02723/zookeeper_name/t2/log. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, String const&) @ 0x00000000350f5ff9 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/ZooKeeper/IKeeper.h:484: Coordination::Exception::fromPath(Coordination::Error, String const&) @ 0x00000000350f3e20 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:0: zkutil::ZooKeeper::existsWatch(String const&, Coordination::Stat*, std::function) @ 0x000000003fa16ce0 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:467: zkutil::ZooKeeper::exists(String const&, Coordination::Stat*, std::shared_ptr const&) @ 0x000000003fa16a11 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:199: DB::ReplicatedMergeTreeCleanupThread::clearOldLogs() @ 0x000000003d7ba1f7 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:0: DB::ReplicatedMergeTreeCleanupThread::iterate() @ 0x000000003d7b7f9f in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:0: DB::ReplicatedMergeTreeCleanupThread::run() @ 0x000000003d7b5b82 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003d7e449f in /usr/bin/clickhouse 10. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 12. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fe24a02ca83 in ? 16. ? @ 0x00007fe24a0be8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:45:03.515527 [ 20116 ] {} test_7.rmt (ReplicatedMergeTreeCleanupThread): void DB::ReplicatedMergeTreeCleanupThread::run(): Code: 999. Coordination::Exception: Coordination error: Session expired, path /clickhouse/test_01149_test_7/rmt/log. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, String const&) @ 0x00000000350f5ff9 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/ZooKeeper/IKeeper.h:484: Coordination::Exception::fromPath(Coordination::Error, String const&) @ 0x00000000350f3e20 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:0: zkutil::ZooKeeper::existsWatch(String const&, Coordination::Stat*, std::function) @ 0x000000003fa16ce0 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:467: zkutil::ZooKeeper::exists(String const&, Coordination::Stat*, std::shared_ptr const&) @ 0x000000003fa16a11 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:199: DB::ReplicatedMergeTreeCleanupThread::clearOldLogs() @ 0x000000003d7ba1f7 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:0: DB::ReplicatedMergeTreeCleanupThread::iterate() @ 0x000000003d7b7f9f in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:0: DB::ReplicatedMergeTreeCleanupThread::run() @ 0x000000003d7b5b82 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003d7e449f in /usr/bin/clickhouse 10. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 12. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fe24a02ca83 in ? 16. ? @ 0x00007fe24a0be8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:45:03.515549 [ 20089 ] {} test_3.rmt2 (ReplicatedMergeTreeCleanupThread): void DB::ReplicatedMergeTreeCleanupThread::run(): Code: 999. Coordination::Exception: Coordination error: Session expired, path /test/02487/test_3/rmt/log. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, String const&) @ 0x00000000350f5ff9 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/ZooKeeper/IKeeper.h:484: Coordination::Exception::fromPath(Coordination::Error, String const&) @ 0x00000000350f3e20 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:0: zkutil::ZooKeeper::existsWatch(String const&, Coordination::Stat*, std::function) @ 0x000000003fa16ce0 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:467: zkutil::ZooKeeper::exists(String const&, Coordination::Stat*, std::shared_ptr const&) @ 0x000000003fa16a11 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:199: DB::ReplicatedMergeTreeCleanupThread::clearOldLogs() @ 0x000000003d7ba1f7 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:0: DB::ReplicatedMergeTreeCleanupThread::iterate() @ 0x000000003d7b7f9f in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:0: DB::ReplicatedMergeTreeCleanupThread::run() @ 0x000000003d7b5b82 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003d7e449f in /usr/bin/clickhouse 10. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 12. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fe24a02ca83 in ? 16. ? @ 0x00007fe24a0be8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:45:03.515974 [ 20084 ] {} test_7.t1 (ReplicatedMergeTreeCleanupThread): void DB::ReplicatedMergeTreeCleanupThread::run(): Code: 999. Coordination::Exception: Coordination error: Session expired, path /clickhouse/tables/test_7/test_02723/zookeeper_name/t1/log. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, String const&) @ 0x00000000350f5ff9 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/ZooKeeper/IKeeper.h:484: Coordination::Exception::fromPath(Coordination::Error, String const&) @ 0x00000000350f3e20 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:0: zkutil::ZooKeeper::existsWatch(String const&, Coordination::Stat*, std::function) @ 0x000000003fa16ce0 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:467: zkutil::ZooKeeper::exists(String const&, Coordination::Stat*, std::shared_ptr const&) @ 0x000000003fa16a11 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:199: DB::ReplicatedMergeTreeCleanupThread::clearOldLogs() @ 0x000000003d7ba1f7 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:0: DB::ReplicatedMergeTreeCleanupThread::iterate() @ 0x000000003d7b7f9f in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:0: DB::ReplicatedMergeTreeCleanupThread::run() @ 0x000000003d7b5b82 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003d7e449f in /usr/bin/clickhouse 10. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 12. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fe24a02ca83 in ? 16. ? @ 0x00007fe24a0be8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:45:03.516164 [ 20023 ] {} test_7.alter_default (ReplicatedMergeTreeCleanupThread): void DB::ReplicatedMergeTreeCleanupThread::run(): Code: 999. Coordination::Exception: Coordination error: Session expired, path /clickhouse/tables/test_7/test_01079/alter_default/log. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, String const&) @ 0x00000000350f5ff9 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/ZooKeeper/IKeeper.h:484: Coordination::Exception::fromPath(Coordination::Error, String const&) @ 0x00000000350f3e20 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:0: zkutil::ZooKeeper::existsWatch(String const&, Coordination::Stat*, std::function) @ 0x000000003fa16ce0 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:467: zkutil::ZooKeeper::exists(String const&, Coordination::Stat*, std::shared_ptr const&) @ 0x000000003fa16a11 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:199: DB::ReplicatedMergeTreeCleanupThread::clearOldLogs() @ 0x000000003d7ba1f7 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:0: DB::ReplicatedMergeTreeCleanupThread::iterate() @ 0x000000003d7b7f9f in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:0: DB::ReplicatedMergeTreeCleanupThread::run() @ 0x000000003d7b5b82 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003d7e449f in /usr/bin/clickhouse 10. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 12. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fe24a02ca83 in ? 16. ? @ 0x00007fe24a0be8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:45:03.516175 [ 20123 ] {} test_9.r1 (ReplicatedMergeTreeCleanupThread): void DB::ReplicatedMergeTreeCleanupThread::run(): Code: 999. Coordination::Exception: Coordination error: Session expired, path /clickhouse/tables/01396_inactive_replica_cleanup_nodes_zookeeper_test_9/s1/log. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, String const&) @ 0x00000000350f5ff9 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/ZooKeeper/IKeeper.h:484: Coordination::Exception::fromPath(Coordination::Error, String const&) @ 0x00000000350f3e20 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:0: zkutil::ZooKeeper::existsWatch(String const&, Coordination::Stat*, std::function) @ 0x000000003fa16ce0 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:467: zkutil::ZooKeeper::exists(String const&, Coordination::Stat*, std::shared_ptr const&) @ 0x000000003fa16a11 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:199: DB::ReplicatedMergeTreeCleanupThread::clearOldLogs() @ 0x000000003d7ba1f7 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:0: DB::ReplicatedMergeTreeCleanupThread::iterate() @ 0x000000003d7b7f9f in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:0: DB::ReplicatedMergeTreeCleanupThread::run() @ 0x000000003d7b5b82 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003d7e449f in /usr/bin/clickhouse 10. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 12. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fe24a02ca83 in ? 16. ? @ 0x00007fe24a0be8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:45:03.516133 [ 20012 ] {} test_3.rmt (ReplicatedMergeTreeCleanupThread): void DB::ReplicatedMergeTreeCleanupThread::run(): Code: 999. Coordination::Exception: Coordination error: Session expired, path /test/02487/test_3/rmt/log. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, String const&) @ 0x00000000350f5ff9 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/ZooKeeper/IKeeper.h:484: Coordination::Exception::fromPath(Coordination::Error, String const&) @ 0x00000000350f3e20 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:0: zkutil::ZooKeeper::existsWatch(String const&, Coordination::Stat*, std::function) @ 0x000000003fa16ce0 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:467: zkutil::ZooKeeper::exists(String const&, Coordination::Stat*, std::shared_ptr const&) @ 0x000000003fa16a11 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:199: DB::ReplicatedMergeTreeCleanupThread::clearOldLogs() @ 0x000000003d7ba1f7 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:0: DB::ReplicatedMergeTreeCleanupThread::iterate() @ 0x000000003d7b7f9f in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:0: DB::ReplicatedMergeTreeCleanupThread::run() @ 0x000000003d7b5b82 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003d7e449f in /usr/bin/clickhouse 10. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 12. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fe24a02ca83 in ? 16. ? @ 0x00007fe24a0be8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:45:03.730870 [ 20155 ] {} test_3.src (ReplicatedMergeTreeCleanupThread): void DB::ReplicatedMergeTreeCleanupThread::run(): Code: 999. Coordination::Exception: Coordination error: Session expired, path /clickhouse/test_3/test/src4/log. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000004a060809 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000002082f473 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, String const&) @ 0x00000000350f5ff9 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/ZooKeeper/IKeeper.h:484: Coordination::Exception::fromPath(Coordination::Error, String const&) @ 0x00000000350f3e20 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:0: zkutil::ZooKeeper::existsWatch(String const&, Coordination::Stat*, std::function) @ 0x000000003fa16ce0 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:467: zkutil::ZooKeeper::exists(String const&, Coordination::Stat*, std::shared_ptr const&) @ 0x000000003fa16a11 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:199: DB::ReplicatedMergeTreeCleanupThread::clearOldLogs() @ 0x000000003d7ba1f7 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:0: DB::ReplicatedMergeTreeCleanupThread::iterate() @ 0x000000003d7b7f9f in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp:0: DB::ReplicatedMergeTreeCleanupThread::run() @ 0x000000003d7b5b82 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000003d7e449f in /usr/bin/clickhouse 10. ./build_docker/./src/Common/Stopwatch.h:24: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000003625b0fe in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000036263e2e in /usr/bin/clickhouse 12. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000036265a52 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000020b6143b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:303: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000020b7004b in /usr/bin/clickhouse 15. ? @ 0x00007fe24a02ca83 in ? 16. ? @ 0x00007fe24a0be8e0 in ? (version 23.8.16.43.altinitystable (altinity build)) 2026.10.27 19:45:09.049310 [ 19966 ] {} KeeperLogStore: Changelog is shut down